|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object vtk.vtkObjectBase vtk.vtkObject vtk.vtkDataObject vtk.vtkDataSet
vtkDataSet - abstract class to specify dataset behavior. vtkDataSet is an abstract class that specifies an interface for dataset objects. vtkDataSet also provides methods to provide informations about the data, such as center, bounding box, and representative length. In vtk a dataset consists of a structure (geometry and topology) and attribute data. The structure is defined implicitly or explicitly as a collection of cells. The geometry of the structure is contained in point coordinates plus the cell interpolation functions. The topology of the dataset structure is defined by cell types and how the cells share their defining points. Attribute data in vtk is either point data (data at points) or cell data (data at cells). Typically filters operate on point data, but some may operate on cell data, both cell and point data, either one, or none. JavaBean wrapper for vtkDataSet object.
vtkPointSet
,
vtkStructuredPoints
,
vtkStructuredGrid
,
vtkUnstructuredGrid
,
vtkRectilinearGrid
,
vtkPolyData
,
vtkPointData
,
vtkCellData
,
vtkDataObject
,
Serialized FormField Summary | |
protected java.beans.PropertyChangeSupport |
changes
|
Fields inherited from class vtk.vtkObjectBase |
vtkId |
Constructor Summary | |
|
vtkDataSet()
|
protected |
vtkDataSet(int dmy)
|
Method Summary | |
int |
checkAttributes()
This method checks to see if the cell and point attributes match the geometry. |
void |
computeBounds()
Compute the data bounding box from data points. |
void |
copyStructure(vtkDataSet id0)
Copy the geometric and topological structure of an object. |
void |
deepCopy(vtkDataObject id0)
Shallow and Deep copy. |
int |
findPoint(double[] id0)
Locate the closest point to the global coordinate x. |
int |
findPoint(double id0,
double id1,
double id2)
Locate the closest point to the global coordinate x. |
int |
getActualMemorySize()
Return the actual size of the data in kilobytes. |
double[] |
getBounds()
Return a pointer to the geometry bounding box in the form (xmin,xmax, ymin,ymax, zmin,zmax). |
void |
getBounds(double[] id0)
Return a pointer to the geometry bounding box in the form (xmin,xmax, ymin,ymax, zmin,zmax). |
vtkCell |
getCell(int id0)
Get cell with cellId such that: 0 <= cellId < NumberOfCells. |
void |
getCell(int id0,
vtkGenericCell id1)
Get cell with cellId such that: 0 <= cellId < NumberOfCells. |
void |
getCellBounds(int id0,
double[] id1)
Get the bounds of the cell with cellId such that: 0 <= cellId < NumberOfCells. |
vtkCellData |
getCellData()
return pointer to this dataset's point data THIS METHOD IS THREAD SAFE |
void |
getCellNeighbors(int id0,
vtkIdList id1,
vtkIdList id2)
Topological inquiry to get all cells using list of points exclusive of cell specified (e.g., cellId). |
void |
getCellPoints(int id0,
vtkIdList id1)
Topological inquiry to get points defining cell. |
int |
getCellType(int id0)
Get type of cell with cellId such that: 0 <= cellId < NumberOfCells. |
void |
getCellTypes(vtkCellTypes id0)
Get a list of types of cells in a dataset. |
double[] |
getCenter()
Get the center of the bounding box. |
void |
getCenter(double[] id0)
Get the center of the bounding box. |
java.lang.String |
getClassName()
Return the class name as a string. |
int |
getDataObjectType()
Shallow and Deep copy. |
double |
getLength()
Return the length of the diagonal of the bounding box. |
int |
getMaxCellSize()
Convenience method returns largest cell size in dataset. |
int |
getMTime()
Datasets are composite objects and need to check each part for MTime THIS METHOD IS THREAD SAFE |
int |
getNumberOfCells()
Determine the number of cells composing the dataset. |
int |
getNumberOfPoints()
Determine the number of points composing the dataset. |
double[] |
getPoint(int id0)
Get point coordinates with ptId such that: 0 <= ptId < NumberOfPoints. |
void |
getPoint(int id0,
double[] id1)
Copy point coordinates into user provided array x[3] for specified point id. |
void |
getPointCells(int id0,
vtkIdList id1)
Topological inquiry to get cells using point. |
vtkPointData |
getPointData()
return pointer to this dataset's point data THIS METHOD IS THREAD SAFE |
double[] |
getScalarRange()
Convenience method to get the range of the scalar data (if there is any scalar data). |
void |
getScalarRange(double[] id0)
Convenience method to get the range of the scalar data (if there is any scalar data). |
vtkDataSet |
getThisDataSet()
|
void |
initialize()
Restore data object to initial state, THIS METHOD IS NOT THREAD SAFE. |
int |
isA(java.lang.String id0)
Return 1 if this class is the same type of (or a subclass of) the named class. |
void |
shallowCopy(vtkDataObject id0)
Shallow and Deep copy. |
void |
squeeze()
Reclaim any extra memory used to store data. |
protected void |
VTKCastInit()
|
Methods inherited from class vtk.vtkObject |
AddObserver, breakOnError, debugOff, debugOn, getDebug, getGlobalWarningDisplay, 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 vtkDataSet()
protected vtkDataSet(int dmy)
Method Detail |
public vtkDataSet getThisDataSet()
public java.lang.String getClassName()
vtkObjectBase
getClassName
in class vtkDataObject
public int isA(java.lang.String id0)
vtkObjectBase
isA
in class vtkDataObject
public void copyStructure(vtkDataSet id0)
public int getNumberOfPoints()
public int getNumberOfCells()
public double[] getPoint(int id0)
public void getPoint(int id0, double[] id1)
public vtkCell getCell(int id0)
public void getCell(int id0, vtkGenericCell id1)
public void getCellBounds(int id0, double[] id1)
public int getCellType(int id0)
public void getCellTypes(vtkCellTypes id0)
public void getCellPoints(int id0, vtkIdList id1)
public void getPointCells(int id0, vtkIdList id1)
public void getCellNeighbors(int id0, vtkIdList id1, vtkIdList id2)
public int findPoint(double id0, double id1, double id2)
public int findPoint(double[] id0)
public int getMTime()
getMTime
in class vtkDataObject
public vtkCellData getCellData()
public vtkPointData getPointData()
public void squeeze()
public void computeBounds()
public double[] getBounds()
public void getBounds(double[] id0)
public double[] getCenter()
public void getCenter(double[] id0)
public double getLength()
public void initialize()
initialize
in class vtkDataObject
public void getScalarRange(double[] id0)
public double[] getScalarRange()
public int getMaxCellSize()
public int getActualMemorySize()
getActualMemorySize
in class vtkDataObject
public int getDataObjectType()
getDataObjectType
in class vtkDataObject
public void shallowCopy(vtkDataObject id0)
shallowCopy
in class vtkDataObject
public void deepCopy(vtkDataObject id0)
deepCopy
in class vtkDataObject
public int checkAttributes()
protected void VTKCastInit()
VTKCastInit
in class vtkDataObject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |