Class BurnAttributes
- java.lang.Object
-
- gov.nih.mipav.view.renderer.J3D.surfaceview.rfaview.BurnAttributes
-
public class BurnAttributes extends java.lang.ObjectClass that holds the information about each surface; the BranchGroup which holds the surface subtree, the name of the surface in the dialog, the color of the surface, the shininess of the surface, the level of detail (for clod meshes), the number of triangles (changes with level of detail), the polygon mode (fill, line, or point), and a flag indicating if this is a clod mesh.
-
-
Field Summary
Fields Modifier and Type Field Description javax.media.j3d.BranchGroupburnBGburn subtree, holds all the Shape3D objects that make up the surface.floatburningTimeburning time.java.util.BitSetburnMaskBitSet burning sphere or ellposoid mask.javax.vecmath.Vector3fburnPointBurn center coordinate.javax.vecmath.Point3fcenterburn center.booleanclippingburn surface clipped or not.javax.vecmath.Color4fcolorColor of burn.booleancullingBack face culling enabled or not.javax.vecmath.Point3fentryPointentry point coordinate of the specified probe.java.lang.StringnameName of surface displayed in list box.floatopacityopacity of burn.booleanpickableburn surface pickabel or not.javax.vecmath.Point3fradiusburn diameter.javax.media.j3d.Transform3Dtransformprobe transform.floatvolumeVolume of triangle mesh displayed associated with the burn.
-
Constructor Summary
Constructors Constructor Description BurnAttributes(javax.media.j3d.BranchGroup burnBG, java.lang.String name, javax.vecmath.Color4f color, float volume, float opacity, javax.vecmath.Point3f radius, float burningTime)Constructs new attributes structure to hold information needed for displaying each burn.BurnAttributes(javax.media.j3d.BranchGroup burnBG, java.lang.String name, javax.vecmath.Color4f color, float volume, float opacity, javax.vecmath.Point3f diameter, float burningTime, javax.vecmath.Point3f center, boolean pickable, boolean clipping, boolean culling, java.util.BitSet burnMask, javax.vecmath.Point3f entryPoint, javax.vecmath.Vector3f burnPoint, javax.media.j3d.Transform3D transform)Constructs new attributes structure to hold information needed for displaying each surface.
-
-
-
Field Detail
-
burnBG
public javax.media.j3d.BranchGroup burnBG
burn subtree, holds all the Shape3D objects that make up the surface.
-
burningTime
public float burningTime
burning time.
-
burnMask
public java.util.BitSet burnMask
BitSet burning sphere or ellposoid mask.
-
burnPoint
public javax.vecmath.Vector3f burnPoint
Burn center coordinate.
-
center
public javax.vecmath.Point3f center
burn center.
-
clipping
public boolean clipping
burn surface clipped or not.
-
color
public javax.vecmath.Color4f color
Color of burn. The element type is Color4f, although currently the alpha channel does not appear to be supported by Java3D materials (even though the Material API allows the alpha channel to be set for diffuse colors).
-
culling
public boolean culling
Back face culling enabled or not.
-
entryPoint
public javax.vecmath.Point3f entryPoint
entry point coordinate of the specified probe.
-
name
public java.lang.String name
Name of surface displayed in list box.
-
opacity
public float opacity
opacity of burn.
-
pickable
public boolean pickable
burn surface pickabel or not.
-
radius
public javax.vecmath.Point3f radius
burn diameter.
-
transform
public javax.media.j3d.Transform3D transform
probe transform.
-
volume
public float volume
Volume of triangle mesh displayed associated with the burn. Changes with level of detail.
-
-
Constructor Detail
-
BurnAttributes
public BurnAttributes(javax.media.j3d.BranchGroup burnBG, java.lang.String name, javax.vecmath.Color4f color, float volume, float opacity, javax.vecmath.Point3f radius, float burningTime)Constructs new attributes structure to hold information needed for displaying each burn.- Parameters:
burnBG- burnBG subtree.name- Name of surface.color- Color of surface.volume- Volume of mesh.opacity- opacity of the surfaceradius- sphere radiusburningTime- ablation time
-
BurnAttributes
public BurnAttributes(javax.media.j3d.BranchGroup burnBG, java.lang.String name, javax.vecmath.Color4f color, float volume, float opacity, javax.vecmath.Point3f diameter, float burningTime, javax.vecmath.Point3f center, boolean pickable, boolean clipping, boolean culling, java.util.BitSet burnMask, javax.vecmath.Point3f entryPoint, javax.vecmath.Vector3f burnPoint, javax.media.j3d.Transform3D transform)Constructs new attributes structure to hold information needed for displaying each surface.- Parameters:
burnBG- burnBG subtree.name- Name of surface.color- Color of surface.volume- Volume of mesh.opacity- opacity of the surface.diameter- diameter, a point to represent semiX, Y, ZburningTime- Burning timecenter- burning center.pickable- burning surface pickable or notclipping- burning surface clipping or not.culling- burning point surface back face culling or notburnMask- burning sphere mask.entryPoint- entry point coordinateburnPoint- burn center point coordinatetransform- probe transform
-
-