40 #ifndef vtkDataObject_h
41 #define vtkDataObject_h
43 #include "vtkCommonDataModelModule.h"
61 #define VTK_PIECES_EXTENT 0
62 #define VTK_3D_EXTENT 1
63 #define VTK_TIME_EXTENT 2
90 virtual void Initialize();
103 vtkGetMacro(DataReleased,
int);
111 static void SetGlobalReleaseDataFlag(
int val);
114 static int GetGlobalReleaseDataFlag();
146 virtual unsigned long GetActualMemorySize();
181 static void RemoveNamedFieldInformation(
191 vtkInformation*
info,
int fieldAssociation,
const char* attributeName,
int attributeType);
202 static void SetActiveAttributeInfo(
vtkInformation*
info,
int fieldAssociation,
int attributeType,
203 const char*
name,
int arrayType,
int numComponents,
int numTuples);
209 static void SetPointDataActiveScalarInfo(
vtkInformation*
info,
int arrayType,
int numComponents);
216 void DataHasBeenGenerated();
248 virtual void Crop(
const int* updateExtent);
262 NUMBER_OF_ASSOCIATIONS
278 NUMBER_OF_ATTRIBUTE_TYPES
343 FIELD_OPERATION_REMOVED
350 static const char* GetAssociationTypeAsString(
int associationType);
356 static int GetAssociationTypeFromString(
const char* associationName);
void GlobalReleaseDataFlagOn()
Turn on/off flag to control whether every object releases its data after being used by a filter...
abstract base class for most VTK objects
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkTypeUInt32 vtkMTimeType
Abstract superclass for all arrays.
record modification and/or execution time
virtual void PrepareForNewData()
make the output data ready for new data to be inserted.
FieldAssociations
Possible values for the FIELD_ASSOCIATION information entry.
void GlobalReleaseDataFlagOff()
Turn on/off flag to control whether every object releases its data after being used by a filter...
virtual int GetExtentType()
The ExtentType will be left as VTK_PIECES_EXTENT for data objects such as vtkPolyData and vtkUnstruct...
FieldOperations
Possible values for the FIELD_OPERATION information entry.
a simple class to control print indentation
virtual vtkMTimeType GetMTime()
Return this object's modified time.
virtual void CopyInformationFromPipeline(vtkInformation *vtkNotUsed(info))
Copy from the pipeline information to the data object's own information.
#define VTK_PIECES_EXTENT
represent and manipulate attribute data in a dataset
vtkSmartPointer< vtkDataArray > GetData(const Ioss::GroupingEntity *entity, const std::string &fieldname, Ioss::Transform *transform=nullptr, Cache *cache=nullptr, const std::string &cachekey=std::string())
Returns a VTK array for a given field (fieldname) on the chosen block (or set) entity.
dynamic, self-adjusting array of unsigned char
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
virtual int GetDataObjectType()
Return class name of data type.
general representation of visualization data
AttributeTypes
Possible attribute types.
virtual void CopyInformationToPipeline(vtkInformation *vtkNotUsed(info))
Copy information from this data object to the pipeline information.
vtkInformation * Information
represent and manipulate fields of data