VTK
|
general representation of visualization data More...
#include <vtkDataObject.h>
Public Types | |
typedef vtkObject | Superclass |
enum | FieldAssociations { FIELD_ASSOCIATION_POINTS, FIELD_ASSOCIATION_CELLS, FIELD_ASSOCIATION_NONE, FIELD_ASSOCIATION_POINTS_THEN_CELLS, FIELD_ASSOCIATION_VERTICES, FIELD_ASSOCIATION_EDGES, FIELD_ASSOCIATION_ROWS, NUMBER_OF_ASSOCIATIONS } |
enum | AttributeTypes { POINT, CELL, FIELD, POINT_THEN_CELL, VERTEX, EDGE, ROW, NUMBER_OF_ATTRIBUTE_TYPES } |
enum | FieldOperations { FIELD_OPERATION_PRESERVED, FIELD_OPERATION_REINTERPOLATED, FIELD_OPERATION_MODIFIED, FIELD_OPERATION_REMOVED } |
![]() | |
typedef vtkObjectBase | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual vtkAlgorithmOutput * | GetProducerPort () |
unsigned long int | GetMTime () |
virtual void | Initialize () |
void | ReleaseData () |
int | ShouldIReleaseData () |
virtual void | Register (vtkObjectBase *o) |
virtual void | UnRegister (vtkObjectBase *o) |
virtual void | Update () |
virtual void | UpdateInformation () |
virtual void | PropagateUpdateExtent () |
virtual void | TriggerAsynchronousUpdate () |
virtual void | UpdateData () |
virtual unsigned long | GetEstimatedMemorySize () |
virtual int | GetDataObjectType () |
unsigned long | GetUpdateTime () |
void | SetUpdateExtentToWholeExtent () |
unsigned long | GetPipelineMTime () |
virtual unsigned long | GetActualMemorySize () |
void | CopyInformation (vtkDataObject *data) |
virtual void | CopyInformationFromPipeline (vtkInformation *request) |
void | DataHasBeenGenerated () |
virtual void | PrepareForNewData () |
virtual int | GetExtentType () |
virtual void | Crop () |
virtual vtkDataSetAttributes * | GetAttributes (int type) |
virtual vtkFieldData * | GetAttributesAsFieldData (int type) |
virtual int | GetAttributeTypeForArray (vtkAbstractArray *arr) |
virtual vtkIdType | GetNumberOfElements (int type) |
virtual vtkSource * | GetSource () |
void | SetSource (vtkSource *s) |
virtual vtkInformation * | GetInformation () |
virtual void | SetInformation (vtkInformation *) |
virtual vtkInformation * | GetPipelineInformation () |
virtual void | SetPipelineInformation (vtkInformation *) |
virtual int | GetDataReleased () |
void | SetReleaseDataFlag (int) |
int | GetReleaseDataFlag () |
virtual void | ReleaseDataFlagOn () |
virtual void | ReleaseDataFlagOff () |
virtual void | SetFieldData (vtkFieldData *) |
virtual vtkFieldData * | GetFieldData () |
virtual void | SetUpdateExtent (int piece, int numPieces, int ghostLevel) |
void | SetUpdateExtent (int piece, int numPieces) |
virtual void | SetUpdateExtent (int x0, int x1, int y0, int y1, int z0, int z1) |
virtual void | SetUpdateExtent (int extent[6]) |
virtual int * | GetUpdateExtent () |
virtual void | GetUpdateExtent (int &x0, int &x1, int &y0, int &y1, int &z0, int &z1) |
virtual void | GetUpdateExtent (int extent[6]) |
virtual void | CopyTypeSpecificInformation (vtkDataObject *data) |
void | SetUpdatePiece (int piece) |
void | SetUpdateNumberOfPieces (int num) |
virtual int | GetUpdatePiece () |
virtual int | GetUpdateNumberOfPieces () |
void | SetUpdateGhostLevel (int level) |
virtual int | GetUpdateGhostLevel () |
virtual void | SetRequestExactExtent (int flag) |
virtual int | GetRequestExactExtent () |
virtual void | RequestExactExtentOn () |
virtual void | RequestExactExtentOff () |
virtual void | SetWholeExtent (int x0, int x1, int y0, int y1, int z0, int z1) |
virtual void | SetWholeExtent (int extent[6]) |
virtual int * | GetWholeExtent () |
virtual void | GetWholeExtent (int &x0, int &x1, int &y0, int &y1, int &z0, int &z1) |
virtual void | GetWholeExtent (int extent[6]) |
virtual void | SetWholeBoundingBox (double x0, double x1, double y0, double y1, double z0, double z1) |
virtual void | SetWholeBoundingBox (double bb[6]) |
virtual double * | GetWholeBoundingBox () |
virtual void | GetWholeBoundingBox (double &x0, double &x1, double &y0, double &y1, double &z0, double &z1) |
virtual void | GetWholeBoundingBox (double extent[6]) |
virtual void | SetMaximumNumberOfPieces (int) |
virtual int | GetMaximumNumberOfPieces () |
virtual void | CopyInformationToPipeline (vtkInformation *request, vtkInformation *input, vtkInformation *output, int forceCopy) |
void | CopyInformationToPipeline (vtkInformation *request, vtkInformation *input) |
virtual void | ShallowCopy (vtkDataObject *src) |
virtual void | DeepCopy (vtkDataObject *src) |
void | SetExtentTranslator (vtkExtentTranslator *translator) |
vtkExtentTranslator * | GetExtentTranslator () |
![]() | |
virtual void | DebugOn () |
virtual void | DebugOff () |
unsigned char | GetDebug () |
void | SetDebug (unsigned char debugFlag) |
virtual void | Modified () |
unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
vtkCommand * | GetCommand (unsigned long tag) |
void | RemoveObserver (vtkCommand *) |
void | RemoveObservers (unsigned long event, vtkCommand *) |
void | RemoveObservers (const char *event, vtkCommand *) |
int | HasObserver (unsigned long event, vtkCommand *) |
int | HasObserver (const char *event, vtkCommand *) |
void | RemoveObserver (unsigned long tag) |
void | RemoveObservers (unsigned long event) |
void | RemoveObservers (const char *event) |
void | RemoveAllObservers () |
int | HasObserver (unsigned long event) |
int | HasObserver (const char *event) |
template<class U , class T > | |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
template<class U , class T > | |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
int | InvokeEvent (unsigned long event, void *callData) |
int | InvokeEvent (const char *event, void *callData) |
int | InvokeEvent (unsigned long event) |
int | InvokeEvent (const char *event) |
![]() | |
const char * | GetClassName () const |
virtual void | Delete () |
virtual void | FastDelete () |
void | Print (ostream &os) |
void | SetReferenceCount (int) |
void | PrintRevisions (ostream &os) |
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
int | GetReferenceCount () |
Protected Types | |
typedef vtkStreamingDemandDrivenPipeline | SDDP |
Protected Member Functions | |
vtkDataObject () | |
~vtkDataObject () | |
vtkExecutive * | GetExecutive () |
int | GetPortNumber () |
virtual void | ReportReferences (vtkGarbageCollector *) |
vtkStreamingDemandDrivenPipeline * | TrySDDP (const char *method) |
![]() | |
vtkObject () | |
virtual | ~vtkObject () |
virtual void | RegisterInternal (vtkObjectBase *, int check) |
virtual void | UnRegisterInternal (vtkObjectBase *, int check) |
void | InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL) |
void | InternalReleaseFocus () |
![]() | |
vtkObjectBase () | |
virtual | ~vtkObjectBase () |
virtual void | CollectRevisions (ostream &os) |
vtkObjectBase (const vtkObjectBase &) | |
void | operator= (const vtkObjectBase &) |
Protected Attributes | |
vtkFieldData * | FieldData |
vtkSource * | Source |
int | DataReleased |
vtkTimeStamp | UpdateTime |
vtkInformation * | Information |
vtkInformation * | PipelineInformation |
![]() | |
unsigned char | Debug |
vtkTimeStamp | MTime |
vtkSubjectHelper * | SubjectHelper |
![]() | |
int | ReferenceCount |
vtkWeakPointerBase ** | WeakPointers |
Static Protected Attributes | |
static const char | AssociationNames [NUMBER_OF_ASSOCIATIONS][55] |
Friends | |
class | vtkStreamingDemandDrivenPipelineToDataObjectFriendship |
static void | SetGlobalReleaseDataFlag (int val) |
static int | GetGlobalReleaseDataFlag () |
void | GlobalReleaseDataFlagOn () |
void | GlobalReleaseDataFlagOff () |
general representation of visualization data
helper class to get VTK data object types as string and instantiate them
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.
vtkDataObjectTypes is a helper class that supports conversion between integer types defined in vtkType.h and string names as well as creation of data objects from either integer or string types. This class has to be updated every time a new data type is added to VTK.
Definition at line 70 of file vtkDataObject.h.
typedef vtkObject vtkDataObject::Superclass |
Definition at line 75 of file vtkDataObject.h.
|
protected |
Definition at line 581 of file vtkDataObject.h.
Possible values for the FIELD_ASSOCIATION information entry.
Definition at line 432 of file vtkDataObject.h.
Possible attribute types. POINT_THEN_CELL is provided for consistency with FieldAssociations.
Enumerator | |
---|---|
POINT | |
CELL | |
FIELD | |
POINT_THEN_CELL | |
VERTEX | |
EDGE | |
ROW | |
NUMBER_OF_ATTRIBUTE_TYPES |
Definition at line 450 of file vtkDataObject.h.
Possible values for the FIELD_OPERATION information entry.
Enumerator | |
---|---|
FIELD_OPERATION_PRESERVED | |
FIELD_OPERATION_REINTERPOLATED | |
FIELD_OPERATION_MODIFIED | |
FIELD_OPERATION_REMOVED |
Definition at line 492 of file vtkDataObject.h.
|
protected |
|
protected |
|
static |
|
virtual |
Reimplemented from vtkObject.
Reimplemented in vtkGraph, vtkHyperOctree, vtkReebGraph, vtkPolyData, vtkUnstructuredGrid, vtkGenericDataSet, vtkTable, vtkStructuredGrid, vtkTree, vtkDataSet, vtkDirectedAcyclicGraph, vtkRectilinearGrid, vtkHierarchicalBoxDataSet, vtkUndirectedGraph, vtkArrayData, vtkMultiBlockDataSet, vtkMutableDirectedGraph, vtkAnnotation, vtkDirectedGraph, vtkImageData, vtkMutableUndirectedGraph, vtkBSPCuts, vtkCompositeDataSet, vtkAnnotationLayers, vtkPointSet, vtkStructuredPoints, vtkUniformGrid, and vtkTemporalDataSet.
|
static |
|
virtual |
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 vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkObject.
Reimplemented in vtkGraph, vtkHyperOctree, vtkReebGraph, vtkPolyData, vtkUnstructuredGrid, vtkGenericDataSet, vtkTable, vtkStructuredGrid, vtkTree, vtkDataSet, vtkDirectedAcyclicGraph, vtkRectilinearGrid, vtkHierarchicalBoxDataSet, vtkUndirectedGraph, vtkArrayData, vtkMultiBlockDataSet, vtkMutableDirectedGraph, vtkAnnotation, vtkDirectedGraph, vtkImageData, vtkMutableUndirectedGraph, vtkBSPCuts, vtkCompositeDataSet, vtkAnnotationLayers, vtkPointSet, vtkStructuredPoints, vtkUniformGrid, and vtkTemporalDataSet.
|
static |
|
virtual |
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 vtkGraph, vtkHyperOctree, vtkReebGraph, vtkPolyData, vtkUnstructuredGrid, vtkGenericDataSet, vtkTable, vtkStructuredGrid, vtkTree, vtkDataSet, vtkDirectedAcyclicGraph, vtkRectilinearGrid, vtkHierarchicalBoxDataSet, vtkUndirectedGraph, vtkMultiBlockDataSet, vtkMutableDirectedGraph, vtkDirectedGraph, vtkImageData, vtkMutableUndirectedGraph, vtkPointSet, vtkUniformGrid, and vtkTemporalDataSet.
|
virtual |
Set/Get the source object creating this data object.
void vtkDataObject::SetSource | ( | vtkSource * | s | ) |
Set/Get the source object creating this data object.
|
virtual |
Set/Get the information object associated with this data object.
|
virtual |
Set/Get the information object associated with this data object.
|
virtual |
Get/Set the pipeline information object that owns this data object.
|
virtual |
Get/Set the pipeline information object that owns this data object.
|
virtual |
Get the port currently producing this object.
Reimplemented in vtkCompositeDataSet.
|
virtual |
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 vtkGraph, vtkDataSet, vtkGenericDataSet, and vtkPointSet.
|
virtual |
Restore data object to initial state,
Reimplemented in vtkPolyData, vtkHyperOctree, vtkGraph, vtkDataSet, vtkTable, vtkUnstructuredGrid, vtkBSPCuts, vtkCompositeDataSet, vtkImageData, vtkStructuredGrid, vtkAnnotation, vtkAnnotationLayers, vtkUniformGrid, vtkRectilinearGrid, and vtkPointSet.
void vtkDataObject::ReleaseData | ( | ) |
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.
int vtkDataObject::ShouldIReleaseData | ( | ) |
Return flag indicating whether data should be released after use by a filter.
|
virtual |
Get the flag indicating the data has been released.
void vtkDataObject::SetReleaseDataFlag | ( | int | ) |
Turn on/off flag to control whether this object's data is released after being used by a filter.
int vtkDataObject::GetReleaseDataFlag | ( | ) |
Turn on/off flag to control whether this object's data is released after being used by a filter.
|
virtual |
Turn on/off flag to control whether this object's data is released after being used by a filter.
|
virtual |
Turn on/off flag to control whether this object's data is released after being used by a filter.
|
static |
Turn on/off flag to control whether every object releases its data after being used by a filter.
|
inline |
Turn on/off flag to control whether every object releases its data after being used by a filter.
Definition at line 133 of file vtkDataObject.h.
|
inline |
Turn on/off flag to control whether every object releases its data after being used by a filter.
Definition at line 134 of file vtkDataObject.h.
|
static |
Turn on/off flag to control whether every object releases its data after being used by a filter.
|
virtual |
Assign or retrieve a general field data to this data object.
|
virtual |
Assign or retrieve a general field data to this data object.
|
virtual |
Increase the reference count (mark as used by another object).
Reimplemented from vtkObjectBase.
|
virtual |
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 vtkObjectBase.
|
virtual |
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().
|
virtual |
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.
Reimplemented in vtkImageData.
|
virtual |
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.
|
virtual |
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.
|
virtual |
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.
|
virtual |
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.
|
virtual |
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.
|
inline |
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 195 of file vtkDataObject.h.
|
virtual |
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.
|
virtual |
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.
|
virtual |
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 vtkPolyData, and vtkUnstructuredGrid.
|
virtual |
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 vtkPolyData, and vtkUnstructuredGrid.
|
virtual |
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 vtkPolyData, and vtkUnstructuredGrid.
|
inlinevirtual |
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 vtkGraph, vtkDataSet, vtkGenericDataSet, vtkHyperOctree, vtkPolyData, vtkUnstructuredGrid, vtkTable, vtkArrayData, vtkStructuredGrid, vtkTree, vtkHierarchicalBoxDataSet, vtkDirectedAcyclicGraph, vtkRectilinearGrid, vtkUndirectedGraph, vtkMultiBlockDataSet, vtkImageData, vtkDirectedGraph, vtkCompositeDataSet, vtkUniformGrid, vtkStructuredPoints, and vtkTemporalDataSet.
Definition at line 219 of file vtkDataObject.h.
unsigned long vtkDataObject::GetUpdateTime | ( | ) |
Used by Threaded ports to determine if they should initiate an asynchronous update (still in development).
void vtkDataObject::SetUpdateExtentToWholeExtent | ( | ) |
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)
unsigned long vtkDataObject::GetPipelineMTime | ( | ) |
Get the cumulative modified time of everything upstream. Does not include the MTime of this object.
|
virtual |
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 vtkHyperOctree, vtkPolyData, vtkImageData, vtkDataSet, vtkUnstructuredGrid, vtkGenericDataSet, vtkRectilinearGrid, vtkStructuredGrid, vtkCompositeDataSet, vtkPointSet, and vtkTable.
void vtkDataObject::CopyInformation | ( | vtkDataObject * | data | ) |
Copy the generic information (WholeExtent ...)
|
inlinevirtual |
By default, there is no type specific information
Reimplemented in vtkImageData.
Definition at line 247 of file vtkDataObject.h.
void vtkDataObject::SetUpdatePiece | ( | int | piece | ) |
Set / Get the update piece and the update number of pieces. Similar to update extent in 3D.
void vtkDataObject::SetUpdateNumberOfPieces | ( | int | num | ) |
Set / Get the update piece and the update number of pieces. Similar to update extent in 3D.
|
virtual |
Set / Get the update piece and the update number of pieces. Similar to update extent in 3D.
|
virtual |
Set / Get the update piece and the update number of pieces. Similar to update extent in 3D.
void vtkDataObject::SetUpdateGhostLevel | ( | int | level | ) |
Set / Get the update ghost level and the update number of ghost levels. Similar to update extent in 3D.
|
virtual |
Set / Get the update ghost level and the update number of ghost levels. Similar to update extent in 3D.
|
virtual |
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.
|
virtual |
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.
|
virtual |
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.
|
virtual |
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.
|
virtual |
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.
|
virtual |
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.
|
virtual |
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.
|
virtual |
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.
|
virtual |
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.
|
virtual |
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.
|
virtual |
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.
|
virtual |
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.
|
virtual |
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.
|
virtual |
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.
|
virtual |
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.
|
virtual |
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.
|
virtual |
Copy information about this data object to the output information from its own Information for the given request. If the second argument is not NULL then it is the pipeline information object for the input to this data object's producer. If forceCopy is true, information is copied even if it exists in the output.
Reimplemented in vtkImageData.
|
inline |
Calls CopyInformationToPipeline(request, input, this->PipelineInformation, 0). Subclasses should not override this method (not virtual)
Definition at line 328 of file vtkDataObject.h.
|
virtual |
Copy information about this data object from the PipelineInformation to its own Information for the given request.
Reimplemented in vtkImageData.
|
static |
Return the information object within the input information object's field data corresponding to the specified association (FIELD_ASSOCIATION_POINTS or FIELD_ASSOCIATION_CELLS) and attribute (SCALARS, VECTORS, NORMALS, TCOORDS, or TENSORS)
|
static |
Return the information object within the input information object's field data corresponding to the specified association (FIELD_ASSOCIATION_POINTS or FIELD_ASSOCIATION_CELLS) and name.
|
static |
Remove the info associated with an array
|
static |
Set the named array to be the active field for the specified type (SCALARS, VECTORS, NORMALS, TCOORDS, or TENSORS) and association (FIELD_ASSOCIATION_POINTS or FIELD_ASSOCIATION_CELLS). Returns the active field information object and creates on entry if one not found.
|
static |
Set the name, array type, number of components, and number of tuples within the passed information object for the active attribute of type attributeType (in specified association, FIELD_ASSOCIATION_POINTS or FIELD_ASSOCIATION_CELLS). If there is not an active attribute of the specified type, an entry in the information object is created. If arrayType, numComponents, or numTuples equal to -1, or name=NULL the value is not changed.
|
static |
Convenience version of previous method for use (primarily) by the Imaging filters. If arrayType or numComponents == -1, the value is not changed.
void vtkDataObject::DataHasBeenGenerated | ( | ) |
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.
|
inlinevirtual |
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 402 of file vtkDataObject.h.
|
virtual |
Shallow and Deep copy. These copy the data, but not any of the pipeline connections.
Reimplemented in vtkGraph, vtkPolyData, vtkHyperOctree, vtkImageData, vtkDataSet, vtkUnstructuredGrid, vtkTable, vtkRectilinearGrid, vtkStructuredGrid, vtkUniformGrid, vtkBSPCuts, vtkCompositeDataSet, vtkAnnotation, vtkPointSet, vtkArrayData, and vtkAnnotationLayers.
|
virtual |
Shallow and Deep copy. These copy the data, but not any of the pipeline connections.
Reimplemented in vtkGraph, vtkPolyData, vtkHyperOctree, vtkImageData, vtkDataSet, vtkReebGraph, vtkUnstructuredGrid, vtkTable, vtkRectilinearGrid, vtkStructuredGrid, vtkUniformGrid, vtkBSPCuts, vtkCompositeDataSet, vtkAnnotation, vtkPointSet, vtkAnnotationLayers, and vtkArrayData.
void vtkDataObject::SetExtentTranslator | ( | vtkExtentTranslator * | translator | ) |
An object that will translate pieces into structured extents.
vtkExtentTranslator* vtkDataObject::GetExtentTranslator | ( | ) |
An object that will translate pieces into structured extents.
|
inlinevirtual |
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, and vtkTemporalDataSet.
Definition at line 423 of file vtkDataObject.h.
|
virtual |
This method crops the data object (if necesary) so that the extent matches the update extent.
Reimplemented in vtkPolyData, vtkImageData, vtkStructuredGrid, and vtkRectilinearGrid.
|
virtual |
Returns the attributes of the data object of the specified attribute type. The type may be:
The other attribute type, FIELD, will return NULL since field data is stored as a vtkFieldData instance, not a vtkDataSetAttributes instance. To retrieve field data, use GetAttributesAsFieldData.
Reimplemented in vtkGenericDataSet.
|
virtual |
Returns the attributes of the data object as a vtkFieldData. This returns non-null values in all the same cases as GetAttributes, in addition to the case of FIELD, which will return the field data for any vtkDataObject subclass.
Reimplemented in vtkGraph, vtkDataSet, and vtkTable.
|
virtual |
Retrieves the attribute type that an array came from. This is useful for obtaining which attribute type a input array to an algorithm came from (retrieved from GetInputAbstractArrayToProcesss).
|
virtual |
Get the number of elements for a specific attribute type (POINT, CELL, etc.).
Reimplemented in vtkGraph, vtkDataSet, and vtkTable.
|
static |
Given an integer association type, this static method returns a string type for the attribute (i.e. type = 0: returns "Points").
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Retrieve an instance of this class from an information object.
|
static |
Retrieve an instance of this class from an information object.
|
protected |
|
protected |
|
protectedvirtual |
Reimplemented from vtkObjectBase.
Reimplemented in vtkPointSet.
|
protected |
|
friend |
Definition at line 585 of file vtkDataObject.h.
|
protected |
Definition at line 552 of file vtkDataObject.h.
|
protected |
Definition at line 555 of file vtkDataObject.h.
|
protected |
Definition at line 558 of file vtkDataObject.h.
|
protected |
Definition at line 561 of file vtkDataObject.h.
|
protected |
Definition at line 572 of file vtkDataObject.h.
|
protected |
Definition at line 576 of file vtkDataObject.h.
|
staticprotected |
Definition at line 588 of file vtkDataObject.h.