|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object vtk.vtkObjectBase vtk.vtkObject vtk.vtkProcessObject vtk.vtkSource vtk.vtkDataReader
vtkDataReader - helper superclass for objects that read vtk data files. vtkDataReader is a helper superclass that reads the vtk data file header, dataset type, and attribute data (point and cell attributes such as scalars, vectors, normals, etc.) from a vtk data file. See text for the format of the various vtk file types. JavaBean wrapper for vtkDataReader object.
vtkPolyDataReader
,
vtkStructuredPointsReader
,
vtkStructuredGridReader
,
vtkUnsutructuredGridReader
,
Serialized FormField Summary | |
protected java.beans.PropertyChangeSupport |
changes
|
Fields inherited from class vtk.vtkObjectBase |
vtkId |
Constructor Summary | |
|
vtkDataReader()
|
protected |
vtkDataReader(int dmy)
|
Method Summary | |
void |
closeVTKFile()
Close the vtk file. |
java.lang.String |
getClassName()
Return the class name as a string. |
java.lang.String |
getFieldDataName()
Set the name of the field data to extract. |
java.lang.String |
getFieldDataNameInFile(int id0)
What is the name of the ith attribute of a certain type in this file? |
java.lang.String |
getFileName()
Specify file name of vtk data file to read. |
int |
getFileType()
Get the type of file (ASCII or BINARY). |
java.lang.String |
getHeader()
Get the header from the vtk data file. |
vtkCharArray |
getInputArray()
Specify the vtkCharArray to be used when reading from a string. |
java.lang.String |
getInputString()
Specify the InputString for use when reading from a character array. |
int |
getInputStringLength()
Specify the InputString for use when reading from a character array. |
java.lang.String |
getLookupTableName()
Set the name of the lookup table data to extract. |
java.lang.String |
getNormalsName()
Set the name of the normal data to extract. |
java.lang.String |
getNormalsNameInFile(int id0)
What is the name of the ith attribute of a certain type in this file? |
int |
getNumberOfFieldDataInFile()
What is the name of the ith attribute of a certain type in this file? |
int |
getNumberOfNormalsInFile()
How many attributes of various types are in this file? |
int |
getNumberOfScalarsInFile()
How many attributes of various types are in this file? |
int |
getNumberOfTCoordsInFile()
How many attributes of various types are in this file? |
int |
getNumberOfTensorsInFile()
How many attributes of various types are in this file? |
int |
getNumberOfVectorsInFile()
How many attributes of various types are in this file? |
int |
getReadFromInputString()
Enable reading from an InputString or InputArray instead of the default, a file. |
java.lang.String |
getScalarsName()
Set the name of the scalar data to extract. |
java.lang.String |
getScalarsNameInFile(int id0)
What is the name of the ith attribute of a certain type in this file? |
java.lang.String |
getTCoordsName()
Set the name of the texture coordinate data to extract. |
java.lang.String |
getTCoordsNameInFile(int id0)
What is the name of the ith attribute of a certain type in this file? |
java.lang.String |
getTensorsName()
Set the name of the tensor data to extract. |
java.lang.String |
getTensorsNameInFile(int id0)
What is the name of the ith attribute of a certain type in this file? |
vtkDataReader |
getThisDataReader()
|
java.lang.String |
getVectorsName()
Set the name of the vector data to extract. |
java.lang.String |
getVectorsNameInFile(int id0)
What is the name of the ith attribute of a certain type in this file? |
int |
isA(java.lang.String id0)
Return 1 if this class is the same type of (or a subclass of) the named class. |
int |
isFilePolyData()
Is the file a valid vtk file of the passed dataset type ? |
int |
isFileRectilinearGrid()
Is the file a valid vtk file of the passed dataset type ? |
int |
isFileStructuredGrid()
Is the file a valid vtk file of the passed dataset type ? |
int |
isFileStructuredPoints()
Is the file a valid vtk file of the passed dataset type ? |
int |
isFileUnstructuredGrid()
Is the file a valid vtk file of the passed dataset type ? |
int |
isFileValid(java.lang.String id0)
Is the file a valid vtk file of the passed dataset type ? |
int |
openVTKFile()
Open a vtk data file. |
int |
read(java.lang.String id0)
Internal function to read in a value. |
vtkDataArray |
readArray(java.lang.String id0,
int id1,
int id2)
Helper functions for reading data. |
int |
readCellData(vtkDataSet id0,
int id1)
Read the cell data of a vtk data file. |
int |
readCoordinates(vtkRectilinearGrid id0,
int id1,
int id2)
Read the coordinates for a rectilinear grid. |
vtkFieldData |
readFieldData()
Helper functions for reading data. |
void |
readFromInputStringOff()
Enable reading from an InputString or InputArray instead of the default, a file. |
void |
readFromInputStringOn()
Enable reading from an InputString or InputArray instead of the default, a file. |
int |
readHeader()
Read the header of a vtk data file. |
int |
readPointData(vtkDataSet id0,
int id1)
Read the point data of a vtk data file. |
int |
readPoints(vtkPointSet id0,
int id1)
Read point coordinates. |
void |
SetBinaryInputString(byte[] id0,
int id1)
|
void |
setFieldDataName(java.lang.String id0)
Set the name of the field data to extract. |
void |
setFileName(java.lang.String id0)
Specify file name of vtk data file to read. |
void |
setInputArray(vtkCharArray id0)
Specify the vtkCharArray to be used when reading from a string. |
void |
setInputString(java.lang.String id0)
Specify the InputString for use when reading from a character array. |
void |
setInputString(java.lang.String id0,
int id1)
Specify the InputString for use when reading from a character array. |
void |
setLookupTableName(java.lang.String id0)
Set the name of the lookup table data to extract. |
void |
setNormalsName(java.lang.String id0)
Set the name of the normal data to extract. |
void |
setReadFromInputString(int id0)
Enable reading from an InputString or InputArray instead of the default, a file. |
void |
setScalarsName(java.lang.String id0)
Set the name of the scalar data to extract. |
void |
setTCoordsName(java.lang.String id0)
Set the name of the texture coordinate data to extract. |
void |
setTensorsName(java.lang.String id0)
Set the name of the tensor data to extract. |
void |
setVectorsName(java.lang.String id0)
Set the name of the vector data to extract. |
protected void |
VTKCastInit()
|
void |
VTKInit()
|
Methods inherited from class vtk.vtkObject |
AddObserver, breakOnError, debugOff, debugOn, getDebug, getGlobalWarningDisplay, getMTime, getThisObject, globalWarningDisplayOff, globalWarningDisplayOn, hasObserver, hasObserver, invokeEvent, invokeEvent, modified, Print, PrintRevisions, register, removeObserver, removeObservers, removeObservers, setDebug, setGlobalWarningDisplay |
Methods inherited from class vtk.vtkObjectBase |
addPropertyChangeListener, finalize, getReferenceCount, getThisObjectBase, isTypeOf, removePropertyChangeListener, setReferenceCount, VTKDelete |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.beans.PropertyChangeSupport changes
Constructor Detail |
public vtkDataReader()
protected vtkDataReader(int dmy)
Method Detail |
public vtkDataReader getThisDataReader()
public java.lang.String getClassName()
vtkObjectBase
getClassName
in class vtkSource
public int isA(java.lang.String id0)
vtkObjectBase
isA
in class vtkSource
public void setFileName(java.lang.String id0)
public java.lang.String getFileName()
public int isFileValid(java.lang.String id0)
public int isFileStructuredPoints()
public int isFilePolyData()
public int isFileStructuredGrid()
public int isFileUnstructuredGrid()
public int isFileRectilinearGrid()
public void setInputString(java.lang.String id0)
public java.lang.String getInputString()
public void setInputString(java.lang.String id0, int id1)
public int getInputStringLength()
public void SetBinaryInputString(byte[] id0, int id1)
public void setInputArray(vtkCharArray id0)
public vtkCharArray getInputArray()
public java.lang.String getHeader()
public void setReadFromInputString(int id0)
public int getReadFromInputString()
public void readFromInputStringOn()
public void readFromInputStringOff()
public int getFileType()
public int getNumberOfScalarsInFile()
public int getNumberOfVectorsInFile()
public int getNumberOfTensorsInFile()
public int getNumberOfNormalsInFile()
public int getNumberOfTCoordsInFile()
public int getNumberOfFieldDataInFile()
public java.lang.String getScalarsNameInFile(int id0)
public java.lang.String getVectorsNameInFile(int id0)
public java.lang.String getTensorsNameInFile(int id0)
public java.lang.String getNormalsNameInFile(int id0)
public java.lang.String getTCoordsNameInFile(int id0)
public java.lang.String getFieldDataNameInFile(int id0)
public void setScalarsName(java.lang.String id0)
public java.lang.String getScalarsName()
public void setVectorsName(java.lang.String id0)
public java.lang.String getVectorsName()
public void setTensorsName(java.lang.String id0)
public java.lang.String getTensorsName()
public void setNormalsName(java.lang.String id0)
public java.lang.String getNormalsName()
public void setTCoordsName(java.lang.String id0)
public java.lang.String getTCoordsName()
public void setLookupTableName(java.lang.String id0)
public java.lang.String getLookupTableName()
public void setFieldDataName(java.lang.String id0)
public java.lang.String getFieldDataName()
public int openVTKFile()
public int readHeader()
public int readCellData(vtkDataSet id0, int id1)
public int readPointData(vtkDataSet id0, int id1)
public int readPoints(vtkPointSet id0, int id1)
public int readCoordinates(vtkRectilinearGrid id0, int id1, int id2)
public vtkDataArray readArray(java.lang.String id0, int id1, int id2)
public vtkFieldData readFieldData()
public int read(java.lang.String id0)
public void closeVTKFile()
public void VTKInit()
VTKInit
in class vtkObject
protected void VTKCastInit()
VTKCastInit
in class vtkSource
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |