26 #ifndef vtkGenericAttributeCollection_h 27 #define vtkGenericAttributeCollection_h 29 #include "vtkCommonDataModelModule.h" 32 class vtkGenericAttributeInternalVector;
33 class vtkIntInternalVector;
57 int GetNumberOfAttributes();
64 int GetNumberOfComponents();
71 int GetNumberOfPointCenteredComponents();
78 int GetMaxNumberOfComponents();
85 unsigned long GetActualMemorySize();
107 int FindAttribute(
const char *
name);
115 int GetAttributeIndex(
int i);
141 void RemoveAttribute(
int i);
181 vtkGetMacro(ActiveAttribute,
int);
191 vtkGetMacro(ActiveComponent,
int);
203 void SetActiveAttribute(
int attribute,
int component = 0);
211 vtkGetMacro(NumberOfAttributesToInterpolate,
int);
219 int *GetAttributesToInterpolate();
226 int HasAttribute(
int size,
int *attributes,
int attribute);
239 void SetAttributesToInterpolate(
int size,
int *attributes);
240 void SetAttributesToInterpolateToAll();
266 int AttributesToInterpolate[10];
278 void ComputeNumbers();
vtkGenericAttributeInternalVector * AttributeInternalVector
STL vector for storing attributes.
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
vtkIntInternalVector * AttributeIndices
STL vector for storing index of point centered attributes.
int NumberOfAttributesToInterpolate
abstract class defined API for attribute data
unsigned long ActualMemorySize
int NumberOfPointCenteredComponents
a simple class to control print indentation
virtual vtkMTimeType GetMTime()
Return this object's modified time.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
int MaxNumberOfComponents