Class BurnAttributes
java.lang.Object
gov.nih.mipav.view.renderer.J3D.surfaceview.rfaview.BurnAttributes
Class 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
FieldsModifier and TypeFieldDescriptionjavax.media.j3d.BranchGroupburn subtree, holds all the Shape3D objects that make up the surface.floatburning time.BitSet burning sphere or ellposoid mask.javax.vecmath.Vector3fBurn center coordinate.javax.vecmath.Point3fburn center.booleanburn surface clipped or not.javax.vecmath.Color4fColor of burn.booleanBack face culling enabled or not.javax.vecmath.Point3fentry point coordinate of the specified probe.Name of surface displayed in list box.floatopacity of burn.booleanburn surface pickabel or not.javax.vecmath.Point3fburn diameter.javax.media.j3d.Transform3Dprobe transform.floatVolume of triangle mesh displayed associated with the burn. -
Constructor Summary
ConstructorsConstructorDescriptionBurnAttributes(javax.media.j3d.BranchGroup burnBG, 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, 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, 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. -
Method Summary
-
Field Details
-
burnBG
public javax.media.j3d.BranchGroup burnBGburn subtree, holds all the Shape3D objects that make up the surface. -
burningTime
public float burningTimeburning time. -
burnMask
BitSet burning sphere or ellposoid mask. -
burnPoint
public javax.vecmath.Vector3f burnPointBurn center coordinate. -
center
public javax.vecmath.Point3f centerburn center. -
clipping
public boolean clippingburn surface clipped or not. -
color
public javax.vecmath.Color4f colorColor 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 cullingBack face culling enabled or not. -
entryPoint
public javax.vecmath.Point3f entryPointentry point coordinate of the specified probe. -
name
Name of surface displayed in list box. -
opacity
public float opacityopacity of burn. -
pickable
public boolean pickableburn surface pickabel or not. -
radius
public javax.vecmath.Point3f radiusburn diameter. -
transform
public javax.media.j3d.Transform3D transformprobe transform. -
volume
public float volumeVolume of triangle mesh displayed associated with the burn. Changes with level of detail.
-
-
Constructor Details
-
BurnAttributes
public BurnAttributes(javax.media.j3d.BranchGroup burnBG, 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, 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, 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
-