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();