Go to the documentation of this file.
23 #ifndef vtkGenericAttributeCollection_h
24 #define vtkGenericAttributeCollection_h
26 #include "vtkCommonDataModelModule.h"
29 class vtkGenericAttributeInternalVector;
30 class vtkIntInternalVector;
54 int GetNumberOfAttributes();
61 int GetNumberOfComponents();
68 int GetNumberOfPointCenteredComponents();
75 int GetMaxNumberOfComponents();
82 unsigned long GetActualMemorySize();
104 int FindAttribute(
const char *
name);
112 int GetAttributeIndex(
int i);
138 void RemoveAttribute(
int i);
178 vtkGetMacro(ActiveAttribute,
int);
188 vtkGetMacro(ActiveComponent,
int);
200 void SetActiveAttribute(
int attribute,
int component = 0);
208 vtkGetMacro(NumberOfAttributesToInterpolate,
int);
216 int *GetAttributesToInterpolate();
223 int HasAttribute(
int size,
int *attributes,
int attribute);
236 void SetAttributesToInterpolate(
int size,
int *attributes);
237 void SetAttributesToInterpolateToAll();
263 int AttributesToInterpolate[10];
275 void ComputeNumbers();
vtkIntInternalVector * AttributeIndices
STL vector for storing index of point centered attributes.
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
vtkGenericAttributeInternalVector * AttributeInternalVector
STL vector for storing attributes.
int NumberOfAttributesToInterpolate
abstract base class for most VTK objects
int NumberOfPointCenteredComponents
virtual vtkMTimeType GetMTime()
Return this object's modified time.
unsigned long ActualMemorySize
a simple class to control print indentation
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a collection of attributes
abstract class defined API for attribute data
int MaxNumberOfComponents
vtkTypeUInt32 vtkMTimeType