| |
|
| java.lang.Object javax.media.j3d.CompileState
CompileState | class CompileState (Code) | | The CompileState holds information used during a compile. It is
passed to each SceneGraphObject (SGO) during the compile. Each SGO
modifies the CompileState as necessary and passes the CompileState
to its children (if any).
The CompileState currently has two functions: appearance mapping
and shape merging.
Appearance mapping maintains a list of the unique appearances seen
during the compile. getAppearance() is used to turn multiple,
equivalent and static appearances into a single shared appearance.
The shape mergings collects shapes that are potentially mergable
during a compile. The shapes are sorted into a Map of Lists of
shapes, using the shape's appearance as the key. After a subtree
is traversed, the shapes are merged and added to the Group.
|
BOUNDS_READ | final static int BOUNDS_READ(Code) | | |
GEOMETRY_READ | final static int GEOMETRY_READ(Code) | | |
compileVerbose | boolean compileVerbose(Code) | | |
needNormalsTransform | boolean needNormalsTransform(Code) | | |
numAppearances | int numAppearances(Code) | | |
numMergeSets | int numMergeSets(Code) | | |
numMergeShapes | int numMergeShapes(Code) | | |
numMergedGroups | int numMergedGroups(Code) | | |
numMergedTransformGroups | int numMergedTransformGroups(Code) | | |
numOrderedGroups | int numOrderedGroups(Code) | | |
numShapesWSharedGeom | int numShapesWSharedGeom(Code) | | |
numShapesWStaticTG | int numShapesWStaticTG(Code) | | |
numStaticTransformGroups | int numStaticTransformGroups(Code) | | |
numSwitches | int numSwitches(Code) | | |
numTransformGroups | int numTransformGroups(Code) | | |
CompileState | CompileState()(Code) | | |
doShapeMerge | void doShapeMerge()(Code) | | |
getAppearance | AppearanceRetained getAppearance(AppearanceRetained app)(Code) | | Returns an unique appearance which equals app. If appearance does not
equal any previously found, the appearance will be added to the known
appearances and be returned. If the apperance equals a previously known
appearance, then the prevously known apperance will be returned
|
printStats | void printStats()(Code) | | |
|
|
|