public class ColladaVisualScene extends ColladaAbstractObject implements ColladaRenderable
Modifier and Type | Field and Description |
---|---|
protected java.util.List<ColladaNode> |
nodes
Nodes in this scene.
|
CHARACTERS_CONTENT, fields, namespaceURI, parent
Constructor and Description |
---|
ColladaVisualScene(java.lang.String ns)
Construct an instance.
|
Modifier and Type | Method and Description |
---|---|
Box |
getLocalExtent(ColladaTraversalContext tc)
Returns this renderable's model coordinate extent.
|
java.util.List<ColladaNode> |
getNodes()
Indicates the nodes in the scene.
|
void |
preRender(ColladaTraversalContext tc,
DrawContext dc)
Pre-Render this element.
|
void |
render(ColladaTraversalContext tc,
DrawContext dc)
Render this element.
|
void |
setField(java.lang.String keyName,
java.lang.Object value) |
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, setFields, setNamespaceURI, setParent
protected java.util.List<ColladaNode> nodes
public ColladaVisualScene(java.lang.String ns)
ns
- the qualifying namespace URI. May be null to indicate no namespace qualification.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 java.util.List<ColladaNode> getNodes()
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.public void setField(java.lang.String keyName, java.lang.Object value)
setField
in class AbstractXMLEventParser