 |
VTK
9.0.1
|
Go to the documentation of this file.
34 #ifndef vtkDataObject_h
35 #define vtkDataObject_h
37 #include "vtkCommonDataModelModule.h"
55 #define VTK_PIECES_EXTENT 0
56 #define VTK_3D_EXTENT 1
57 #define VTK_TIME_EXTENT 2
84 virtual void Initialize();
97 vtkGetMacro(DataReleased,
int);
105 static void SetGlobalReleaseDataFlag(
int val);
108 static int GetGlobalReleaseDataFlag();
140 virtual unsigned long GetActualMemorySize();
175 static void RemoveNamedFieldInformation(
185 vtkInformation*
info,
int fieldAssociation,
const char* attributeName,
int attributeType);
196 static void SetActiveAttributeInfo(
vtkInformation*
info,
int fieldAssociation,
int attributeType,
197 const char*
name,
int arrayType,
int numComponents,
int numTuples);
203 static void SetPointDataActiveScalarInfo(
vtkInformation*
info,
int arrayType,
int numComponents);
210 void DataHasBeenGenerated();
242 virtual void Crop(
const int* updateExtent);
256 NUMBER_OF_ASSOCIATIONS
272 NUMBER_OF_ATTRIBUTE_TYPES
337 FIELD_OPERATION_REMOVED
344 static const char* GetAssociationTypeAsString(
int associationType);
350 static int GetAssociationTypeFromString(
const char* associationType);
@ FIELD_ASSOCIATION_EDGES
represent and manipulate attribute data in a dataset
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
record modification and/or execution time
abstract base class for most VTK objects
virtual void CopyInformationFromPipeline(vtkInformation *vtkNotUsed(info))
Copy from the pipeline information to the data object's own information.
vtkInformation * Information
virtual int GetDataObjectType()
Return class name of data type.
@ FIELD_ASSOCIATION_POINTS
abstract superclass for arrays of numeric data
void GlobalReleaseDataFlagOn()
@ FIELD_ASSOCIATION_VERTICES
represent and manipulate fields of data
void GlobalReleaseDataFlagOff()
FieldOperations
Possible values for the FIELD_OPERATION information entry.
@ FIELD_OPERATION_MODIFIED
virtual vtkMTimeType GetMTime()
Return this object's modified time.
@ FIELD_ASSOCIATION_CELLS
a simple class to control print indentation
virtual int GetExtentType()
The ExtentType will be left as VTK_PIECES_EXTENT for data objects such as vtkPolyData and vtkUnstruct...
virtual void PrepareForNewData()
make the output data ready for new data to be inserted.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
#define VTK_PIECES_EXTENT
virtual void CopyInformationToPipeline(vtkInformation *vtkNotUsed(info))
Copy information from this data object to the pipeline information.
Abstract superclass for all arrays.
@ FIELD_OPERATION_REINTERPOLATED
@ FIELD_ASSOCIATION_POINTS_THEN_CELLS
FieldAssociations
Possible values for the FIELD_ASSOCIATION information entry.
general representation of visualization data
AttributeTypes
Possible attribute types.
@ FIELD_OPERATION_PRESERVED
vtkTypeUInt32 vtkMTimeType