public class ColladaVisualScene extends ColladaAbstractObject implements ColladaRenderable
Modifier and Type | Field and Description |
---|---|
protected List<ColladaNode> |
nodes
Nodes in this scene.
|
CHARACTERS_CONTENT, fields, namespaceURI, parent
Constructor and Description |
---|
ColladaVisualScene(String ns)
Construct an instance.
|
Modifier and Type | Method and Description |
---|---|
Box |
getLocalExtent(ColladaTraversalContext tc)
Returns this renderable's model coordinate extent.
|
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(String keyName,
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 List<ColladaNode> nodes
public ColladaVisualScene(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 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(String keyName, Object value)
setField
in class AbstractXMLEventParser