Interface ColladaRenderable
-
- All Known Implementing Classes:
ColladaInstanceNode
,ColladaInstanceVisualScene
,ColladaNode
,ColladaRoot
,ColladaScene
,ColladaVisualScene
public interface ColladaRenderable
Interface for rendering COLLADA elements.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Box
getLocalExtent(ColladaTraversalContext tc)
Returns this renderable's model coordinate extent.void
preRender(ColladaTraversalContext tc, DrawContext dc)
Pre-Render this element.void
render(ColladaTraversalContext tc, DrawContext dc)
Render this element.
-
-
-
Method Detail
-
getLocalExtent
Box getLocalExtent(ColladaTraversalContext tc)
Returns this renderable's model coordinate extent.- Parameters:
tc
- The traversal context to use when determining the extent.- Returns:
- The model coordinate extent.
- Throws:
java.lang.IllegalArgumentException
- if either the traversal context is null.
-
preRender
void preRender(ColladaTraversalContext tc, DrawContext dc)
Pre-Render this element.- Parameters:
tc
- the current COLLADA traversal context.dc
- the current draw context.- Throws:
java.lang.IllegalArgumentException
- if either the traversal context or the draw context is null.
-
render
void render(ColladaTraversalContext tc, DrawContext dc)
Render this element.- Parameters:
tc
- the current COLLADA traversal context.dc
- the current draw context.- Throws:
java.lang.IllegalArgumentException
- if either the traversal context or the draw context is null.
-
-