javax.media.j3d
Class RenderAtom

java.lang.Object
  extended by javax.media.j3d.RenderAtom
All Implemented Interfaces:
ObjectUpdate

 class RenderAtom
extends java.lang.Object
implements ObjectUpdate

A RenderAtom is a wrapper for a GeometryAtom in a given RenderBin.


Field Summary
(package private)  RenderMolecule added
           
(package private)  AppearanceRetained app
          The appearance that influences this RenderAtom
(package private) static int CG
           
(package private)  int dirtyMask
           
(package private) static int DLIST
           
(package private)  int[] dlistIds
          Used when depth sorted transparecy is turned on one dlist per rinfo
(package private)  EnvironmentSet envSet
          Environment set that this renderAtom belongs to, used to compare the new env set with the old one when the scoping/bounds of a light/fog changes
(package private)  FogRetained fog
          The fog that influences this RenderAtom
(package private)  GeometryAtom geometryAtom
          The geometry atom of this render atom
(package private) static int HAS_SEPARATE_LOCALE_VWC_BOUNDS
           
(package private) static int IN_DIRTY_ORIENTED_RAs
           
(package private) static int IN_RENDERBIN
          Indicates whether or not this object is in the render bin.
(package private) static int IN_SORTED_POS_DIRTY_TRANSP_LIST
           
(package private) static int IS_ORIENTED
           
(package private)  long lastVisibleTime
          The last time this atom was reported visible
(package private)  LightRetained[] lights
          The lights that influence this RenderAtom
(package private)  BoundingBox localeVwcBounds
          Used for non-text3d
(package private)  ModelClipRetained modelClip
          The model clip that influences this RenderAtom
(package private) static int NEED_SEPARATE_LOCALE_VWC_BOUNDS
           
(package private)  RenderAtom nextAdd
           
(package private)  RenderAtom nextRemove
           
(package private) static int ON_LOCALE_VWC_BOUNDS_UPDATELIST
           
(package private) static int ON_UPDATELIST
           
(package private) static int OTHER
           
(package private)  TransparentRenderingInfo[] parentTInfo
          Used in depthSorted transparency, once per rInfo
(package private)  RenderAtom prevAdd
           
(package private)  RenderAtom prevRemove
           
(package private) static int PRIMARY
           
(package private)  RenderMolecule removed
           
(package private)  RenderMolecule renderMolecule
          The RenderMolecule for this RenderAtom
(package private)  RenderAtomListInfo[] rListInfo
          Next and Previous references for the list of RenderAtoms groupType is a mask set to true if this renderAtom is part of the displaylist array of the renderMolecule One per geometry in the geometryArr in the geometryAtom, since each geometry in the geometryAtom can end up in a different atomList(primary, secondary, seperatedlist) of the renderMoceule
(package private) static int SEPARATE_DLIST_PER_GEO
           
(package private) static int SEPARATE_DLIST_PER_RINFO
           
(package private) static int TEXT3D
           
(package private) static int VARRAY
           
 
Constructor Summary
RenderAtom()
           
 
Method Summary
(package private)  boolean hasSeparateLocaleVwcBounds()
           
(package private)  boolean inDepthSortList()
           
(package private)  boolean inDirtyOrientedRAs()
           
(package private)  boolean inRenderBin()
           
(package private)  boolean isOpaque()
          This returns whether or not this atom goes into the opaque light bin
(package private)  boolean isOriented()
           
(package private)  boolean needSeparateLocaleVwcBounds()
           
(package private)  boolean onLocaleVwcBoundsUpdateList()
           
(package private)  boolean onUpdateList()
           
(package private)  void setRenderBin(boolean value)
          This sets the inRenderBin flag
(package private)  void updateLocaleVwcBounds()
           
 void updateObject()
          The actual update function.
(package private)  void updateOrientedTransform()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

geometryAtom

GeometryAtom geometryAtom
The geometry atom of this render atom


renderMolecule

RenderMolecule renderMolecule
The RenderMolecule for this RenderAtom


lights

LightRetained[] lights
The lights that influence this RenderAtom


fog

FogRetained fog
The fog that influences this RenderAtom


modelClip

ModelClipRetained modelClip
The model clip that influences this RenderAtom


app

AppearanceRetained app
The appearance that influences this RenderAtom


IN_RENDERBIN

static int IN_RENDERBIN
Indicates whether or not this object is in the render bin.


HAS_SEPARATE_LOCALE_VWC_BOUNDS

static int HAS_SEPARATE_LOCALE_VWC_BOUNDS

NEED_SEPARATE_LOCALE_VWC_BOUNDS

static int NEED_SEPARATE_LOCALE_VWC_BOUNDS

ON_UPDATELIST

static int ON_UPDATELIST

ON_LOCALE_VWC_BOUNDS_UPDATELIST

static int ON_LOCALE_VWC_BOUNDS_UPDATELIST

IS_ORIENTED

static int IS_ORIENTED

IN_DIRTY_ORIENTED_RAs

static int IN_DIRTY_ORIENTED_RAs

IN_SORTED_POS_DIRTY_TRANSP_LIST

static int IN_SORTED_POS_DIRTY_TRANSP_LIST

dirtyMask

int dirtyMask

envSet

EnvironmentSet envSet
Environment set that this renderAtom belongs to, used to compare the new env set with the old one when the scoping/bounds of a light/fog changes


localeVwcBounds

BoundingBox localeVwcBounds
Used for non-text3d


lastVisibleTime

long lastVisibleTime
The last time this atom was reported visible


rListInfo

RenderAtomListInfo[] rListInfo
Next and Previous references for the list of RenderAtoms groupType is a mask set to true if this renderAtom is part of the displaylist array of the renderMolecule One per geometry in the geometryArr in the geometryAtom, since each geometry in the geometryAtom can end up in a different atomList(primary, secondary, seperatedlist) of the renderMoceule


parentTInfo

TransparentRenderingInfo[] parentTInfo
Used in depthSorted transparency, once per rInfo


dlistIds

int[] dlistIds
Used when depth sorted transparecy is turned on one dlist per rinfo


TEXT3D

static int TEXT3D

DLIST

static int DLIST

CG

static int CG

OTHER

static int OTHER

SEPARATE_DLIST_PER_GEO

static int SEPARATE_DLIST_PER_GEO

VARRAY

static int VARRAY

SEPARATE_DLIST_PER_RINFO

static int SEPARATE_DLIST_PER_RINFO

PRIMARY

static int PRIMARY

added

RenderMolecule added

removed

RenderMolecule removed

nextAdd

RenderAtom nextAdd

prevAdd

RenderAtom prevAdd

nextRemove

RenderAtom nextRemove

prevRemove

RenderAtom prevRemove
Constructor Detail

RenderAtom

RenderAtom()
Method Detail

setRenderBin

void setRenderBin(boolean value)
This sets the inRenderBin flag


isOpaque

boolean isOpaque()
This returns whether or not this atom goes into the opaque light bin


inRenderBin

boolean inRenderBin()

hasSeparateLocaleVwcBounds

boolean hasSeparateLocaleVwcBounds()

needSeparateLocaleVwcBounds

boolean needSeparateLocaleVwcBounds()

onUpdateList

boolean onUpdateList()

onLocaleVwcBoundsUpdateList

boolean onLocaleVwcBoundsUpdateList()

isOriented

boolean isOriented()

inDepthSortList

boolean inDepthSortList()

inDirtyOrientedRAs

boolean inDirtyOrientedRAs()

updateObject

public void updateObject()
Description copied from interface: ObjectUpdate
The actual update function.

Specified by:
updateObject in interface ObjectUpdate

updateOrientedTransform

void updateOrientedTransform()

updateLocaleVwcBounds

void updateLocaleVwcBounds()


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