25 #ifndef __vtkGenericAttributeCollection_h
26 #define __vtkGenericAttributeCollection_h
30 class vtkGenericAttributeInternalVector;
31 class vtkIntInternalVector;
32 class vtkGenericAttribute;
49 int GetNumberOfAttributes();
53 int GetNumberOfComponents();
58 int GetNumberOfPointCenteredComponents();
63 int GetMaxNumberOfComponents();
68 unsigned long GetActualMemorySize();
77 vtkGenericAttribute *GetAttribute(
int i);
83 int FindAttribute(
const char *name);
89 int GetAttributeIndex(
int i);
95 void InsertNextAttribute(vtkGenericAttribute *a);
101 void InsertAttribute(
int i, vtkGenericAttribute *a);
106 void RemoveAttribute(
int i);
123 virtual unsigned long int GetMTime();
133 vtkGetMacro(ActiveAttribute,
int);
141 vtkGetMacro(ActiveComponent,
int);
150 void SetActiveAttribute(
int attribute,
int component = 0);
155 vtkGetMacro(NumberOfAttributesToInterpolate,
int);
163 int *GetAttributesToInterpolate();
170 int HasAttribute(
int size,
int *attributes,
int attribute);
179 void SetAttributesToInterpolate(
int size,
int *attributes);
180 void SetAttributesToInterpolateToAll();
201 int AttributesToInterpolate[10];
211 void ComputeNumbers();