#include <vtkDataObject.h>
Inheritance diagram for vtkDataObject:
vtkDataObject is an general representation of visualization data. It serves to encapsulate instance variables and methods for visualization network execution, as well as representing data consisting of a field (i.e., just an unstructured pile of data). This is to be compared with a vtkDataSet, which is data with geometric and/or topological structure.
vtkDataObjects are used to represent arbitrary repositories of data via the vtkFieldData instance variable. These data must be eventually mapped into a concrete subclass of vtkDataSet before they can actually be displayed.
Definition at line 68 of file vtkDataObject.h.
|
Reimplemented from vtkObject. Reimplemented in vtkCompositeDataSet, vtkDataSet, vtkGenericDataSet, vtkHierarchicalBoxDataSet, vtkHierarchicalDataSet, vtkImageData, vtkMultiBlockDataSet, vtkPiecewiseFunction, vtkPointSet, vtkPolyData, vtkRectilinearGrid, vtkStructuredGrid, vtkStructuredPoints, vtkUniformGrid, vtkUnstructuredGrid, vtkImageCanvasSource2D, and vtkImageStencilData. Definition at line 73 of file vtkDataObject.h. |
|
Definition at line 431 of file vtkDataObject.h. |
|
Possible values for the FIELD_ASSOCIATION information entry. Definition at line 349 of file vtkDataObject.h. |
|
Possible values for the FIELD_OPERATION information entry.
Definition at line 361 of file vtkDataObject.h. |
|
|
|
|
|
Create an object with Debug turned off, modified time initialized to zero, and reference counting on. Reimplemented from vtkObject. Reimplemented in vtkHierarchicalBoxDataSet, vtkImageData, vtkMultiBlockDataSet, vtkPiecewiseFunction, vtkPolyData, vtkRectilinearGrid, vtkStructuredGrid, vtkStructuredPoints, vtkUniformGrid, vtkUnstructuredGrid, vtkImageCanvasSource2D, and vtkImageStencilData. |
|
|
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtkObject. Reimplemented in vtkCompositeDataSet, vtkDataSet, vtkGenericDataSet, vtkHierarchicalBoxDataSet, vtkHierarchicalDataSet, vtkImageData, vtkMultiBlockDataSet, vtkPiecewiseFunction, vtkPointSet, vtkPolyData, vtkRectilinearGrid, vtkStructuredGrid, vtkStructuredPoints, vtkUniformGrid, vtkUnstructuredGrid, vtkImageCanvasSource2D, and vtkImageStencilData. |
|
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtkObject. Reimplemented in vtkCompositeDataSet, vtkDataSet, vtkGenericDataSet, vtkHierarchicalBoxDataSet, vtkHierarchicalDataSet, vtkImageData, vtkMultiBlockDataSet, vtkPiecewiseFunction, vtkPointSet, vtkPolyData, vtkRectilinearGrid, vtkStructuredGrid, vtkStructuredPoints, vtkUniformGrid, vtkUnstructuredGrid, vtkImageCanvasSource2D, and vtkImageStencilData. |
|
|
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes. Reimplemented from vtkObject. Reimplemented in vtkCompositeDataSet, vtkDataSet, vtkGenericDataSet, vtkHierarchicalBoxDataSet, vtkHierarchicalDataSet, vtkImageData, vtkMultiBlockDataSet, vtkPiecewiseFunction, vtkPointSet, vtkPolyData, vtkRectilinearGrid, vtkStructuredGrid, vtkUniformGrid, vtkUnstructuredGrid, vtkImageCanvasSource2D, and vtkImageStencilData. |
|
Set/Get the source object creating this data object. |
|
Set/Get the source object creating this data object. |
|
Set/Get the information object associated with this data object. |
|
Set/Get the information object associated with this data object. |
|
Get/Set the pipeline information object that owns this data object. |
|
Get/Set the pipeline information object that owns this data object. |
|
Get the port currently producing this object. |
|
Data objects are composite objects and need to check each part for MTime. The information object also needs to be considered. Reimplemented from vtkObject. Reimplemented in vtkDataSet, vtkGenericDataSet, vtkPiecewiseFunction, and vtkPointSet. |
|
Restore data object to initial state, Reimplemented in vtkCompositeDataSet, vtkDataSet, vtkHierarchicalDataSet, vtkImageData, vtkMultiBlockDataSet, vtkPiecewiseFunction, vtkPointSet, vtkPolyData, vtkRectilinearGrid, vtkStructuredGrid, vtkUniformGrid, vtkUnstructuredGrid, and vtkImageStencilData. |
|
Release data back to system to conserve memory resource. Used during visualization network execution. Releasing this data does not make down-stream data invalid, so it does not modify the MTime of this data object. |
|
Return flag indicating whether data should be released after use by a filter. |
|
Get the flag indicating the data has been released. |
|
Turn on/off flag to control whether this object's data is released after being used by a filter. |
|
Turn on/off flag to control whether this object's data is released after being used by a filter. |
|
Turn on/off flag to control whether this object's data is released after being used by a filter. |
|
Turn on/off flag to control whether this object's data is released after being used by a filter. |
|
Turn on/off flag to control whether every object releases its data after being used by a filter. |
|
Definition at line 131 of file vtkDataObject.h. |
|
Definition at line 132 of file vtkDataObject.h. |
|
|
|
Assign or retrieve field data to this data object. |
|
Assign or retrieve field data to this data object. |
|
Decrease the reference count (release by another object). This has the same effect as invoking Delete() (i.e., it reduces the reference count by 1). Reimplemented from vtkObject. |
|
Provides opportunity for the data object to insure internal consistency before access. Also causes owning source/filter (if any) to update itself. The Update() method is composed of UpdateInformation(), PropagateUpdateExtent(), TriggerAsynchronousUpdate(), and UpdateData(). |
|
WARNING: INTERNAL METHOD - NOT FOR GENERAL USE. THIS METHOD IS PART OF THE PIPELINE UPDATE FUNCTIONALITY. Update all the "easy to update" information about the object such as the extent which will be used to control the update. This propagates all the way up then back down the pipeline. As a by-product the PipelineMTime is updated. |
|
WARNING: INTERNAL METHOD - NOT FOR GENERAL USE. THIS METHOD IS PART OF THE PIPELINE UPDATE FUNCTIONALITY. The update extent for this object is propagated up the pipeline. This propagation may early terminate based on the PipelineMTime. Reimplemented in vtkImageStencilData. |
|
WARNING: INTERNAL METHOD - NOT FOR GENERAL USE. THIS METHOD IS PART OF THE PIPELINE UPDATE FUNCTIONALITY. Propagate back up the pipeline for ports and trigger the update on the other side of the port to allow for asynchronous parallel processing in the pipeline. This propagation may early terminate based on the PipelineMTime. Reimplemented in vtkImageStencilData. |
|
WARNING: INTERNAL METHOD - NOT FOR GENERAL USE. THIS METHOD IS PART OF THE PIPELINE UPDATE FUNCTIONALITY. Propagate the update back up the pipeline, and perform the actual work of updating on the way down. When the propagate arrives at a port, block and wait for the asynchronous update to finish on the other side. This propagation may early terminate based on the PipelineMTime. Reimplemented in vtkImageStencilData. |
|
Get the estimated size of this data object itself. Should be called after UpdateInformation() and PropagateUpdateExtent() have both been called. Should be overridden in a subclass - otherwise the default is to assume that this data object requires no memory. The size is returned in kilobytes. Reimplemented in vtkImageData. |
|
A generic way of specifying an update extent. Subclasses must decide what a piece is. When the NumberOfPieces is zero, then no data is requested, and the source will not execute. Definition at line 191 of file vtkDataObject.h. Referenced by vtkUnstructuredGrid::SetUpdateExtent(), vtkUniformGrid::SetUpdateExtent(), vtkStructuredGrid::SetUpdateExtent(), vtkRectilinearGrid::SetUpdateExtent(), vtkPolyData::SetUpdateExtent(), vtkImageData::SetUpdateExtent(), and vtkCompositeDataSet::SetUpdateExtent(). |
|
A generic way of specifying an update extent. Subclasses must decide what a piece is. When the NumberOfPieces is zero, then no data is requested, and the source will not execute. Reimplemented in vtkCompositeDataSet, vtkImageData, vtkPolyData, vtkRectilinearGrid, vtkStructuredGrid, vtkUniformGrid, and vtkUnstructuredGrid. Definition at line 194 of file vtkDataObject.h. |
|
Set the update extent for data objects that use 3D extents. Using this method on data objects that set extents as pieces (such as vtkPolyData or vtkUnstructuredGrid) has no real effect. Don't use the set macro to set the update extent since we don't want this object to be modified just due to a change in update extent. When the volume of the extent is zero (0, -1,..), then no data is requested, and the source will not execute. Reimplemented in vtkCompositeDataSet, vtkGenericDataSet, vtkImageData, vtkPolyData, vtkRectilinearGrid, vtkStructuredGrid, vtkUniformGrid, and vtkUnstructuredGrid. |
|
Set the update extent for data objects that use 3D extents. Using this method on data objects that set extents as pieces (such as vtkPolyData or vtkUnstructuredGrid) has no real effect. Don't use the set macro to set the update extent since we don't want this object to be modified just due to a change in update extent. When the volume of the extent is zero (0, -1,..), then no data is requested, and the source will not execute. Reimplemented in vtkCompositeDataSet, vtkGenericDataSet, vtkImageData, vtkPolyData, vtkRectilinearGrid, vtkStructuredGrid, vtkUniformGrid, and vtkUnstructuredGrid. |
|
Set the update extent for data objects that use 3D extents. Using this method on data objects that set extents as pieces (such as vtkPolyData or vtkUnstructuredGrid) has no real effect. Don't use the set macro to set the update extent since we don't want this object to be modified just due to a change in update extent. When the volume of the extent is zero (0, -1,..), then no data is requested, and the source will not execute. Reimplemented in vtkCompositeDataSet, vtkPolyData, and vtkUnstructuredGrid. |
|
Set the update extent for data objects that use 3D extents. Using this method on data objects that set extents as pieces (such as vtkPolyData or vtkUnstructuredGrid) has no real effect. Don't use the set macro to set the update extent since we don't want this object to be modified just due to a change in update extent. When the volume of the extent is zero (0, -1,..), then no data is requested, and the source will not execute. Reimplemented in vtkCompositeDataSet, vtkPolyData, and vtkUnstructuredGrid. |
|
Set the update extent for data objects that use 3D extents. Using this method on data objects that set extents as pieces (such as vtkPolyData or vtkUnstructuredGrid) has no real effect. Don't use the set macro to set the update extent since we don't want this object to be modified just due to a change in update extent. When the volume of the extent is zero (0, -1,..), then no data is requested, and the source will not execute. Reimplemented in vtkCompositeDataSet, vtkPolyData, and vtkUnstructuredGrid. |
|
Return class name of data type. This is one of VTK_STRUCTURED_GRID, VTK_STRUCTURED_POINTS, VTK_UNSTRUCTURED_GRID, VTK_POLY_DATA, or VTK_RECTILINEAR_GRID (see vtkSetGet.h for definitions). THIS METHOD IS THREAD SAFE Reimplemented in vtkCompositeDataSet, vtkDataSet, vtkGenericDataSet, vtkHierarchicalBoxDataSet, vtkHierarchicalDataSet, vtkImageData, vtkMultiBlockDataSet, vtkPiecewiseFunction, vtkPolyData, vtkRectilinearGrid, vtkStructuredGrid, vtkStructuredPoints, vtkUniformGrid, vtkUnstructuredGrid, and vtkImageStencilData. Definition at line 218 of file vtkDataObject.h. |
|
Used by Threaded ports to determine if they should initiate an asynchronous update (still in development). |
|
If the whole input extent is required to generate the requested output extent, this method can be called to set the input update extent to the whole input extent. This method assumes that the whole extent is known (that UpdateInformation has been called) |
|
Get the cumulative modified time of everything upstream. Does not include the MTime of this object. |
|
Return the actual size of the data in kilobytes. This number is valid only after the pipeline has updated. The memory size returned is guaranteed to be greater than or equal to the memory required to represent the data (e.g., extra space in arrays, etc. are not included in the return value). Reimplemented in vtkDataSet, vtkGenericDataSet, vtkImageData, vtkPointSet, vtkPolyData, vtkRectilinearGrid, vtkStructuredGrid, vtkUniformGrid, and vtkUnstructuredGrid. |
|
Copy the generic information (WholeExtent ...) |
|
By default, there is no type specific information Reimplemented in vtkImageData. Definition at line 246 of file vtkDataObject.h. |
|
Set / Get the update piece and the update number of pieces. Similar to update extent in 3D. |
|
Set / Get the update piece and the update number of pieces. Similar to update extent in 3D. |
|
Set / Get the update piece and the update number of pieces. Similar to update extent in 3D. |
|
Set / Get the update piece and the update number of pieces. Similar to update extent in 3D. |
|
Set / Get the update ghost level and the update number of ghost levels. Similar to update extent in 3D. |
|
Set / Get the update ghost level and the update number of ghost levels. Similar to update extent in 3D. |
|
This request flag indicates whether the requester can handle more data than requested. Right now it is used in vtkImageData. Image filters can return more data than requested. The the consumer cannot handle this (i.e. DataSetToDataSetFitler) the image will crop itself. This functionality used to be in ImageToStructuredPoints. |
|
This request flag indicates whether the requester can handle more data than requested. Right now it is used in vtkImageData. Image filters can return more data than requested. The the consumer cannot handle this (i.e. DataSetToDataSetFitler) the image will crop itself. This functionality used to be in ImageToStructuredPoints. |
|
This request flag indicates whether the requester can handle more data than requested. Right now it is used in vtkImageData. Image filters can return more data than requested. The the consumer cannot handle this (i.e. DataSetToDataSetFitler) the image will crop itself. This functionality used to be in ImageToStructuredPoints. |
|
This request flag indicates whether the requester can handle more data than requested. Right now it is used in vtkImageData. Image filters can return more data than requested. The the consumer cannot handle this (i.e. DataSetToDataSetFitler) the image will crop itself. This functionality used to be in ImageToStructuredPoints. |
|
Set/Get the whole extent of this data object. The whole extent is meta data for structured data sets. It gets set by the source during the update information call. |
|
Set/Get the whole extent of this data object. The whole extent is meta data for structured data sets. It gets set by the source during the update information call. |
|
Set/Get the whole extent of this data object. The whole extent is meta data for structured data sets. It gets set by the source during the update information call. |
|
Set/Get the whole extent of this data object. The whole extent is meta data for structured data sets. It gets set by the source during the update information call. |
|
Set/Get the whole extent of this data object. The whole extent is meta data for structured data sets. It gets set by the source during the update information call. |
|
Set/Get the whole bounding box of this data object. The whole whole bounding box is meta data for data sets It gets set by the source during the update information call. |
|
Set/Get the whole bounding box of this data object. The whole whole bounding box is meta data for data sets It gets set by the source during the update information call. |
|
Set/Get the whole bounding box of this data object. The whole whole bounding box is meta data for data sets It gets set by the source during the update information call. |
|
Set/Get the whole bounding box of this data object. The whole whole bounding box is meta data for data sets It gets set by the source during the update information call. |
|
Set/Get the whole bounding box of this data object. The whole whole bounding box is meta data for data sets It gets set by the source during the update information call. |
|
Set/Get the maximum number of pieces that can be requested. The maximum number of pieces is meta data for unstructured data sets. It gets set by the source during the update information call. A value of -1 indicates that there is no maximum. A value of |
|
Set/Get the maximum number of pieces that can be requested. The maximum number of pieces is meta data for unstructured data sets. It gets set by the source during the update information call. A value of -1 indicates that there is no maximum. A value of |
|
This method is called by the source when it executes to generate data. It is sort of the opposite of ReleaseData. It sets the DataReleased flag to 0, and sets a new UpdateTime. |
|
make the output data ready for new data to be inserted. For most objects we just call Initialize. But for vtkImageData we leave the old data in case the memory can be reused. Reimplemented in vtkImageData. Definition at line 319 of file vtkDataObject.h. |
|
Shallow and Deep copy. These copy the data, but not any of the pipeline connections. Reimplemented in vtkDataSet, vtkHierarchicalBoxDataSet, vtkHierarchicalDataSet, vtkImageData, vtkPiecewiseFunction, vtkPointSet, vtkPolyData, vtkRectilinearGrid, vtkStructuredGrid, vtkUniformGrid, vtkUnstructuredGrid, and vtkImageStencilData. |
|
Shallow and Deep copy. These copy the data, but not any of the pipeline connections. Reimplemented in vtkDataSet, vtkHierarchicalBoxDataSet, vtkHierarchicalDataSet, vtkImageData, vtkPiecewiseFunction, vtkPointSet, vtkPolyData, vtkRectilinearGrid, vtkStructuredGrid, vtkUniformGrid, vtkUnstructuredGrid, and vtkImageStencilData. |
|
An object that will translate pieces into structured extents. |
|
An object that will translate pieces into structured extents. |
|
The ExtentType will be left as VTK_PIECES_EXTENT for data objects such as vtkPolyData and vtkUnstructuredGrid. The ExtentType will be changed to VTK_3D_EXTENT for data objects with 3D structure such as vtkImageData (and its subclass vtkStructuredPoints), vtkRectilinearGrid, and vtkStructuredGrid. The default is the have an extent in pieces, with only one piece (no streaming possible). Reimplemented in vtkImageData, vtkRectilinearGrid, vtkStructuredGrid, vtkUniformGrid, and vtkImageStencilData. Definition at line 340 of file vtkDataObject.h. |
|
This method crops the data object (if necesary) so that the extent matches the update extent. Reimplemented in vtkImageData, vtkPolyData, vtkRectilinearGrid, and vtkStructuredGrid. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented in vtkImageData. |
|
|
|
|
|
Reimplemented from vtkObjectBase. Reimplemented in vtkPointSet. |
|
Reimplemented from vtkObjectBase. Reimplemented in vtkPointSet. |
|
Reimplemented from vtkObjectBase. |
|
|
|
Definition at line 396 of file vtkDataObject.h. |
|
Definition at line 399 of file vtkDataObject.h. |
|
Definition at line 402 of file vtkDataObject.h. |
|
Definition at line 408 of file vtkDataObject.h. |
|
Definition at line 419 of file vtkDataObject.h. |
|
Definition at line 422 of file vtkDataObject.h. |
|
Definition at line 426 of file vtkDataObject.h. |