Package gov.nih.mipav.view.renderer
Class SceneState
java.lang.Object
gov.nih.mipav.view.renderer.SceneState
- All Implemented Interfaces:
Serializable
Collectiing the current virtualization toolbox values for both volume and slices render dialogs. This class is used
by mouse recorder to save values instantly.
- Author:
- Neva Cherniavsky
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanBoolean visibility values for x, y, z, arbitrary clipping slider frames.floatSave the current.floatSave the current.floatSave the current.floatSave the current.intClipping slider values for the triplanar clipping slider x, y, z, arbitrary.intClipping slider values for the triplanar clipping slider x, y, z, arbitrary.intClipping slider values for the triplanar clipping slider x, y, z negative.intClipping slider values for the triplanar clipping slider x, y, z, arbitrary.intClipping slider values for the triplanar clipping slider x, y, z negative.intClipping slider values for the triplanar clipping slider x, y, z, arbitrary.intClipping slider values for the triplanar clipping slider x, y, z negative.booleanBoolean flag to indicate if the 6 plane clipping mode is active.booleanBoolean flag to indicate if the arbitary clipping mode is active.booleanBoolean indicator for volume opacity changed.booleanBoolean indicator for the current diaplay mode, volume render mode or slice render mode.private static final longUse serialVersionUID for interoperability.intSurface opacity slider value of the surface dialog.float[]Current sceneRoot transform.Currrent tranform function of the volume render look up table.intCurrent active volume opacity control of the volume render.intx, y, z triplanar slider values.booleanBoolean visibility values for x, y, z, arbitrary clipping slider frames.booleanBoolean visibility values for x, y, z negative clipping slider frames.intx, y, z triplanar opacity slider values.booleanBoolean visibility values for x, y, z triplanar.intx, y, z triplanar slider values.booleanBoolean visibility values for x, y, z, arbitrary clipping slider frames.booleanBoolean visibility values for x, y, z negative clipping slider frames.intx, y, z triplanar opacity slider values.booleanBoolean visibility values for x, y, z triplanar.intx, y, z triplanar slider values.booleanBoolean visibility values for x, y, z, arbitrary clipping slider frames.booleanBoolean visibility values for x, y, z negative clipping slider frames.intx, y, z triplanar opacity slider values.booleanBoolean visibility values for x, y, z triplanar. -
Constructor Summary
ConstructorsConstructorDescriptionSceneState(int x, int y, int z, int xOp, int yOp, int zOp, boolean xVisible, boolean yVisible, boolean zVisible, int surfaceOpacity, int clipA, int clipX, int clipY, int clipZ, int clipXNeg, int clipYNeg, int clipZNeg, boolean aClipV, boolean xClipV, boolean yClipV, boolean zClipV, boolean xNegClipV, boolean yNegClipV, boolean zNegClipV, int _whichComp, TransferFunction _transformFunc, boolean _isVolOpacityChanged, boolean _isVolumeDisplayMode3D, boolean _is6PlaneClipping, float _axisX, float _axisY, float _axisZ, float _axisAngle, boolean _isClipArbiPicked) Construct the SceneState object associate with the current visualization toobox values. -
Method Summary
Modifier and TypeMethodDescriptionvoidactionPerformed(ActionEvent event) Stub method for classes that extend this Object.toString()Print out the present screen state.
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDUse serialVersionUID for interoperability.- See Also:
-
axisX
public float axisXSave the current. -
axisY
public float axisYSave the current. -
axisZ
public float axisZSave the current. -
axisAngle
public float axisAngleSave the current. -
clipSliceX
public int clipSliceXClipping slider values for the triplanar clipping slider x, y, z, arbitrary. -
clipSliceY
public int clipSliceYClipping slider values for the triplanar clipping slider x, y, z, arbitrary. -
clipSliceZ
public int clipSliceZClipping slider values for the triplanar clipping slider x, y, z, arbitrary. -
clipSliceA
public int clipSliceAClipping slider values for the triplanar clipping slider x, y, z, arbitrary. -
clipSliceXNeg
public int clipSliceXNegClipping slider values for the triplanar clipping slider x, y, z negative. -
clipSliceYNeg
public int clipSliceYNegClipping slider values for the triplanar clipping slider x, y, z negative. -
clipSliceZNeg
public int clipSliceZNegClipping slider values for the triplanar clipping slider x, y, z negative. -
is6PlaneClipping
public boolean is6PlaneClippingBoolean flag to indicate if the 6 plane clipping mode is active. -
isClipArbiPicked
public boolean isClipArbiPickedBoolean flag to indicate if the arbitary clipping mode is active. -
isVolOpacityChanged
public boolean isVolOpacityChangedBoolean indicator for volume opacity changed. -
isVolumeDisplayMode3D
public boolean isVolumeDisplayMode3DBoolean indicator for the current diaplay mode, volume render mode or slice render mode. -
surfaceOpacity
public int surfaceOpacitySurface opacity slider value of the surface dialog. -
transform
public float[] transformCurrent sceneRoot transform. -
transformFunc
Currrent tranform function of the volume render look up table. -
whichComp
public int whichCompCurrent active volume opacity control of the volume render. -
x
public int xx, y, z triplanar slider values. -
y
public int yx, y, z triplanar slider values. -
z
public int zx, y, z triplanar slider values. -
xClipVisible
public boolean xClipVisibleBoolean visibility values for x, y, z, arbitrary clipping slider frames. -
yClipVisible
public boolean yClipVisibleBoolean visibility values for x, y, z, arbitrary clipping slider frames. -
zClipVisible
public boolean zClipVisibleBoolean visibility values for x, y, z, arbitrary clipping slider frames. -
aClipVisible
public boolean aClipVisibleBoolean visibility values for x, y, z, arbitrary clipping slider frames. -
xNegClipVisible
public boolean xNegClipVisibleBoolean visibility values for x, y, z negative clipping slider frames. -
yNegClipVisible
public boolean yNegClipVisibleBoolean visibility values for x, y, z negative clipping slider frames. -
zNegClipVisible
public boolean zNegClipVisibleBoolean visibility values for x, y, z negative clipping slider frames. -
xOpacity
public int xOpacityx, y, z triplanar opacity slider values. -
yOpacity
public int yOpacityx, y, z triplanar opacity slider values. -
zOpacity
public int zOpacityx, y, z triplanar opacity slider values. -
xVisible
public boolean xVisibleBoolean visibility values for x, y, z triplanar. -
yVisible
public boolean yVisibleBoolean visibility values for x, y, z triplanar. -
zVisible
public boolean zVisibleBoolean visibility values for x, y, z triplanar.
-
-
Constructor Details
-
SceneState
public SceneState(int x, int y, int z, int xOp, int yOp, int zOp, boolean xVisible, boolean yVisible, boolean zVisible, int surfaceOpacity, int clipA, int clipX, int clipY, int clipZ, int clipXNeg, int clipYNeg, int clipZNeg, boolean aClipV, boolean xClipV, boolean yClipV, boolean zClipV, boolean xNegClipV, boolean yNegClipV, boolean zNegClipV, int _whichComp, TransferFunction _transformFunc, boolean _isVolOpacityChanged, boolean _isVolumeDisplayMode3D, boolean _is6PlaneClipping, float _axisX, float _axisY, float _axisZ, float _axisAngle, boolean _isClipArbiPicked) Construct the SceneState object associate with the current visualization toobox values.- Parameters:
x- triplanar x slider value.y- triplanar y slider value.z- triplanar z slider value.xOp- triplaner x opacity slider value.yOp- triplaner y opacity slider value.zOp- triplaner z opacity slider value.xVisible- boolean for the triplanar x slider frame visibility value.yVisible- boolean for the triplanar y slider frame visibility value.zVisible- boolean for the triplanar z slider frame visibility value.surfaceOpacity- surface opacity slider value for the surface dialog.clipA- clip slider arbitrary value.clipX- clip slider x value.clipY- clip slider y value.clipZ- clip slider z value.clipXNeg- clip slider x negative value.clipYNeg- clip slider y negative value.clipZNeg- clip slider z negative value.aClipV- clip slider arbitrary visibility value.xClipV- clip slider x boolean visibility value.yClipV- clip slider y boolean visibility value.zClipV- clip slider z boolean visibility value.xNegClipV- clip slider x negative boolean visiblity value.yNegClipV- clip slider y negative boolean visiblity value.zNegClipV- clip slider z negative boolean visiblity value._whichComp- volume control current active component._transformFunc- volume control instant tranfer function._isVolOpacityChanged- boolean indicator for volume control opacity changed._isVolumeDisplayMode3D- current diaplay mode, volume render or slice render._is6PlaneClipping- If clipping is 6-plane clipped, choose true._axisX- Location of the X-axis?_axisY- Location of the Y-axis?_axisZ- Location of the Z-axis?_axisAngle- Angle the clipping plane makes with the X-Y plane?_isClipArbiPicked- If clipping is arbitrarily picked, choose true.
-
-
Method Details