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()
VTK_SIZEHINT(GetNumberOfAttributesToInterpolate());
237 void SetAttributesToInterpolateToAll();
254 vtkGenericAttributeInternalVector* AttributeInternalVector;
258 vtkIntInternalVector* AttributeIndices;
262 int NumberOfAttributesToInterpolate;
263 int AttributesToInterpolate[10];
265 int NumberOfComponents;
266 int NumberOfPointCenteredComponents;
267 int MaxNumberOfComponents;
268 unsigned long ActualMemorySize;
275 void ComputeNumbers();
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.
a collection of attributes
vtkTypeUInt32 vtkMTimeType
record modification and/or execution time
abstract class defined API for attribute data
a simple class to control print indentation
virtual vtkMTimeType GetMTime()
Return this object's modified time.
#define VTK_SIZEHINT(...)
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...