|
||||||||||
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 vtk.vtkImageData
vtkImageData - topologically and geometrically regular array of data. vtkImageData is a data object that is a concrete implementation of vtkDataSet. vtkImageData represents a geometric structure that is a topological and geometrical regular array of points. Examples include volumes (voxel data) and pixmaps. JavaBean wrapper for vtkImageData object.
Field Summary | |
protected java.beans.PropertyChangeSupport |
changes
|
Fields inherited from class vtk.vtkObjectBase |
vtkId |
Constructor Summary | |
|
vtkImageData()
|
protected |
vtkImageData(int dmy)
|
Method Summary | |
void |
allocateScalars()
Allocate the vtkScalars object associated with this object. |
void |
computeBounds()
Standard vtkDataSet API methods. |
int |
computeCellId(int[] id0)
Given a location in structured coordinates (i-j-k), return the cell id. |
int |
computePointId(int[] id0)
Given a location in structured coordinates (i-j-k), return the point id. |
int |
computeStructuredCoordinates(double[] id0,
int[] id1,
double[] id2)
Convenience function computes the structured coordinates for a point x[3]. |
void |
copyAndCastFrom(vtkImageData id0,
int[] id1)
This method is passed a input and output region, and executes the filter algorithm to fill the output from the input. |
void |
copyAndCastFrom(vtkImageData id0,
int id1,
int id2,
int id3,
int id4,
int id5,
int id6)
Reallocates and copies to set the Extent to the UpdateExtent. |
void |
copyStructure(vtkDataSet id0)
Copy the geometric and topological structure of an input image data object. |
void |
copyTypeSpecificInformation(vtkDataObject id0)
By default, there is no type specific information |
void |
crop()
Reallocates and copies to set the Extent to the UpdateExtent. |
void |
deepCopy(vtkDataObject id0)
Shallow and Deep copy. |
int |
findPoint(double[] id0)
Standard vtkDataSet API methods. |
int |
findPoint(double id0,
double id1,
double id2)
Standard vtkDataSet API methods. |
int |
getActualMemorySize()
Return the actual size of the data in kilobytes. |
void |
getArrayIncrements(vtkDataArray id0,
int[] id1)
Since various arrays have different number of components, the will have different increments. |
vtkCell |
getCell(int id0)
Standard vtkDataSet API methods. |
void |
getCell(int id0,
vtkGenericCell id1)
Standard vtkDataSet API methods. |
void |
getCellBounds(int id0,
double[] id1)
Standard vtkDataSet API methods. |
void |
getCellPoints(int id0,
vtkIdList id1)
Standard vtkDataSet API methods. |
int |
getCellType(int id0)
Standard vtkDataSet API methods. |
java.lang.String |
getClassName()
Return the class name as a string. |
int |
getDataDimension()
Return the dimensionality of the data. |
int |
getDataObjectType()
Return what type of dataset this is. |
int[] |
getDimensions()
Get dimensions of this structured points dataset. |
void |
getDimensions(int[] id0)
Get dimensions of this structured points dataset. |
int |
getEstimatedMemorySize()
Get the estimated size of this data object itself. |
int[] |
getExtent()
Different ways to set the extent of the data array. |
int |
getExtentType()
The extent type is a 3D extent |
int[] |
getIncrements()
Different ways to get the increments for moving around the data. |
void |
getIncrements(int[] id0)
Different ways to get the increments for moving around the data. |
int |
getMaxCellSize()
Standard vtkDataSet API methods. |
int |
getNumberOfCells()
Standard vtkDataSet API methods. |
int |
getNumberOfPoints()
Standard vtkDataSet API methods. |
int |
getNumberOfScalarComponents()
Set/Get the number of scalar components for points. |
double[] |
getOrigin()
Set the origin of the data. |
double[] |
getPoint(int id0)
Standard vtkDataSet API methods. |
void |
getPoint(int id0,
double[] id1)
Standard vtkDataSet API methods. |
void |
getPointCells(int id0,
vtkIdList id1)
Standard vtkDataSet API methods. |
void |
getPointGradient(int id0,
int id1,
int id2,
vtkDataArray id3,
double[] id4)
Given structured coordinates (i,j,k) for a point in a structured point dataset, compute the gradient vector from the scalar data at that point. |
double |
getScalarComponentAsDouble(int id0,
int id1,
int id2,
int id3)
For access to data from tcl |
int |
getScalarSize()
Set the size of the scalar type in bytes. |
int |
getScalarType()
Set/Get the data scalar type (i.e VTK_DOUBLE). |
java.lang.String |
getScalarTypeAsString()
Set/Get the data scalar type (i.e VTK_DOUBLE). |
double |
getScalarTypeMax()
These returns the minimum and maximum values the ScalarType can hold without overflowing. |
double |
getScalarTypeMin()
These returns the minimum and maximum values the ScalarType can hold without overflowing. |
double[] |
getSpacing()
Set the spacing (width,height,length) of the cubical cells that compose the data set. |
vtkImageData |
getThisImageData()
|
void |
getVoxelGradient(int id0,
int id1,
int id2,
vtkDataArray id3,
vtkDataArray id4)
Given structured coordinates (i,j,k) for a voxel cell, compute the eight gradient values for the voxel corners. |
int |
isA(java.lang.String id0)
Return 1 if this class is the same type of (or a subclass of) the named class. |
void |
prepareForNewData()
make the output data ready for new data to be inserted. |
void |
setAxisUpdateExtent(int id0,
int id1,
int id2)
Set / Get the extent on just one axis |
void |
setDimensions(int[] id0)
Set dimensions of structured points dataset. |
void |
setDimensions(int id0,
int id1,
int id2)
Set dimensions of structured points dataset. |
void |
setExtent(int[] id0)
Different ways to set the extent of the data array. |
void |
setExtent(int id0,
int id1,
int id2,
int id3,
int id4,
int id5)
Different ways to set the extent of the data array. |
void |
setNumberOfScalarComponents(int id0)
Set/Get the number of scalar components for points. |
void |
setOrigin(double[] id0)
Set the origin of the data. |
void |
setOrigin(double id0,
double id1,
double id2)
Set the origin of the data. |
void |
setScalarComponentFromDouble(int id0,
int id1,
int id2,
int id3,
double id4)
For access to data from tcl |
void |
setScalarType(int id0)
Set/Get the data scalar type (i.e VTK_DOUBLE). |
void |
setScalarTypeToChar()
Set/Get the data scalar type (i.e VTK_DOUBLE). |
void |
setScalarTypeToDouble()
Set/Get the data scalar type (i.e VTK_DOUBLE). |
void |
setScalarTypeToFloat()
Set/Get the data scalar type (i.e VTK_DOUBLE). |
void |
setScalarTypeToInt()
Set/Get the data scalar type (i.e VTK_DOUBLE). |
void |
setScalarTypeToLong()
Set/Get the data scalar type (i.e VTK_DOUBLE). |
void |
setScalarTypeToShort()
Set/Get the data scalar type (i.e VTK_DOUBLE). |
void |
setScalarTypeToUnsignedChar()
Set/Get the data scalar type (i.e VTK_DOUBLE). |
void |
setScalarTypeToUnsignedInt()
Set/Get the data scalar type (i.e VTK_DOUBLE). |
void |
setScalarTypeToUnsignedLong()
Set/Get the data scalar type (i.e VTK_DOUBLE). |
void |
setScalarTypeToUnsignedShort()
Set/Get the data scalar type (i.e VTK_DOUBLE). |
void |
setSpacing(double[] id0)
Set the spacing (width,height,length) of the cubical cells that compose the data set. |
void |
setSpacing(double id0,
double id1,
double id2)
Set the spacing (width,height,length) of the cubical cells that compose the data set. |
void |
setUpdateExtent(int[] id0)
Call superclass method to avoid hiding |
void |
setUpdateExtent(int id0,
int id1)
Call superclass method to avoid hiding |
void |
setUpdateExtent(int id0,
int id1,
int id2)
Required for the lowest common denominator for setting the UpdateExtent (i.e. vtkDataSetToStructuredPointsFilter). |
void |
setUpdateExtent(int id0,
int id1,
int id2,
int id3,
int id4,
int id5)
Call superclass method to avoid hiding |
void |
shallowCopy(vtkDataObject id0)
Shallow and Deep copy. |
void |
updateData()
This update method will supply the ghost level arrays if they are requested. |
protected void |
VTKCastInit()
|
void |
VTKInit()
|
Methods inherited from class vtk.vtkDataSet |
checkAttributes, getBounds, getBounds, getCellData, getCellNeighbors, getCellTypes, getCenter, getCenter, getLength, getMTime, getPointData, getScalarRange, getScalarRange, getThisDataSet, initialize, squeeze |
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 vtkImageData()
protected vtkImageData(int dmy)
Method Detail |
public vtkImageData getThisImageData()
public java.lang.String getClassName()
vtkObjectBase
getClassName
in class vtkDataSet
public int isA(java.lang.String id0)
vtkObjectBase
isA
in class vtkDataSet
public void copyStructure(vtkDataSet id0)
copyStructure
in class vtkDataSet
public int getDataObjectType()
getDataObjectType
in class vtkDataSet
public void updateData()
updateData
in class vtkDataObject
public int getNumberOfCells()
getNumberOfCells
in class vtkDataSet
public int getNumberOfPoints()
getNumberOfPoints
in class vtkDataSet
public double[] getPoint(int id0)
getPoint
in class vtkDataSet
public void getPoint(int id0, double[] id1)
getPoint
in class vtkDataSet
public vtkCell getCell(int id0)
getCell
in class vtkDataSet
public void getCell(int id0, vtkGenericCell id1)
getCell
in class vtkDataSet
public void getCellBounds(int id0, double[] id1)
getCellBounds
in class vtkDataSet
public int findPoint(double id0, double id1, double id2)
findPoint
in class vtkDataSet
public int findPoint(double[] id0)
findPoint
in class vtkDataSet
public int getCellType(int id0)
getCellType
in class vtkDataSet
public void getCellPoints(int id0, vtkIdList id1)
getCellPoints
in class vtkDataSet
public void getPointCells(int id0, vtkIdList id1)
getPointCells
in class vtkDataSet
public void computeBounds()
computeBounds
in class vtkDataSet
public int getMaxCellSize()
getMaxCellSize
in class vtkDataSet
public void setDimensions(int id0, int id1, int id2)
public void setDimensions(int[] id0)
public int[] getDimensions()
public void getDimensions(int[] id0)
public int computeStructuredCoordinates(double[] id0, int[] id1, double[] id2)
public void getVoxelGradient(int id0, int id1, int id2, vtkDataArray id3, vtkDataArray id4)
public void getPointGradient(int id0, int id1, int id2, vtkDataArray id3, double[] id4)
public int getDataDimension()
public int computePointId(int[] id0)
public int computeCellId(int[] id0)
public void setAxisUpdateExtent(int id0, int id1, int id2)
public void setUpdateExtent(int id0, int id1, int id2)
setUpdateExtent
in class vtkDataObject
public void setUpdateExtent(int id0, int id1)
setUpdateExtent
in class vtkDataObject
public void setUpdateExtent(int id0, int id1, int id2, int id3, int id4, int id5)
setUpdateExtent
in class vtkDataObject
public void setUpdateExtent(int[] id0)
setUpdateExtent
in class vtkDataObject
public void setExtent(int[] id0)
public void setExtent(int id0, int id1, int id2, int id3, int id4, int id5)
public int[] getExtent()
public int getEstimatedMemorySize()
getEstimatedMemorySize
in class vtkDataObject
public double getScalarTypeMin()
public double getScalarTypeMax()
public int getScalarSize()
public int[] getIncrements()
public void getIncrements(int[] id0)
public double getScalarComponentAsDouble(int id0, int id1, int id2, int id3)
public void setScalarComponentFromDouble(int id0, int id1, int id2, int id3, double id4)
public void allocateScalars()
public void copyAndCastFrom(vtkImageData id0, int[] id1)
public void copyAndCastFrom(vtkImageData id0, int id1, int id2, int id3, int id4, int id5, int id6)
public void crop()
public int getActualMemorySize()
getActualMemorySize
in class vtkDataSet
public void setSpacing(double id0, double id1, double id2)
public void setSpacing(double[] id0)
public double[] getSpacing()
public void setOrigin(double id0, double id1, double id2)
public void setOrigin(double[] id0)
public double[] getOrigin()
public void setScalarTypeToFloat()
public void setScalarTypeToDouble()
public void setScalarTypeToInt()
public void setScalarTypeToUnsignedInt()
public void setScalarTypeToLong()
public void setScalarTypeToUnsignedLong()
public void setScalarTypeToShort()
public void setScalarTypeToUnsignedShort()
public void setScalarTypeToUnsignedChar()
public void setScalarTypeToChar()
public void setScalarType(int id0)
public int getScalarType()
public java.lang.String getScalarTypeAsString()
public void setNumberOfScalarComponents(int id0)
public int getNumberOfScalarComponents()
public void copyTypeSpecificInformation(vtkDataObject id0)
vtkDataObject
copyTypeSpecificInformation
in class vtkDataObject
public void prepareForNewData()
prepareForNewData
in class vtkDataObject
public void shallowCopy(vtkDataObject id0)
shallowCopy
in class vtkDataSet
public void deepCopy(vtkDataObject id0)
deepCopy
in class vtkDataSet
public void getArrayIncrements(vtkDataArray id0, int[] id1)
public int getExtentType()
getExtentType
in class vtkDataObject
public void VTKInit()
VTKInit
in class vtkDataObject
protected void VTKCastInit()
VTKCastInit
in class vtkDataSet
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |