Documentation for vtkDataObject

vtkDataObject - general representation of visualization data

Super Class: vtkObject

Description:

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. 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 vtkFieldDataSource vtkFieldDataFilter vtkFieldDataMapper

 

Methods:

void vtkDataObject ()
void vtkDataObject ()
static vtkDataObject *New ()
const char *GetClassName ()
void PrintSelf (unknown & ,vtkIndent )
vtkDataObject *MakeObject ()
vtkSource *GetSource ()
void Update ()
void Initialize ()
void ForceUpdate ()
void ReleaseData ()
int ShouldIReleaseData ()
void SetDataReleased (int )
int GetDataReleased ()
void SetReleaseDataFlag (int )
int GetReleaseDataFlag ()
void ReleaseDataFlagOn ()
void ReleaseDataFlagOff ()
static void SetGlobalReleaseDataFlag (int )
void GlobalReleaseDataFlagOn ()
void GlobalReleaseDataFlagOff ()
static int GetGlobalReleaseDataFlag ()
void SetFieldData (vtkFieldData &)
vtkFieldData *GetFieldData ()
void SetFieldData (vtkFieldData *)

 

Detailed Method Descriptions:

Create concrete instance of this data object.

vtkDataObject *MakeObject ()

Get the source object creating this data object.

vtkSource *GetSource ()

Provides opportunity for the data object to insure internal consistency before access. Also causes owning source/filter (if any) to update itself.

void Update ()

Force the data object to update itself no matter what.

void ForceUpdate ()

Release data back to system to conserve memory resource. Used during visualization network execution.

void ReleaseData ()

Return flag indicating whether data should be released after use by a filter.

int ShouldIReleaseData ()

Set/Get the DataReleased ivar.

void SetDataReleased (int )
int GetDataReleased ()

Turn on/off flag to control whether this object's data is released after being used by a filter.

void SetReleaseDataFlag (int )
int GetReleaseDataFlag ()
void ReleaseDataFlagOn ()
void ReleaseDataFlagOff ()

Turn on/off flag to control whether every object releases its data after being used by a filter.

static void SetGlobalReleaseDataFlag (int )
void GlobalReleaseDataFlagOn ()
void GlobalReleaseDataFlagOff ()
static int GetGlobalReleaseDataFlag ()

Assign or retrieve field data to this data object.

void SetFieldData (vtkFieldData &)
vtkFieldData *GetFieldData ()