Go to the documentation of this file.
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();
vtkIntInternalVector * AttributeIndices
STL vector for storing index of point centered attributes.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
record modification and/or execution time
vtkGenericAttributeInternalVector * AttributeInternalVector
STL vector for storing attributes.
int NumberOfAttributesToInterpolate
abstract base class for most VTK objects
int NumberOfPointCenteredComponents
virtual vtkMTimeType GetMTime()
Return this object's modified time.
unsigned long ActualMemorySize
a simple class to control print indentation
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a collection of attributes
abstract class defined API for attribute data
int MaxNumberOfComponents
vtkTypeUInt32 vtkMTimeType