public abstract class GeometryArrayState extends GeometryState
| Modifier and Type | Field and Description |
|---|---|
protected int |
texCoordSetCount |
protected int[] |
texCoordSetMap |
protected int |
vertexCount |
protected int |
vertexFormat |
control, node, nodeClassName, symbol| Constructor and Description |
|---|
GeometryArrayState(SymbolTableData symbol,
Controller control) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
readConstructorParams(DataInput in)
Read the parameters required for the constructor of the Java3D object
|
protected double[] |
readDoubleArray(DataInput in) |
protected float[] |
readFloatArray(DataInput in) |
void |
readObject(DataInput in) |
protected void |
writeConstructorParams(DataOutput out)
Write the parameters required for the constructor of the Java3D object
|
protected void |
writeDoubleArray(DataOutput out,
double[] array) |
protected void |
writeFloatArray(DataOutput out,
float[] array) |
void |
writeObject(DataOutput out)
DO NOT call symbolTable.addReference in writeObject as this (may)
result in a concurrentModificationException.
|
addSubReferencebuildGraph, cleanup, createNode, createNode, createNode, createNode, createState, getNode, getNodeID, getSymbol, readString, writeStringprotected int vertexFormat
protected int vertexCount
protected int texCoordSetCount
protected int[] texCoordSetMap
public GeometryArrayState(SymbolTableData symbol, Controller control)
public void writeObject(DataOutput out) throws IOException
SceneGraphObjectStatewriteObject in class NodeComponentStateIOExceptionpublic void readObject(DataInput in) throws IOException
readObject in class NodeComponentStateIOExceptionprotected void writeConstructorParams(DataOutput out) throws IOException
SceneGraphObjectStatewriteConstructorParams in class SceneGraphObjectStateIOExceptionprotected void readConstructorParams(DataInput in) throws IOException
SceneGraphObjectStatereadConstructorParams in class SceneGraphObjectStateIOExceptionprotected void writeDoubleArray(DataOutput out, double[] array) throws IOException
IOExceptionprotected double[] readDoubleArray(DataInput in) throws IOException
IOExceptionprotected void writeFloatArray(DataOutput out, float[] array) throws IOException
IOExceptionprotected float[] readFloatArray(DataInput in) throws IOException
IOExceptionCopyright © 2016–2022 SciJava. All rights reserved.