Go to the documentation of this file.
40 #ifndef vtkDataObject_h
41 #define vtkDataObject_h
60 #define VTK_PIECES_EXTENT 0
61 #define VTK_3D_EXTENT 1
62 #define VTK_TIME_EXTENT 2
147 int fieldAssociation,
int attributeType);
155 int fieldAssociation,
const char *
name);
161 int fieldAssociation,
172 int fieldAssociation,
const char *attributeName,
int attributeType);
184 int fieldAssociation,
int attributeType,
const char *
name,
int arrayType,
185 int numComponents,
int numTuples);
193 int arrayType,
int numComponents);
223 virtual void Crop(
const int* updateExtent);
237 NUMBER_OF_ASSOCIATIONS
255 NUMBER_OF_ATTRIBUTE_TYPES
293 FIELD_OPERATION_REMOVED
@ FIELD_ASSOCIATION_EDGES
static vtkInformationStringKey * DATA_TYPE_NAME()
virtual vtkDataSetAttributes * GetAttributes(int type)
#define vtkGetObjectMacro(name, type)
static vtkInformationInformationVectorKey * POINT_DATA_VECTOR()
unsigned long GetUpdateTime()
virtual void Initialize()
static vtkInformationIntegerKey * FIELD_ACTIVE_ATTRIBUTE()
static const char * GetAssociationTypeAsString(int associationType)
static vtkInformationInformationVectorKey * EDGE_DATA_VECTOR()
static vtkInformationDoubleVectorKey * SPACING()
virtual vtkFieldData * GetAttributesAsFieldData(int type)
static vtkInformationInformationVectorKey * VERTEX_DATA_VECTOR()
represent and manipulate attribute data in a dataset
static void SetPointDataActiveScalarInfo(vtkInformation *info, int arrayType, int numComponents)
static vtkInformationDataObjectKey * DATA_OBJECT()
record modification and/or execution time
unsigned long int GetMTime()
static vtkInformationIntegerKey * FIELD_ASSOCIATION()
virtual void SetInformation(vtkInformation *)
static vtkInformation * GetNamedFieldInformation(vtkInformation *info, int fieldAssociation, const char *name)
#define vtkTypeMacro(thisClass, superclass)
static vtkInformationIntegerVectorKey * PIECE_EXTENT()
abstract base class for most VTK objects
virtual void CopyInformationFromPipeline(vtkInformation *vtkNotUsed(info))
static vtkInformationIntegerKey * DATA_NUMBER_OF_GHOST_LEVELS()
vtkInformation * Information
virtual int GetDataObjectType()
@ FIELD_ASSOCIATION_POINTS
void GlobalReleaseDataFlagOn()
static vtkInformationDataObjectKey * SIL()
static void RemoveNamedFieldInformation(vtkInformation *info, int fieldAssociation, const char *name)
virtual void DeepCopy(vtkDataObject *src)
static void SetGlobalReleaseDataFlag(int val)
static vtkInformationIntegerVectorKey * ALL_PIECES_EXTENT()
@ FIELD_ASSOCIATION_VERTICES
represent and manipulate fields of data
void DataHasBeenGenerated()
virtual vtkIdType GetNumberOfElements(int type)
GLuint const GLchar * name
void GlobalReleaseDataFlagOff()
@ FIELD_OPERATION_MODIFIED
static vtkInformation * SetActiveAttribute(vtkInformation *info, int fieldAssociation, const char *attributeName, int attributeType)
@ FIELD_ASSOCIATION_CELLS
static vtkInformationIntegerKey * FIELD_OPERATION()
static vtkInformationIntegerKey * DATA_PIECE_NUMBER()
static vtkInformationIntegerKey * FIELD_NUMBER_OF_COMPONENTS()
a simple class to control print indentation
virtual int GetExtentType()
static vtkInformationDoubleVectorKey * BOUNDING_BOX()
virtual void PrepareForNewData()
static vtkInformation * GetActiveFieldInformation(vtkInformation *info, int fieldAssociation, int attributeType)
static void SetActiveAttributeInfo(vtkInformation *info, int fieldAssociation, int attributeType, const char *name, int arrayType, int numComponents, int numTuples)
static vtkInformationIntegerKey * DATA_NUMBER_OF_PIECES()
static vtkInformationDoubleVectorKey * FIELD_RANGE()
#define vtkGetMacro(name, type)
virtual void Crop(const int *updateExtent)
#define VTK_PIECES_EXTENT
static vtkInformationDoubleKey * DATA_TIME_STEP()
virtual void CopyInformationToPipeline(vtkInformation *vtkNotUsed(info))
virtual unsigned long GetActualMemorySize()
Abstract superclass for all arrays.
virtual int GetAttributeTypeForArray(vtkAbstractArray *arr)
static int GetAssociationTypeFromString(const char *associationType)
virtual void SetFieldData(vtkFieldData *)
static vtkDataObject * GetData(vtkInformationVector *v, int i=0)
@ FIELD_OPERATION_REINTERPOLATED
void PrintSelf(ostream &os, vtkIndent indent)
#define VTKCOMMONDATAMODEL_EXPORT
static vtkInformationStringKey * FIELD_NAME()
@ FIELD_ASSOCIATION_POINTS_THEN_CELLS
static vtkInformationIntegerKey * FIELD_NUMBER_OF_TUPLES()
static vtkInformationIntegerKey * FIELD_ATTRIBUTE_TYPE()
static vtkInformationDoubleVectorKey * ORIGIN()
general representation of visualization data
static int GetGlobalReleaseDataFlag()
GLuint GLuint GLsizei GLenum type
static vtkInformationIntegerKey * FIELD_ARRAY_TYPE()
static vtkInformationInformationVectorKey * CELL_DATA_VECTOR()
virtual void ShallowCopy(vtkDataObject *src)
static vtkInformationIntegerKey * DATA_EXTENT_TYPE()
static vtkInformationIntegerPointerKey * DATA_EXTENT()
static vtkDataObject * GetData(vtkInformation *info)
@ FIELD_OPERATION_PRESERVED
static vtkDataObject * New()