14 #ifndef vtkGenericAttributeCollection_h
15 #define vtkGenericAttributeCollection_h
17 #include "vtkCommonDataModelModule.h"
20 VTK_ABI_NAMESPACE_BEGIN
21 class vtkGenericAttributeInternalVector;
22 class vtkIntInternalVector;
46 int GetNumberOfAttributes();
53 int GetNumberOfComponents();
60 int GetNumberOfPointCenteredComponents();
67 int GetMaxNumberOfComponents();
74 unsigned long GetActualMemorySize();
96 int FindAttribute(
const char*
name);
104 int GetAttributeIndex(
int i);
130 void RemoveAttribute(
int i);
170 vtkGetMacro(ActiveAttribute,
int);
180 vtkGetMacro(ActiveComponent,
int);
192 void SetActiveAttribute(
int attribute,
int component = 0);
200 vtkGetMacro(NumberOfAttributesToInterpolate,
int);
208 int* GetAttributesToInterpolate()
VTK_SIZEHINT(GetNumberOfAttributesToInterpolate());
228 void SetAttributesToInterpolate(
int size,
int* attributes)
VTK_SIZEHINT(attributes, size);
229 void SetAttributesToInterpolateToAll();
241 ~vtkGenericAttributeCollection() override;
246 vtkGenericAttributeInternalVector* AttributeInternalVector;
250 vtkIntInternalVector* AttributeIndices;
254 int NumberOfAttributesToInterpolate;
255 int AttributesToInterpolate[10];
257 int NumberOfComponents;
258 int NumberOfPointCenteredComponents;
259 int MaxNumberOfComponents;
260 unsigned long ActualMemorySize;
267 void ComputeNumbers();
270 vtkGenericAttributeCollection(const vtkGenericAttributeCollection&) = delete;
271 void operator=(const vtkGenericAttributeCollection&) = delete;
273 VTK_ABI_NAMESPACE_END
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...