public class ColladaScene extends ColladaAbstractObject implements ColladaRenderable
Modifier and Type | Field and Description |
---|---|
protected ColladaInstanceVisualScene |
instanceVisualScene
Cached value of the instance_visual_scene field.
|
protected boolean |
sceneFetched
Flag to indicate that the scene has been fetched from the hash map.
|
CHARACTERS_CONTENT, fields, namespaceURI, parent
Constructor and Description |
---|
ColladaScene(java.lang.String ns)
Construct an instance.
|
Modifier and Type | Method and Description |
---|---|
protected ColladaInstanceVisualScene |
getInstanceVisualScene()
Indicates the value of the instance_visual_scene field.
|
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.
|
getRoot
allocate, doAddCharacters, doAddEventAttribute, doAddEventContent, doParseEventAttributes, doParseEventContent, freeResources, getAConstructor, getCharacters, getField, getField, getFields, getNamespaceURI, getParent, hasField, hasField, hasFields, mergeFields, newInstance, overrideFields, parse, parseCharacterContent, removeField, setField, setField, setFields, setNamespaceURI, setParent
protected ColladaInstanceVisualScene instanceVisualScene
protected boolean sceneFetched
public ColladaScene(java.lang.String ns)
ns
- the qualifying namespace URI. May be null to indicate no namespace qualification.protected ColladaInstanceVisualScene getInstanceVisualScene()
public Box getLocalExtent(ColladaTraversalContext tc)
ColladaAbstractObject
getLocalExtent
in interface ColladaRenderable
getLocalExtent
in class ColladaAbstractObject
tc
- The traversal context to use when determining the extent.public void preRender(ColladaTraversalContext tc, DrawContext dc)
preRender
in interface ColladaRenderable
tc
- the current COLLADA traversal context.dc
- the current draw context.public void render(ColladaTraversalContext tc, DrawContext dc)
render
in interface ColladaRenderable
tc
- the current COLLADA traversal context.dc
- the current draw context.