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.
|
addSubReference
buildGraph, cleanup, createNode, createNode, createNode, createNode, createState, getNode, getNodeID, getSymbol, readString, writeString
protected int vertexFormat
protected int vertexCount
protected int texCoordSetCount
protected int[] texCoordSetMap
public GeometryArrayState(SymbolTableData symbol, Controller control)
public void writeObject(DataOutput out) throws IOException
SceneGraphObjectState
writeObject
in class NodeComponentState
IOException
public void readObject(DataInput in) throws IOException
readObject
in class NodeComponentState
IOException
protected void writeConstructorParams(DataOutput out) throws IOException
SceneGraphObjectState
writeConstructorParams
in class SceneGraphObjectState
IOException
protected void readConstructorParams(DataInput in) throws IOException
SceneGraphObjectState
readConstructorParams
in class SceneGraphObjectState
IOException
protected void writeDoubleArray(DataOutput out, double[] array) throws IOException
IOException
protected double[] readDoubleArray(DataInput in) throws IOException
IOException
protected void writeFloatArray(DataOutput out, float[] array) throws IOException
IOException
protected float[] readFloatArray(DataInput in) throws IOException
IOException
Copyright © 2016–2022 SciJava. All rights reserved.