|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object PApplet edu.jhu.cs.cisst.vent.VisualizationProcessing edu.jhu.cs.cisst.vent.VisualizationProcessing3D edu.jhu.cs.cisst.vent.widgets.VisualizationTriangleMesh
public class VisualizationTriangleMesh
The Class VisualizationTriangleMesh.
Field Summary | |
---|---|
protected float |
axisLength
The axis length. |
protected BoundingBox |
bbox
The bounding box. |
protected java.awt.Color |
bgColor
The bg color. |
protected ParamColor |
bgColorParam
The bg color param. |
protected Point3f |
center
The center. |
protected ParamPointFloat |
centerParam
The center param. |
protected Refresher |
refresher
The refresher. |
protected boolean |
requestUpdate
The request update. |
protected float |
rotRate
The rotation rate in radians. |
protected float |
rotx
The rotation in x. |
protected ParamDouble |
rotxParam
The scale param. |
protected float |
roty
The rotation in y. |
protected ParamDouble |
rotyParam
The scale param. |
protected float |
rotz
The rotation in z. |
protected ParamDouble |
rotzParam
The scale param. |
protected float |
scaleObject
The scale object. |
protected ParamDouble |
scaleParam
The scale param. |
protected float |
scaleRate
The scale rate. |
protected ParamCollection |
sceneParams
The scene params. |
protected boolean |
showAxes
The show axes. |
protected ParamBoolean |
showAxesParam
The show axes param. |
protected ParamDouble |
txParam
The scale param. |
protected ParamDouble |
tyParam
The scale param. |
Fields inherited from class edu.jhu.cs.cisst.vent.VisualizationProcessing3D |
---|
height, renderers, width |
Fields inherited from class edu.jhu.cs.cisst.vent.VisualizationProcessing |
---|
name, requestScreenShot, screenshot, visualizationParameters |
Constructor Summary | |
---|---|
VisualizationTriangleMesh(int width,
int height)
Instantiates a new visualization triangle mesh. |
Method Summary | |
---|---|
void |
add(EmbeddedSurface surf)
Adds the. |
void |
createVisualizationParameters(ParamCollection visualizationParameters)
Creates the visualization parameters. |
void |
dispose()
Dispose. |
void |
draw()
Draw. |
protected void |
drawAxes()
Draw axes. |
static java.lang.String |
getVersion()
Gets the version. |
void |
keyPressed()
Mouse dragged. |
void |
mouseDragged()
|
void |
refresh()
Refresh object. |
protected void |
resetScale()
Reset scale. |
void |
setAxesVisible(boolean visible)
Sets the axes visible. |
void |
setup()
Setup. |
void |
update(ParamModel model,
ParamInputView view)
Update. |
void |
updateVisualizationParameters()
Update all visualization parameters. |
Methods inherited from class edu.jhu.cs.cisst.vent.VisualizationProcessing3D |
---|
getScreenshot |
Methods inherited from class edu.jhu.cs.cisst.vent.VisualizationProcessing |
---|
create, getComponent, getName, getVideoFrames, setName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected BoundingBox bbox
protected float rotRate
protected float scaleRate
protected float rotx
protected float roty
protected float rotz
protected java.awt.Color bgColor
protected float axisLength
protected boolean showAxes
protected float scaleObject
protected ParamBoolean showAxesParam
protected boolean requestUpdate
protected ParamCollection sceneParams
protected ParamDouble txParam
protected ParamDouble tyParam
protected ParamDouble rotxParam
protected ParamDouble rotyParam
protected ParamDouble rotzParam
protected ParamDouble scaleParam
protected ParamPointFloat centerParam
protected ParamColor bgColorParam
protected Refresher refresher
protected Point3f center
Constructor Detail |
---|
public VisualizationTriangleMesh(int width, int height)
width
- the widthheight
- the heightMethod Detail |
---|
public static java.lang.String getVersion()
protected void drawAxes()
public void setup()
VisualizationProcessing3D
setup
in class VisualizationProcessing3D
processing.core.PApplet#setup()
protected void resetScale()
public void add(EmbeddedSurface surf)
surf
- the surfpublic void draw()
VisualizationProcessing3D
draw
in class VisualizationProcessing3D
processing.core.PApplet#draw()
public void keyPressed()
processing.core.PApplet#mouseDragged()
public void mouseDragged()
public void createVisualizationParameters(ParamCollection visualizationParameters)
createVisualizationParameters
in interface VisualizationParameters
createVisualizationParameters
in class VisualizationProcessing3D
visualizationParameters
- the visualization parametersVisualizationParameters.createVisualizationParameters(edu.jhu.ece.iacl.jist.pipeline.parameter.ParamCollection)
public void update(ParamModel model, ParamInputView view)
update
in interface ParamViewObserver
update
in class VisualizationProcessing3D
model
- the modelview
- the viewParamViewObserver.update(edu.jhu.ece.iacl.jist.pipeline.parameter.ParamModel,
edu.jhu.ece.iacl.jist.pipeline.view.input.ParamInputView)
public void updateVisualizationParameters()
VisualizationParameters
updateVisualizationParameters
in interface VisualizationParameters
updateVisualizationParameters
in class VisualizationProcessing3D
VisualizationParameters.updateVisualizationParameters()
public void setAxesVisible(boolean visible)
visible
- the new axes visiblepublic void dispose()
VisualizationProcessing
dispose
in interface Visualization
dispose
in class VisualizationProcessing
Visualization.dispose()
public void refresh()
Refreshable
refresh
in interface Refreshable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |