org.xith3d.scenegraph
Class _SG_PrivilegedAccess
java.lang.Object
org.xith3d.scenegraph._SG_PrivilegedAccess
public class _SG_PrivilegedAccess
- extends java.lang.Object
This class provides pass-through methods for methods, that
are only for internal use and therefore should not be public,
but need to be publicly accessible in some way to access them
from different packages in xith.
|
Method Summary |
static void |
forceRecull(BranchGroup bg,
boolean force)
|
static void |
forceRefill(BranchGroup bg,
boolean force)
|
static ShadowAtom |
getAtom(GroupNode group)
|
static ShapeAtom |
getAtom(Shape3D shape)
|
static org.openmali.spatial.bounds.Bounds |
getCachedBounds(Geometry geom)
|
static java.nio.FloatBuffer |
getFloatBuffer(Transform3D t3d,
boolean refillOnDemand)
|
static int |
getFramesSinceDirty(org.jagatoo.geometry.GeomNioData geomData)
|
static int |
getFramesSinceDirty(GeomNioFloatData geomData)
|
static int |
getFramesSinceDirty(GeomNioIntData geomData)
|
static Transform3D |
getLeafWorldTransform(Leaf leaf)
|
static org.openmali.spatial.octree.OcTree<Node> |
getOcTree(OcTreeGroup ocTreeGroup)
Returns the OcTree from the given OcTreeGroup
by calling the OcTreeGroup.getOcTree() method, which has
package-access. |
static int |
getPassId(Shape3D shape)
|
static org.openmali.spatial.quadtree.QuadTree<Node> |
getQuadTree(QuadTreeGroup quadTreeGroup)
|
static void |
incGlobalOptionsChangeId()
|
static void |
incrementFramesSinceDirty(org.jagatoo.geometry.GeomNioData geomData)
|
static void |
incrementFramesSinceDirty(GeomNioFloatData geomData)
|
static void |
incrementFramesSinceDirty(GeomNioIntData geomData)
|
static boolean |
isDirty(org.jagatoo.geometry.GeomNioData geomData)
|
static boolean |
isDirty(GeomNioFloatData geomData)
|
static boolean |
isDirty(GeomNioIntData geomData)
|
static boolean |
isDirty(Shader shader)
|
static boolean |
isDirty(ShaderProgram<?> shaderProgram)
|
static boolean |
isRecullForeced(BranchGroup bg)
|
static boolean |
isRefillForeced(BranchGroup bg)
|
static void |
markStaticClean(Appearance app)
|
static boolean |
notifyDrawCallbacks(Texture2DCanvas tc,
long nanoTime)
|
static void |
resetSizeChanged(Texture texture)
|
static void |
set(View view,
boolean b,
RenderPassConfig rpc)
|
static void |
setAtom(GroupNode group,
ShadowAtom shadowAtom)
|
static void |
setAtom(Shape3D shape,
ShapeAtom atom)
|
static void |
setCachedBounds(org.openmali.spatial.bounds.Bounds bounds,
Geometry geom)
|
static void |
setChanged(NodeComponent nc,
boolean changed)
|
static void |
setChanged(Transform3D t3d,
boolean changed)
|
static void |
setDirty(org.jagatoo.geometry.GeomNioData geomData,
boolean dirty)
|
static void |
setDirty(GeomNioFloatData geomData,
boolean dirty)
|
static void |
setDirty(GeomNioIntData geomData,
boolean dirty)
|
static void |
setDirty(Shader shader,
boolean dirty)
|
static void |
setDirty(Texture texture,
boolean dirty)
|
static void |
setGLSLShaderProgramLinked(GLSLShaderProgram shaderProg,
boolean linked)
|
static void |
setGLSLShaderProgramLinkError(GLSLShaderProgram shaderProg,
boolean linkError)
|
static void |
setPassId(Shape3D shape,
int passId)
|
static void |
update(UpdatableNode updatableNode,
View view,
org.openmali.spatial.bodies.Frustum frustum,
long nanoTime,
long nanoStep)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_SG_PrivilegedAccess
public _SG_PrivilegedAccess()
setChanged
public static final void setChanged(NodeComponent nc,
boolean changed)
markStaticClean
public static void markStaticClean(Appearance app)
setChanged
public static final void setChanged(Transform3D t3d,
boolean changed)
incGlobalOptionsChangeId
public static final void incGlobalOptionsChangeId()
getFloatBuffer
public static final java.nio.FloatBuffer getFloatBuffer(Transform3D t3d,
boolean refillOnDemand)
getOcTree
public static final org.openmali.spatial.octree.OcTree<Node> getOcTree(OcTreeGroup ocTreeGroup)
- Returns the
OcTree from the given OcTreeGroup
by calling the OcTreeGroup.getOcTree() method, which has
package-access.
- Parameters:
ocTreeGroup -
- Returns:
- the given
OcTreeGroup's OcTree.
getQuadTree
public static final org.openmali.spatial.quadtree.QuadTree<Node> getQuadTree(QuadTreeGroup quadTreeGroup)
isDirty
public static final boolean isDirty(ShaderProgram<?> shaderProgram)
setDirty
public static final void setDirty(Shader shader,
boolean dirty)
isDirty
public static final boolean isDirty(Shader shader)
setDirty
public static final void setDirty(org.jagatoo.geometry.GeomNioData geomData,
boolean dirty)
isDirty
public static final boolean isDirty(org.jagatoo.geometry.GeomNioData geomData)
incrementFramesSinceDirty
public static final void incrementFramesSinceDirty(org.jagatoo.geometry.GeomNioData geomData)
getFramesSinceDirty
public static final int getFramesSinceDirty(org.jagatoo.geometry.GeomNioData geomData)
setDirty
public static final void setDirty(GeomNioFloatData geomData,
boolean dirty)
isDirty
public static final boolean isDirty(GeomNioFloatData geomData)
incrementFramesSinceDirty
public static final void incrementFramesSinceDirty(GeomNioFloatData geomData)
getFramesSinceDirty
public static final int getFramesSinceDirty(GeomNioFloatData geomData)
setDirty
public static final void setDirty(GeomNioIntData geomData,
boolean dirty)
isDirty
public static final boolean isDirty(GeomNioIntData geomData)
incrementFramesSinceDirty
public static final void incrementFramesSinceDirty(GeomNioIntData geomData)
getFramesSinceDirty
public static final int getFramesSinceDirty(GeomNioIntData geomData)
setAtom
public static final void setAtom(GroupNode group,
ShadowAtom shadowAtom)
getAtom
public static final ShadowAtom getAtom(GroupNode group)
setAtom
public static final void setAtom(Shape3D shape,
ShapeAtom atom)
getAtom
public static final ShapeAtom getAtom(Shape3D shape)
getLeafWorldTransform
public static final Transform3D getLeafWorldTransform(Leaf leaf)
forceRefill
public static final void forceRefill(BranchGroup bg,
boolean force)
isRefillForeced
public static final boolean isRefillForeced(BranchGroup bg)
forceRecull
public static final void forceRecull(BranchGroup bg,
boolean force)
isRecullForeced
public static final boolean isRecullForeced(BranchGroup bg)
setGLSLShaderProgramLinked
public static final void setGLSLShaderProgramLinked(GLSLShaderProgram shaderProg,
boolean linked)
setGLSLShaderProgramLinkError
public static final void setGLSLShaderProgramLinkError(GLSLShaderProgram shaderProg,
boolean linkError)
setPassId
public static final void setPassId(Shape3D shape,
int passId)
getPassId
public static final int getPassId(Shape3D shape)
notifyDrawCallbacks
public static final boolean notifyDrawCallbacks(Texture2DCanvas tc,
long nanoTime)
resetSizeChanged
public static final void resetSizeChanged(Texture texture)
setDirty
public static final void setDirty(Texture texture,
boolean dirty)
setCachedBounds
public static final void setCachedBounds(org.openmali.spatial.bounds.Bounds bounds,
Geometry geom)
getCachedBounds
public static final org.openmali.spatial.bounds.Bounds getCachedBounds(Geometry geom)
set
public static final void set(View view,
boolean b,
RenderPassConfig rpc)
update
public static final void update(UpdatableNode updatableNode,
View view,
org.openmali.spatial.bodies.Frustum frustum,
long nanoTime,
long nanoStep)