Aviatrix3D
2.1.0

org.j3d.aviatrix3d.rendering
Interface SingleCullable

All Superinterfaces:
Cullable
All Known Implementing Classes:
SharedNode, SharedNode2D

public interface SingleCullable
extends Cullable

An object that contains a single Cullable as a child.

Typically this class is used to represent structures such as SharedNodes that only end up with a single child object to render.

Version:
$Revision: 2.2 $
Author:
Justin Couch

Method Summary
 BoundingVolume getBounds()
          Get the currently set bounds for this object.
 Cullable getCullableChild()
          Get the child renderable of this object.
 Cullable getCullableParent()
          Get the parent cullable of this instance.
 boolean hasMultipleParents()
          Check to see if this cullable is mulitparented.
 

Method Detail

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

getCullableChild

Cullable getCullableChild()
Get the child renderable of this object.

Returns:
an array of nodes

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

Aviatrix3D
2.1.0

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