Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members Related Pages
vtkDataObject Class Reference
#include <vtkDataObject.h>
Inheritance diagram for vtkDataObject:
[legend]Collaboration diagram for vtkDataObject:
[legend]List of all members.
Detailed Description
general representation of visualization data
- Date:
-
2002/11/12 19:21:02
- Revision:
-
1.68
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.
- See also:
-
vtkDataSet vtkFieldData vtkDataObjectSource vtkDataObjectFilter vtkDataObjectMapper vtkDataObjectToDataSet vtkFieldDataToAttributeDataFilter
- Created by:
-
- CVS contributions (if > 5%):
-
- Law, Charles (53%)
- Schroeder, Will (17%)
- Martin, Ken (15%)
- CVS logs (CVSweb):
-
- .
h
(/Common/vtkDataObject.h)
- .
cxx
(/Common/vtkDataObject.cxx)
Definition at line 63 of file vtkDataObject.h.
|
[NOHEADER] |
void | GlobalReleaseDataFlagOn () |
void | GlobalReleaseDataFlagOff () |
void | SetGlobalReleaseDataFlag (int val) |
int | GetGlobalReleaseDataFlag () |
Public Types |
typedef vtkObject | Superclass |
Public Methods |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual vtkDataObject * | MakeObject () |
unsigned long int | GetMTime () |
virtual void | Initialize () |
void | ReleaseData () |
int | ShouldIReleaseData () |
virtual void | UnRegister (vtkObjectBase *o) |
virtual int | GetNetReferenceCount () |
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 () |
void | SetPipelineMTime (unsigned long time) |
virtual unsigned long | GetPipelineMTime () |
virtual unsigned long | GetActualMemorySize () |
void | CopyInformation (vtkDataObject *data) |
void | DataHasBeenGenerated () |
virtual void | PrepareForNewData () |
|
virtual vtkSource * | GetSource () |
void | SetSource (vtkSource *s) |
|
virtual int | GetDataReleased () |
|
virtual void | SetReleaseDataFlag (int) |
virtual int | GetReleaseDataFlag () |
virtual void | ReleaseDataFlagOn () |
virtual void | ReleaseDataFlagOff () |
|
virtual void | SetFieldData (vtkFieldData *) |
virtual vtkFieldData * | GetFieldData () |
|
virtual void | SetUpdateExtent (int vtkNotUsed(piece), int vtkNotUsed(numPieces), int vtkNotUsed(ghostLevel)) |
void | SetUpdateExtent (int piece, int numPieces) |
|
virtual void | SetUpdateExtent (int x1, int x2, int y1, int y2, int z1, int z2) |
virtual void | SetUpdateExtent (int ext[6]) |
virtual int * | GetUpdateExtent () |
virtual void | GetUpdateExtent (int &, int &, int &, int &, int &, int &) |
virtual void | GetUpdateExtent (int[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 () |
|
void | SetRequestExactExtent (int v) |
virtual int | GetRequestExactExtent () |
virtual void | RequestExactExtentOn () |
virtual void | RequestExactExtentOff () |
|
virtual void | SetWholeExtent (int, int, int, int, int, int) |
virtual void | SetWholeExtent (int[6]) |
virtual int * | GetWholeExtent () |
virtual void | GetWholeExtent (int &, int &, int &, int &, int &, int &) |
virtual void | GetWholeExtent (int[6]) |
|
virtual void | SetMaximumNumberOfPieces (int) |
virtual int | GetMaximumNumberOfPieces () |
|
virtual void | ShallowCopy (vtkDataObject *src) |
virtual void | DeepCopy (vtkDataObject *src) |
|
virtual void | SetLocality (float) |
virtual float | GetLocality () |
|
void | SetExtentTranslator (vtkExtentTranslator *translator) |
vtkExtentTranslator * | GetExtentTranslator () |
|
virtual int | GetNumberOfConsumers () |
|
void | AddConsumer (vtkObject *c) |
void | RemoveConsumer (vtkObject *c) |
vtkObject * | GetConsumer (int i) |
int | IsConsumer (vtkObject *c) |
Static Public Methods |
vtkDataObject * | New () |
int | IsTypeOf (const char *type) |
vtkDataObject * | SafeDownCast (vtkObject *o) |
Protected Methods |
| vtkDataObject () |
| ~vtkDataObject () |
int | UpdateExtentIsOutsideOfTheExtent () |
int | UpdateExtentIsEmpty () |
virtual int | VerifyUpdateExtent () |
virtual int | GetExtentType () |
virtual void | Crop () |
Protected Attributes |
vtkFieldData * | FieldData |
vtkSource * | Source |
int | DataReleased |
int | NumberOfConsumers |
vtkObject ** | Consumers |
int | WholeExtent [6] |
int | Extent [6] |
int | UpdateExtent [6] |
unsigned char | UpdateExtentInitialized |
vtkExtentTranslator * | ExtentTranslator |
int | NumberOfPieces |
int | Piece |
int | MaximumNumberOfPieces |
int | UpdateNumberOfPieces |
int | UpdatePiece |
int | RequestExactExtent |
int | GhostLevel |
int | UpdateGhostLevel |
int | ReleaseDataFlag |
vtkTimeStamp | UpdateTime |
unsigned long | PipelineMTime |
int | LastUpdateExtentWasOutsideOfTheExtent |
float | Locality |
Member Typedef Documentation
|
Reimplemented from vtkObject.
Reimplemented in vtkDataSet, vtkImageData, vtkPointSet, vtkPolyData, vtkRectilinearGrid, vtkStructuredGrid, vtkStructuredPoints, vtkUnstructuredGrid, vtkPiecewiseFunction, vtkImageCanvasSource2D, and vtkImageStencilData.
Definition at line 68 of file vtkDataObject.h. |
Constructor & Destructor Documentation
vtkDataObject::vtkDataObject |
( |
|
) |
[protected] |
|
vtkDataObject::~vtkDataObject |
( |
|
) |
[protected] |
|
Member Function Documentation
vtkDataObject* vtkDataObject::New |
( |
|
) |
[static] |
|
|
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkObject.
Reimplemented in vtkImageData, vtkPolyData, vtkRectilinearGrid, vtkStructuredGrid, vtkStructuredPoints, vtkUnstructuredGrid, vtkPiecewiseFunction, vtkImageCanvasSource2D, and vtkImageStencilData. |
virtual const char* vtkDataObject::GetClassName |
( |
|
) |
[virtual] |
|
|
Reimplemented from vtkObject.
Reimplemented in vtkDataSet, vtkImageData, vtkPointSet, vtkPolyData, vtkRectilinearGrid, vtkStructuredGrid, vtkStructuredPoints, vtkUnstructuredGrid, vtkPiecewiseFunction, vtkImageCanvasSource2D, and vtkImageStencilData. |
int vtkDataObject::IsTypeOf |
( |
const char * |
type |
) |
[static] |
|
|
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 vtkDataSet, vtkImageData, vtkPointSet, vtkPolyData, vtkRectilinearGrid, vtkStructuredGrid, vtkStructuredPoints, vtkUnstructuredGrid, vtkPiecewiseFunction, vtkImageCanvasSource2D, and vtkImageStencilData. |
virtual int vtkDataObject::IsA |
( |
const char * |
type |
) |
[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 vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkObject.
Reimplemented in vtkDataSet, vtkImageData, vtkPointSet, vtkPolyData, vtkRectilinearGrid, vtkStructuredGrid, vtkStructuredPoints, vtkUnstructuredGrid, vtkPiecewiseFunction, vtkImageCanvasSource2D, and vtkImageStencilData. |
vtkDataObject* vtkDataObject::SafeDownCast |
( |
vtkObject * |
o |
) |
[static] |
|
|
Reimplemented from vtkObject.
Reimplemented in vtkDataSet, vtkImageData, vtkPointSet, vtkPolyData, vtkRectilinearGrid, vtkStructuredGrid, vtkStructuredPoints, vtkUnstructuredGrid, vtkPiecewiseFunction, vtkImageCanvasSource2D, and vtkImageStencilData. |
void vtkDataObject::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
[virtual] |
|
virtual vtkDataObject* vtkDataObject::MakeObject |
( |
|
) |
[virtual] |
|
virtual vtkSource* vtkDataObject::GetSource |
( |
|
) |
[virtual] |
|
|
Set/Get the source object creating this data object. |
void vtkDataObject::SetSource |
( |
vtkSource * |
s |
) |
|
|
|
Set/Get the source object creating this data object. |
unsigned long int vtkDataObject::GetMTime |
( |
|
) |
[virtual] |
|
virtual void vtkDataObject::Initialize |
( |
|
) |
[virtual] |
|
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 int vtkDataObject::GetDataReleased |
( |
|
) |
[virtual] |
|
|
Get the flag indicating the data has been released. |
virtual void vtkDataObject::SetReleaseDataFlag |
( |
int |
|
) |
[virtual] |
|
|
Turn on/off flag to control whether this object's data is released after being used by a filter. |
virtual int vtkDataObject::GetReleaseDataFlag |
( |
|
) |
[virtual] |
|
|
Turn on/off flag to control whether this object's data is released after being used by a filter. |
virtual void vtkDataObject::ReleaseDataFlagOn |
( |
|
) |
[virtual] |
|
|
Turn on/off flag to control whether this object's data is released after being used by a filter. |
virtual void vtkDataObject::ReleaseDataFlagOff |
( |
|
) |
[virtual] |
|
|
Turn on/off flag to control whether this object's data is released after being used by a filter. |
void vtkDataObject::SetGlobalReleaseDataFlag |
( |
int |
val |
) |
[static] |
|
|
Turn on/off flag to control whether every object releases its data after being used by a filter. |
void vtkDataObject::GlobalReleaseDataFlagOn |
( |
|
) |
[inline] |
|
void vtkDataObject::GlobalReleaseDataFlagOff |
( |
|
) |
[inline] |
|
int vtkDataObject::GetGlobalReleaseDataFlag |
( |
|
) |
[static] |
|
virtual void vtkDataObject::SetFieldData |
( |
vtkFieldData * |
|
) |
[virtual] |
|
|
Assign or retrieve field data to this data object. |
virtual vtkFieldData* vtkDataObject::GetFieldData |
( |
|
) |
[virtual] |
|
|
Assign or retrieve field data to this data object. |
virtual void vtkDataObject::UnRegister |
( |
vtkObjectBase * |
o |
) |
[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 vtkObject.
Reimplemented in vtkPointSet. |
virtual int vtkDataObject::GetNetReferenceCount |
( |
|
) |
[inline, virtual] |
|
|
Get the net reference count. That is the count minus any self created loops. This is used in the Source/Data registration to properly free the objects.
Reimplemented in vtkPointSet.
Definition at line 134 of file vtkDataObject.h. |
virtual void vtkDataObject::Update |
( |
|
) |
[virtual] |
|
virtual void vtkDataObject::UpdateInformation |
( |
|
) |
[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. |
virtual void vtkDataObject::PropagateUpdateExtent |
( |
|
) |
[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.
Reimplemented in vtkImageStencilData. |
virtual void vtkDataObject::TriggerAsynchronousUpdate |
( |
|
) |
[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.
Reimplemented in vtkImageStencilData. |
virtual void vtkDataObject::UpdateData |
( |
|
) |
[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.
Reimplemented in vtkImageData, vtkRectilinearGrid, vtkStructuredGrid, and vtkImageStencilData. |
virtual unsigned long vtkDataObject::GetEstimatedMemorySize |
( |
|
) |
[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 void vtkDataObject::SetUpdateExtent |
( |
int |
vtkNotUsed(piece), |
|
|
int |
vtkNotUsed(numPieces), |
|
|
int |
vtkNotUsed(ghostLevel) |
|
) |
[inline, virtual] |
|
void vtkDataObject::SetUpdateExtent |
( |
int |
piece, |
|
|
int |
numPieces |
|
) |
[inline] |
|
virtual void vtkDataObject::SetUpdateExtent |
( |
int |
x1, |
|
|
int |
x2, |
|
|
int |
y1, |
|
|
int |
y2, |
|
|
int |
z1, |
|
|
int |
z2 |
|
) |
[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 vtkImageData, vtkPolyData, vtkRectilinearGrid, vtkStructuredGrid, and vtkUnstructuredGrid. |
virtual void vtkDataObject::SetUpdateExtent |
( |
int |
ext[6] |
) |
[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 vtkImageData, vtkPolyData, vtkRectilinearGrid, vtkStructuredGrid, and vtkUnstructuredGrid. |
virtual int* vtkDataObject::GetUpdateExtent |
( |
|
) |
[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 void vtkDataObject::GetUpdateExtent |
( |
int & |
, |
|
|
int & |
, |
|
|
int & |
, |
|
|
int & |
, |
|
|
int & |
, |
|
|
int & |
|
|
) |
[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 void vtkDataObject::GetUpdateExtent |
( |
int |
[6] |
) |
[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 int vtkDataObject::GetDataObjectType |
( |
|
) |
[inline, virtual] |
|
|
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 vtkDataSet, vtkImageData, vtkPolyData, vtkRectilinearGrid, vtkStructuredGrid, vtkStructuredPoints, vtkUnstructuredGrid, vtkPiecewiseFunction, and vtkImageStencilData.
Definition at line 206 of file vtkDataObject.h.
References VTK_DATA_OBJECT. |
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) |
void vtkDataObject::SetPipelineMTime |
( |
unsigned long |
time |
) |
[inline] |
|
virtual unsigned long vtkDataObject::GetPipelineMTime |
( |
|
) |
[virtual] |
|
virtual unsigned long vtkDataObject::GetActualMemorySize |
( |
|
) |
[virtual] |
|
void vtkDataObject::CopyInformation |
( |
vtkDataObject * |
data |
) |
|
|
|
Copy the generic information (WholeExtent ...) |
virtual void vtkDataObject::CopyTypeSpecificInformation |
( |
vtkDataObject * |
data |
) |
[inline, virtual] |
|
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 int vtkDataObject::GetUpdatePiece |
( |
|
) |
[virtual] |
|
|
Set / Get the update piece and the update number of pieces. Similar to update extent in 3D. |
virtual int vtkDataObject::GetUpdateNumberOfPieces |
( |
|
) |
[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 int vtkDataObject::GetUpdateGhostLevel |
( |
|
) |
[virtual] |
|
|
Set / Get the update ghost level and the update number of ghost levels. Similar to update extent in 3D. |
void vtkDataObject::SetRequestExactExtent |
( |
int |
v |
) |
|
|
|
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 int vtkDataObject::GetRequestExactExtent |
( |
|
) |
[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 void vtkDataObject::RequestExactExtentOn |
( |
|
) |
[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 void vtkDataObject::RequestExactExtentOff |
( |
|
) |
[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 void vtkDataObject::SetWholeExtent |
( |
int |
, |
|
|
int |
, |
|
|
int |
, |
|
|
int |
, |
|
|
int |
, |
|
|
int |
|
|
) |
[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 void vtkDataObject::SetWholeExtent |
( |
int |
[6] |
) |
[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 int* vtkDataObject::GetWholeExtent |
( |
|
) |
[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 void vtkDataObject::GetWholeExtent |
( |
int & |
, |
|
|
int & |
, |
|
|
int & |
, |
|
|
int & |
, |
|
|
int & |
, |
|
|
int & |
|
|
) |
[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 void vtkDataObject::GetWholeExtent |
( |
int |
[6] |
) |
[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 void vtkDataObject::SetMaximumNumberOfPieces |
( |
int |
|
) |
[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. A value of |
virtual int vtkDataObject::GetMaximumNumberOfPieces |
( |
|
) |
[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. A value of |
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. |
virtual void vtkDataObject::PrepareForNewData |
( |
|
) |
[inline, virtual] |
|
|
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 289 of file vtkDataObject.h. |
virtual void vtkDataObject::ShallowCopy |
( |
vtkDataObject * |
src |
) |
[virtual] |
|
virtual void vtkDataObject::DeepCopy |
( |
vtkDataObject * |
src |
) |
[virtual] |
|
virtual void vtkDataObject::SetLocality |
( |
float |
|
) |
[virtual] |
|
|
Locality is used internally by the pipeline update mechanism. It is used to get parralel execution when a filter has multiple inputs with ports upstream. |
virtual float vtkDataObject::GetLocality |
( |
|
) |
[virtual] |
|
|
Locality is used internally by the pipeline update mechanism. It is used to get parralel execution when a filter has multiple inputs with ports upstream. |
|
An object that will translate pieces into structured extents. |
|
An object that will translate pieces into structured extents. |
virtual int vtkDataObject::GetNumberOfConsumers |
( |
|
) |
[virtual] |
|
|
Get the number of consumers |
void vtkDataObject::AddConsumer |
( |
vtkObject * |
c |
) |
|
|
|
Add or remove or get or check a consumer, |
void vtkDataObject::RemoveConsumer |
( |
vtkObject * |
c |
) |
|
|
|
Add or remove or get or check a consumer, |
vtkObject* vtkDataObject::GetConsumer |
( |
int |
i |
) |
|
|
|
Add or remove or get or check a consumer, |
int vtkDataObject::IsConsumer |
( |
vtkObject * |
c |
) |
|
|
|
Add or remove or get or check a consumer, |
int vtkDataObject::UpdateExtentIsOutsideOfTheExtent |
( |
|
) |
[protected] |
|
|
Return non zero if the UpdateExtent is outside of the Extent |
int vtkDataObject::UpdateExtentIsEmpty |
( |
|
) |
[protected] |
|
|
This detects when the UpdateExtent will generate no data, and UpdateData on the source is not necessary. This condition is satisfied when the UpdateExtent has zero volume (0,-1,...) of the UpdateNumberOfPieces is 0. |
virtual int vtkDataObject::VerifyUpdateExtent |
( |
|
) |
[protected, virtual] |
|
|
Default behavior is to make sure that the update extent lies within the whole extent. If it does not, an error condition occurs and this method returns 0. If it is ok, then 1 is returned. Since uninitialized extents are initialized to the whole extent during UpdateInformation() there should not be errors. If a data object subclass wants to try to take care of errors silently, then this method should be overridden. |
virtual int vtkDataObject::GetExtentType |
( |
|
) |
[inline, protected, virtual] |
|
virtual void vtkDataObject::Crop |
( |
|
) |
[protected, virtual] |
|
Member Data Documentation
int vtkDataObject::DataReleased [protected]
|
|
int vtkDataObject::NumberOfConsumers [protected]
|
|
vtkObject** vtkDataObject::Consumers [protected]
|
|
int vtkDataObject::WholeExtent[6] [protected]
|
|
int vtkDataObject::Extent[6] [protected]
|
|
int vtkDataObject::UpdateExtent[6] [protected]
|
|
unsigned char vtkDataObject::UpdateExtentInitialized [protected]
|
|
int vtkDataObject::NumberOfPieces [protected]
|
|
int vtkDataObject::Piece [protected]
|
|
int vtkDataObject::MaximumNumberOfPieces [protected]
|
|
int vtkDataObject::UpdateNumberOfPieces [protected]
|
|
int vtkDataObject::UpdatePiece [protected]
|
|
int vtkDataObject::RequestExactExtent [protected]
|
|
int vtkDataObject::GhostLevel [protected]
|
|
int vtkDataObject::UpdateGhostLevel [protected]
|
|
int vtkDataObject::ReleaseDataFlag [protected]
|
|
unsigned long vtkDataObject::PipelineMTime [protected]
|
|
int vtkDataObject::LastUpdateExtentWasOutsideOfTheExtent [protected]
|
|
float vtkDataObject::Locality [protected]
|
|
The documentation for this class was generated from the following file: