|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectanar.Scene
public class Scene

Scene is an interface for viewer of the SceneGraph.
| Field Summary | |
|---|---|
Camera |
actualView
|
static float |
autoRotateX
|
static float |
autoRotateZ
|
static boolean |
autoSeek
|
static AColor |
backgroundColor1
|
static AColor |
backgroundColor2
|
static boolean |
blinkingAxis
|
static boolean |
drawAxis
|
static boolean |
drawReferenceFrame
|
static float |
drawReferenceFrameLength
|
static boolean |
earthQuake
|
static boolean |
isKeysEnabled
|
static boolean |
lights
|
static boolean |
myOpenGLBackground
|
java.util.Vector |
views
|
| Constructor Summary | |
|---|---|
Scene(PApplet p5)
|
|
| Method Summary | |
|---|---|
void |
drawAxis()
|
void |
drawAxisIntersection(AColor a,
AColor b)
Display axis for coordinates representation |
void |
drawReferenceFrame()
drawReferenceFrame - draw coordinate referential system in red green blue. |
void |
init()
Setup Loop. |
void |
initLights()
|
void |
orientedDrawBegin(XYZ q)
|
void |
orientedDrawEnd()
|
void |
postDraw()
|
void |
screenDrawBegin()
|
void |
screenDrawEnd()
|
void |
setCamera(float f,
float g)
|
void |
setCamera(float f,
float g,
float h)
|
void |
setCenter(float f,
float g)
|
void |
setCenter(float f,
float g,
float h)
|
void |
setCenter(XYZ c)
|
void |
setHorizon(float f,
float g)
|
void |
setHorizon(float f,
float g,
float h)
|
void |
update()
Main Loop. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public Camera actualView
public static boolean isKeysEnabled
public static boolean autoSeek
public static boolean earthQuake
public static boolean myOpenGLBackground
public static boolean lights
public static boolean blinkingAxis
public static float autoRotateZ
public static float autoRotateX
public static boolean drawAxis
public static boolean drawReferenceFrame
public static AColor backgroundColor1
public static AColor backgroundColor2
public java.util.Vector views
public static float drawReferenceFrameLength
| Constructor Detail |
|---|
public Scene(PApplet p5)
| Method Detail |
|---|
public void init()
public void update()
public void postDraw()
public void initLights()
public void drawAxis()
public void drawAxisIntersection(AColor a,
AColor b)
a - b - public void drawReferenceFrame()
public void screenDrawBegin()
public void screenDrawEnd()
public void orientedDrawBegin(XYZ q)
public void orientedDrawEnd()
public void setCenter(float f,
float g,
float h)
f - g - h - public void setCenter(XYZ c)
boundCenter -
public void setCenter(float f,
float g)
_x - _y -
public void setCamera(float f,
float g,
float h)
public void setCamera(float f,
float g)
public void setHorizon(float f,
float g,
float h)
public void setHorizon(float f,
float g)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||