|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.jhu.cs.cisst.vent.renderer.processing.RendererProcessing edu.jhu.cs.cisst.vent.renderer.processing.RendererProcessing3D edu.jhu.cs.cisst.vent.renderer.processing.SurfaceRenderer
public class SurfaceRenderer
The Class SurfaceRenderer.
Field Summary | |
---|---|
protected VisualizationProcessing3D |
applet
The applet. |
protected java.awt.Color |
diffuseColor
The diffuse color. |
protected ParamColor |
diffuseColorParam
The diffuse color param. |
protected boolean |
flipNormals
The flip normals. |
protected ParamBoolean |
flipNormalsParam
The visible param. |
protected boolean |
gouraud
The gouraud. |
protected ParamBoolean |
gouraudParam
The visible param. |
protected PTriangleMesh |
mesh
The mesh. |
protected EmbeddedSurface |
surf
The surf. |
protected boolean |
visible
The visible. |
protected ParamBoolean |
visibleParam
The visible param. |
Fields inherited from class edu.jhu.cs.cisst.vent.renderer.processing.RendererProcessing3D |
---|
bbox |
Constructor Summary | |
---|---|
SurfaceRenderer(VisualizationProcessing3D applet,
EmbeddedSurface surf)
Instantiates a new surface renderer. |
Method Summary | |
---|---|
void |
createVisualizationParameters(ParamCollection visualizationParameters)
Creates the visualization parameters. |
void |
draw()
Draw. |
void |
setup()
Setup. |
void |
setVisible(boolean visible)
Sets the visible. |
void |
update(ParamModel model,
ParamInputView view)
Indicate that an update has occurred to a particular parameter in a particular view pane. |
void |
updateVisualizationParameters()
Update all visualization parameters. |
Methods inherited from class edu.jhu.cs.cisst.vent.renderer.processing.RendererProcessing3D |
---|
getBoundingBox, setBoundingBox |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected VisualizationProcessing3D applet
protected EmbeddedSurface surf
protected PTriangleMesh mesh
protected boolean visible
protected boolean gouraud
protected boolean flipNormals
protected ParamBoolean visibleParam
protected ParamBoolean gouraudParam
protected ParamBoolean flipNormalsParam
protected ParamColor diffuseColorParam
protected java.awt.Color diffuseColor
Constructor Detail |
---|
public SurfaceRenderer(VisualizationProcessing3D applet, EmbeddedSurface surf)
applet
- the appletsurf
- the surfMethod Detail |
---|
public void setVisible(boolean visible)
visible
- the new visiblepublic void draw()
RendererProcessing
draw
in class RendererProcessing
RendererProcessing.draw()
public void createVisualizationParameters(ParamCollection visualizationParameters)
VisualizationParameters
visualizationParameters
- the visualization parametersVisualizationParameters.createVisualizationParameters(edu.jhu.ece.iacl.jist.pipeline.parameter.ParamCollection)
public void updateVisualizationParameters()
VisualizationParameters
VisualizationParameters.updateVisualizationParameters()
public void update(ParamModel model, ParamInputView view)
ParamViewObserver
model
- parameter that was updatedview
- input viewParamViewObserver.update(edu.jhu.ece.iacl.jist.pipeline.parameter.ParamModel,
edu.jhu.ece.iacl.jist.pipeline.view.input.ParamInputView)
public void setup()
RendererProcessing
setup
in class RendererProcessing
RendererProcessing.setup()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |