Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Package Attributes | Static Package Attributes
edu.tum.cs.ias.knowrob.vis.Canvas Class Reference
Inheritance diagram for edu.tum.cs.ias.knowrob.vis.Canvas:
Inheritance graph
[legend]

List of all members.

Public Member Functions

synchronized void add (Drawable d)
synchronized void add2D (Drawable d)
 Canvas ()
void draw ()
synchronized void drawItems ()
void drawLine (Vector3f p1, Vector3f p2, int color)
void drawLine (float x1, float y1, float z1, float x2, float y2, float z2, int color)
int getHeight ()
int getWidth ()
void keyPressed ()
void rotateAxis (double theta, Vector3f rotAxis)
void runMain ()
void setEyeTarget (Vector3f v)
void setHeight (int height)
void setSceneSize (float size)
void setStandardViewParams ()
void setup ()
void setWidth (int width)

Public Attributes

boolean debugCamera

Protected Member Functions

void preDrawItems ()
void setCamera ()

Protected Attributes

Vector3f eye
float leftMouseX = -1.0f
float sceneSize = 4000
boolean useCamera
int width = 800
float xRotDisplay

Package Attributes

float centerMouseY = -1.0f
Vector3f eyeTarget
Vector3f eyeUp
int height = 600
Vector< Drawableitems = new Vector<Drawable>()
Vector< Drawableitems2D = new Vector<Drawable>()
float leftMouseY = -1.0f
float rightMouseX = -1.0f
float rightMouseY = -1.0f
float xShiftDisplay
float yRotDisplay
float yShiftDisplay
float zoomDisplay
float zShiftDisplay

Static Package Attributes

static final long serialVersionUID = 0

Detailed Description

Definition at line 27 of file Canvas.java.


Constructor & Destructor Documentation

Definition at line 97 of file Canvas.java.


Member Function Documentation

synchronized void edu.tum.cs.ias.knowrob.vis.Canvas.add ( Drawable  d) [inline]

Definition at line 226 of file Canvas.java.

synchronized void edu.tum.cs.ias.knowrob.vis.Canvas.add2D ( Drawable  d) [inline]

Definition at line 230 of file Canvas.java.

synchronized void edu.tum.cs.ias.knowrob.vis.Canvas.drawItems ( ) [inline]

Reimplemented in edu.tum.cs.ias.knowrob.vis.AnimatedCanvas.

Definition at line 210 of file Canvas.java.

void edu.tum.cs.ias.knowrob.vis.Canvas.drawLine ( Vector3f  p1,
Vector3f  p2,
int  color 
) [inline]

Definition at line 215 of file Canvas.java.

void edu.tum.cs.ias.knowrob.vis.Canvas.drawLine ( float  x1,
float  y1,
float  z1,
float  x2,
float  y2,
float  z2,
int  color 
) [inline]

Definition at line 221 of file Canvas.java.

Definition at line 84 of file Canvas.java.

Definition at line 88 of file Canvas.java.

void edu.tum.cs.ias.knowrob.vis.Canvas.preDrawItems ( ) [inline, protected]

Definition at line 197 of file Canvas.java.

void edu.tum.cs.ias.knowrob.vis.Canvas.rotateAxis ( double  theta,
Vector3f  rotAxis 
) [inline]

Definition at line 234 of file Canvas.java.

runs this applet as a main application (copied from PApplet.main)

Parameters:
args

!!Image image = Toolkit.getDefaultToolkit().createImage(ICON_IMAGE);

!!applet.external = external;

Reimplemented in edu.tum.cs.ias.knowrob.vis.applets.EmptyCanvas.

Definition at line 404 of file Canvas.java.

void edu.tum.cs.ias.knowrob.vis.Canvas.setCamera ( ) [inline, protected]

Definition at line 201 of file Canvas.java.

void edu.tum.cs.ias.knowrob.vis.Canvas.setEyeTarget ( Vector3f  v) [inline]

Definition at line 117 of file Canvas.java.

void edu.tum.cs.ias.knowrob.vis.Canvas.setHeight ( int  height) [inline]

sets the height of the window (must set before the canvas is initialized using setup)

Parameters:
width

Definition at line 80 of file Canvas.java.

void edu.tum.cs.ias.knowrob.vis.Canvas.setSceneSize ( float  size) [inline]

Definition at line 92 of file Canvas.java.

set standard parameters for non-camera-based view

Definition at line 109 of file Canvas.java.

Reimplemented in edu.tum.cs.ias.knowrob.vis.applets.SemanticMapVisApplet.

Definition at line 121 of file Canvas.java.

void edu.tum.cs.ias.knowrob.vis.Canvas.setWidth ( int  width) [inline]

sets the width of the window (must set before the canvas is initialized using setup)

Parameters:
width

Definition at line 72 of file Canvas.java.


Member Data Documentation

Definition at line 43 of file Canvas.java.

Definition at line 60 of file Canvas.java.

parameters for camera-based viewing

Definition at line 53 of file Canvas.java.

Definition at line 53 of file Canvas.java.

Definition at line 53 of file Canvas.java.

Definition at line 33 of file Canvas.java.

Vector<Drawable> edu.tum.cs.ias.knowrob.vis.Canvas.items = new Vector<Drawable>() [package]

the collection of drawable items to be painted onto this canvas

Definition at line 65 of file Canvas.java.

Vector<Drawable> edu.tum.cs.ias.knowrob.vis.Canvas.items2D = new Vector<Drawable>() [package]

Definition at line 66 of file Canvas.java.

mouse tracking

Definition at line 43 of file Canvas.java.

Definition at line 43 of file Canvas.java.

Definition at line 43 of file Canvas.java.

Definition at line 43 of file Canvas.java.

size of the scene (diameter), used for scaling of the view

Definition at line 58 of file Canvas.java.

final long edu.tum.cs.ias.knowrob.vis.Canvas.serialVersionUID = 0 [static, package]

controls the view mode

Definition at line 38 of file Canvas.java.

dimensions of the display

Definition at line 33 of file Canvas.java.

parameters for non-camera-based viewing

Definition at line 48 of file Canvas.java.

Definition at line 48 of file Canvas.java.

Definition at line 48 of file Canvas.java.

Definition at line 48 of file Canvas.java.

Definition at line 48 of file Canvas.java.

Definition at line 48 of file Canvas.java.


The documentation for this class was generated from the following file:


mod_vis
Author(s): Moritz Tenorth, Jakob Engel
autogenerated on Mon Oct 6 2014 01:30:00