Aviatrix3D
2.1.0

org.j3d.aviatrix3d.rendering
Interface GroupCullable

All Superinterfaces:
Cullable
All Known Implementing Classes:
Axis, Group, Group2D, MaskedSwitch, PixelTransform, SharedGroup, SharedGroup2D, SwitchGroup, TransformGroup

public interface GroupCullable
extends Cullable

A cullable that contains multiple cullables as children objects.

Sometimes instances of this are combined with TransformCullable to indicate the prescense of a transformation at this level.

Version:
$Revision: 2.2 $
Author:
Justin Couch

Method Summary
 BoundingVolume getBounds()
          Get the currently set bounds for this object.
 Cullable[] getCullableChildren()
          Get the list of children that are valid to be rendered according to the rules of the grouping node.
 Cullable getCullableParent()
          Get the parent cullable of this instance.
 boolean hasMultipleParents()
          Check to see if this cullable is mulitparented.
 int numCullableChildren()
          Returns the number of valid renderable children to process.
 

Method Detail

hasMultipleParents

boolean hasMultipleParents()
Check to see if this cullable is mulitparented. If it is, then that will cause problems for code that needs to know information like the transformation to the root of the scene graph.

Returns:
true if there are multiple parents

getCullableParent

Cullable getCullableParent()
Get the parent cullable of this instance. If this node has multiple direct parents, then this should return null.

Returns:
The parent instance or null if none

getBounds

BoundingVolume getBounds()
Get the currently set bounds for this object. If no explicit bounds have been set, then an implicit set of bounds is returned based on the current scene graph state.

Returns:
The current bounds of this object

getCullableChildren

Cullable[] getCullableChildren()
Get the list of children that are valid to be rendered according to the rules of the grouping node.

Returns:
an array of nodes

numCullableChildren

int numCullableChildren()
Returns the number of valid renderable children to process. If there are no valid renderable children return -1.

Returns:
A number greater than or equal to zero or -1

Aviatrix3D
2.1.0

Latest Info from http://aviatrix3d.j3d.org/
Copyright © 2003 - 2009 j3d.org