javax.media.j3d
Class GeometryAtom

java.lang.Object
  extended by javax.media.j3d.GeometryAtom
All Implemented Interfaces:
BHLeafInterface, NnuId

 class GeometryAtom
extends java.lang.Object
implements BHLeafInterface, NnuId

A GeometryAtom is the smallest object representing Geometry.


Field Summary
(package private)  boolean alphaEditable
           
(package private)  BHLeafNode bhLeafNode
          The BHLeafNode for this GeometryAtom.
(package private)  Point3d[] centroid
           
(package private)  boolean centroidIsDirty
           
(package private)  GeometryRetained[] geometryArray
          Array of geometry components of this geometry atom
(package private)  int geoType
          This is the original geometry type from which this atom came
(package private)  Transform3D[] lastLocalTransformArray
          Array of transforms used only for Text3d.
(package private)  Locale locale
          The locale that this geometry atom is attatched to.
(package private)  java.lang.Object lockObj
           
(package private)  int nnuId
           
(package private)  RenderAtom[] renderAtoms
          The list of RenderAtoms for this GeometryAtom
(package private)  Shape3DRetained source
          The mirror Shape3DRetained for this GeometryAtom.
(package private)  boolean visible
           
 
Constructor Summary
GeometryAtom()
           
 
Method Summary
 BoundingBox computeBoundingHull()
           
 int equal(NnuId obj)
           
 int getId()
           
 Locale getLocale2()
           
(package private)  RenderAtom getRenderAtom(View view)
          Gets a RenderAtom for the given viewIndex.
 boolean isEnable()
           
 boolean isEnable(int vis)
           
(package private)  void updateCentroid()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

geometryArray

GeometryRetained[] geometryArray
Array of geometry components of this geometry atom


lastLocalTransformArray

Transform3D[] lastLocalTransformArray
Array of transforms used only for Text3d.


locale

Locale locale
The locale that this geometry atom is attatched to. This is only non-null if this instance is directly linked into a locale.


source

Shape3DRetained source
The mirror Shape3DRetained for this GeometryAtom.


bhLeafNode

BHLeafNode bhLeafNode
The BHLeafNode for this GeometryAtom.


alphaEditable

boolean alphaEditable

visible

boolean visible

geoType

int geoType
This is the original geometry type from which this atom came


renderAtoms

RenderAtom[] renderAtoms
The list of RenderAtoms for this GeometryAtom


nnuId

int nnuId

centroid

Point3d[] centroid

centroidIsDirty

boolean centroidIsDirty

lockObj

java.lang.Object lockObj
Constructor Detail

GeometryAtom

GeometryAtom()
Method Detail

getId

public int getId()
Specified by:
getId in interface NnuId

equal

public int equal(NnuId obj)
Specified by:
equal in interface NnuId

computeBoundingHull

public BoundingBox computeBoundingHull()
Specified by:
computeBoundingHull in interface BHLeafInterface

isEnable

public boolean isEnable()
Specified by:
isEnable in interface BHLeafInterface

isEnable

public boolean isEnable(int vis)
Specified by:
isEnable in interface BHLeafInterface

getLocale2

public Locale getLocale2()
Specified by:
getLocale2 in interface BHLeafInterface

getRenderAtom

RenderAtom getRenderAtom(View view)
Gets a RenderAtom for the given viewIndex. If it doesn't exist, it creates one.


updateCentroid

void updateCentroid()


Copyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.