public class Texture2DState extends TextureState
boundaryWidth, format, height, mipMapMode, widthcontrol, node, nodeClassName, symbol| Constructor and Description |
|---|
Texture2DState(SymbolTableData symbol,
Controller control) |
| Modifier and Type | Method and Description |
|---|---|
void |
addSubReference()
Called when this component reference count is incremented.
|
void |
buildGraph()
Subclasses should processes their own buildGraph requirements BEFORE
calling super.buildGraph().
|
protected SceneGraphObject |
createNode()
Create a new Java3D node for this object.
|
SceneGraphObject |
createNode(Class j3dClass)
Create a new Java3D node from the supplied class using the parameterless constructor
For Java3D nodes which do not have a default constructor you must
overload this method and create the object using createNode( className, parameters )
This will correctly handle subclasses of Java3D classes
|
void |
readObject(DataInput in) |
void |
writeObject(DataOutput out)
DO NOT call symbolTable.addReference in writeObject as this (may)
result in a concurrentModificationException.
|
readConstructorParams, writeConstructorParamscleanup, createNode, createNode, createState, getNode, getNodeID, getSymbol, readString, writeStringpublic Texture2DState(SymbolTableData symbol, Controller control)
public void writeObject(DataOutput out) throws IOException
SceneGraphObjectStatewriteObject in class TextureStateIOExceptionpublic void readObject(DataInput in) throws IOException
readObject in class TextureStateIOExceptionpublic void addSubReference()
addSubReference in class TextureStatepublic void buildGraph()
SceneGraphObjectStatebuildGraph in class TextureStatepublic SceneGraphObject createNode(Class j3dClass)
SceneGraphObjectStatecreateNode in class SceneGraphObjectStateprotected SceneGraphObject createNode()
SceneGraphObjectStatecreateNode in class SceneGraphObjectStateCopyright © 2016–2022 SciJava. All rights reserved.