|
|||||||||
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.RendererProcessing2D edu.jhu.cs.cisst.vent.renderer.processing.VolumeSliceRenderer edu.jhu.cs.cisst.vent.renderer.processing.VolumeIsoContourRenderer
public class VolumeIsoContourRenderer
The Class VolumeIsoContourRenderer displays slices from a volume and overlays a specified iso-contour.
Nested Class Summary | |
---|---|
protected class |
VolumeIsoContourRenderer.IsoContourWorker
The Class IsoContourWorker creates iso-contours for all slices. |
Field Summary | |
---|---|
protected java.awt.Color |
contourColor
The contour color. |
protected ParamColor |
contourColorParam
The contour color param. |
protected VolumeIsoContourRenderer.IsoContourWorker |
contourWorker
The contour worker. |
protected PCurveCollection[] |
curves
The curves. |
protected float |
isoLevel
The iso level. |
protected ParamFloat |
isolevelParam
The iso-level parameter. |
protected ParamBoolean |
showContourParam
The show contour parameter. |
protected float |
strokeWeight
The stroke weight. |
protected ParamFloat |
strokeWeightParam
The stroke weight param. |
protected boolean |
visibleContour
The visible contour. |
Fields inherited from class edu.jhu.cs.cisst.vent.renderer.processing.VolumeSliceRenderer |
---|
applet, brightness, brightnessParam, cols, component, componentParam, components, contrast, contrastParam, image, images, max, min, rows, showSliceNumber, showSliceNumberParam, slice, sliceParam, slices, transparency, transparencyParam, visible, visibleParam |
Fields inherited from class edu.jhu.cs.cisst.vent.renderer.processing.RendererProcessing2D |
---|
bounds |
Constructor Summary | |
---|---|
VolumeIsoContourRenderer(ImageDataFloat img,
VisualizationProcessing applet)
Instantiates a new volume iso contour renderer. |
Method Summary | |
---|---|
void |
createVisualizationParameters(ParamCollection visualizationParameters)
Creates the visualization parameters. |
void |
draw()
(non-Javadoc). |
void |
setComponent(int component)
Sets the component. |
void |
setContourColor(java.awt.Color contourColor)
Sets the contour color. |
void |
setContourVisible(boolean visible)
Sets the contour visible. |
void |
setIsoLevel(float isoLevel)
Sets the iso level. |
void |
setStrokeWeight(float strokeWeight)
Sets the stroke weight. |
void |
update(ParamModel model,
ParamInputView view)
Update. |
void |
updateVisualizationParameters()
Update visualization parameters. |
Methods inherited from class edu.jhu.cs.cisst.vent.renderer.processing.VolumeSliceRenderer |
---|
clearCache, getImage, getSliceParameter, setBrightness, setContrast, setImages, setSlice, setTransparency, setup, setVisible |
Methods inherited from class edu.jhu.cs.cisst.vent.renderer.processing.RendererProcessing2D |
---|
contains, getHeight, getPositionX, getPositionY, getWidth, setBounds |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected PCurveCollection[] curves
protected VolumeIsoContourRenderer.IsoContourWorker contourWorker
protected boolean visibleContour
protected java.awt.Color contourColor
protected float strokeWeight
protected float isoLevel
protected ParamFloat isolevelParam
protected ParamBoolean showContourParam
protected ParamColor contourColorParam
protected ParamFloat strokeWeightParam
Constructor Detail |
---|
public VolumeIsoContourRenderer(ImageDataFloat img, VisualizationProcessing applet)
img
- the imgapplet
- the appletMethod Detail |
---|
public void setContourColor(java.awt.Color contourColor)
contourColor
- the new contour colorpublic void setStrokeWeight(float strokeWeight)
strokeWeight
- the new stroke weightpublic void setContourVisible(boolean visible)
visible
- the new contour visiblepublic void setComponent(int component)
VolumeSliceRenderer
setComponent
in class VolumeSliceRenderer
component
- the new componentpublic void setIsoLevel(float isoLevel)
isoLevel
- the new iso levelpublic void draw()
draw
in class VolumeSliceRenderer
VolumeSliceRenderer.draw()
public void createVisualizationParameters(ParamCollection visualizationParameters)
createVisualizationParameters
in interface VisualizationParameters
createVisualizationParameters
in class VolumeSliceRenderer
visualizationParameters
- the visualization parametersVolumeSliceRenderer.createVisualizationParameters(edu.jhu.ece.iacl.jist.pipeline.parameter.ParamCollection)
public void update(ParamModel model, ParamInputView view)
update
in interface ParamViewObserver
update
in class VolumeSliceRenderer
model
- the modelview
- the viewVolumeSliceRenderer.update(edu.jhu.ece.iacl.jist.pipeline.parameter.ParamModel,
edu.jhu.ece.iacl.jist.pipeline.view.input.ParamInputView)
public void updateVisualizationParameters()
updateVisualizationParameters
in interface VisualizationParameters
updateVisualizationParameters
in class VolumeSliceRenderer
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |