Aviatrix3D
2.1.0

org.j3d.aviatrix3d.rendering
Interface LeafCullable

All Superinterfaces:
Cullable
All Known Implementing Classes:
AmbientLight, AppearanceOverride, BackgroundSound, Box, ClipPlane, Cone, ConeSound, Cylinder, DirectionalLight, Fog, Light, Pixmap, PointLight, PointSound, Shape3D, Sound, Sphere, SpotLight, Spring, Torus

public interface LeafCullable
extends Cullable

An cullable that represents the end of the rendering traversal and results in something that can be rendered now.

This object transforms the cullable object into a renderable object. The renderable can then be tested for other properties once it is decided that this cullable is acceptable.

For the purposes of fast rendering traversal, leaf cullables have a constant that is returned describing their basic function in the scene graph.

Version:
$Revision: 2.4 $
Author:
Justin Couch

Field Summary
static int AUDIO_CULLABLE
          This is a any cullable that provides audio source
static int CLIP_CULLABLE
          This is a clip plane-type cullable
static int FOG_CULLABLE
          This is a fog-type cullable
static int GEOMETRY_CULLABLE
          This is a any cullable that provides visuals for rendering
static int LIGHT_CULLABLE
          This is a light-type cullable
static int OVERRIDE_CULLABLE
          This is a any cullable that provides items that override other properties as you traverse the scene graph.
 
Method Summary
 BoundingVolume getBounds()
          Get the currently set bounds for this object.
 int getCullableType()
          Get the type that this cullable represents.
 Renderable getRenderable()
          Get the child renderable of this object.
 

Field Detail

FOG_CULLABLE

static final int FOG_CULLABLE
This is a fog-type cullable

See Also:
Constant Field Values

LIGHT_CULLABLE

static final int LIGHT_CULLABLE
This is a light-type cullable

See Also:
Constant Field Values

CLIP_CULLABLE

static final int CLIP_CULLABLE
This is a clip plane-type cullable

See Also:
Constant Field Values

GEOMETRY_CULLABLE

static final int GEOMETRY_CULLABLE
This is a any cullable that provides visuals for rendering

See Also:
Constant Field Values

AUDIO_CULLABLE

static final int AUDIO_CULLABLE
This is a any cullable that provides audio source

See Also:
Constant Field Values

OVERRIDE_CULLABLE

static final int OVERRIDE_CULLABLE
This is a any cullable that provides items that override other properties as you traverse the scene graph.

See Also:
Constant Field Values
Method Detail

getCullableType

int getCullableType()
Get the type that this cullable represents.

Returns:
One of the _CULLABLE constants

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

getRenderable

Renderable getRenderable()
Get the child renderable of this object.

Returns:
an array of nodes

Aviatrix3D
2.1.0

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