28 #ifndef vtkDataObject_h
29 #define vtkDataObject_h
31 #include "vtkCommonDataModelModule.h"
35 VTK_ABI_NAMESPACE_BEGIN
51 #define VTK_PIECES_EXTENT 0
52 #define VTK_3D_EXTENT 1
53 #define VTK_TIME_EXTENT 2
80 virtual void Initialize();
101 static void SetGlobalReleaseDataFlag(
vtkTypeBool val);
136 virtual unsigned long GetActualMemorySize();
171 static void RemoveNamedFieldInformation(
181 vtkInformation*
info,
int fieldAssociation,
const char* attributeName,
int attributeType);
192 static void SetActiveAttributeInfo(
vtkInformation*
info,
int fieldAssociation,
int attributeType,
193 const char*
name,
int arrayType,
int numComponents,
int numTuples);
199 static void SetPointDataActiveScalarInfo(
vtkInformation*
info,
int arrayType,
int numComponents);
206 void DataHasBeenGenerated();
247 virtual void Crop(
const int updateExtent[6]);
261 NUMBER_OF_ASSOCIATIONS
277 NUMBER_OF_ATTRIBUTE_TYPES
326 virtual bool SupportsGhostArray(
int type);
356 FIELD_OPERATION_REMOVED
364 static const char* GetAssociationTypeAsString(
int associationType);
370 static const char* GetAttributeTypeAsString(
int attributeType);
376 static int GetAssociationTypeFromString(
const char* associationName);
502 VTK_ABI_NAMESPACE_END
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.
virtual int GetExtentType() VTK_FUTURE_CONST
The ExtentType will be left as VTK_PIECES_EXTENT for data objects such as vtkPolyData and vtkUnstruct...
record modification and/or execution time
virtual void CopyInformationFromPipeline(vtkInformation *info)
Copy from the pipeline information to the data object's own information.
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...
FieldOperations
Possible values for the FIELD_OPERATION information entry.
virtual int GetDataObjectType() VTK_FUTURE_CONST
Return class name of data type.
a simple class to control print indentation
virtual vtkMTimeType GetMTime()
Return this object's modified time.
#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
virtual void CopyInformationToPipeline(vtkInformation *info)
Copy information from this data object to the pipeline information.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
general representation of visualization data
AttributeTypes
Possible attribute types.
static void SetGlobalReleaseDataFlag(vtkTypeBool val)
Turn on/off flag to control whether every object releases its data after being used by a filter...
vtkInformation * Information
Represents and manipulates a collection of data arrays.