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();
252 ~vtkGenericAttributeCollection() VTK_OVERRIDE;
257 vtkGenericAttributeInternalVector* AttributeInternalVector;
261 vtkIntInternalVector *AttributeIndices;
265 int NumberOfAttributesToInterpolate;
266 int AttributesToInterpolate[10];
268 int NumberOfComponents;
269 int NumberOfPointCenteredComponents;
270 int MaxNumberOfComponents;
271 unsigned long ActualMemorySize;
278 void ComputeNumbers();
281 vtkGenericAttributeCollection(const vtkGenericAttributeCollection &) VTK_DELETE_FUNCTION;
282 void operator=(const vtkGenericAttributeCollection &) VTK_DELETE_FUNCTION;
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
record modification and/or execution time
void DeepCopy(vtkPistonReference *self, vtkPistonReference *other)
abstract class defined API for attribute data
vtkTypeUInt64 vtkMTimeType
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...