26#ifndef vtkGenericAttributeCollection_h
27#define vtkGenericAttributeCollection_h
29#include "vtkCommonDataModelModule.h"
32class vtkGenericAttributeInternalVector;
33class vtkIntInternalVector;
void ShallowCopy(vtkGenericAttributeCollection *other)
Copy, via reference counting, the other attribute array.
int AttributesToInterpolate[10]
void RemoveAttribute(int i)
Remove the attribute at ‘i’.
static vtkGenericAttributeCollection * New()
Create an empty collection.
void SetAttributesToInterpolateToAll()
Set the attributes to interpolate.
vtkGenericAttributeCollection()
Default constructor: empty collection.
int NumberOfPointCenteredComponents
unsigned long ActualMemorySize
int GetNumberOfPointCenteredComponents()
Return the number of components.
vtkGenericAttributeInternalVector * AttributeInternalVector
STL vector for storing attributes.
int GetNumberOfComponents()
Return the number of components.
void InsertNextAttribute(vtkGenericAttribute *a)
Add the attribute ‘a’ to the end of the collection.
int * GetAttributesToInterpolate()
Indices of attributes to interpolate.
int IsEmpty()
Indicate whether the collection contains any attributes.
int NumberOfAttributesToInterpolate
void SetAttributesToInterpolate(int size, int *attributes)
Set the attributes to interpolate.
void DeepCopy(vtkGenericAttributeCollection *other)
Copy, without reference counting, the other attribute array.
int FindAttribute(const char *name)
Return the index of the attribute named ‘name’.
vtkGenericAttribute * GetAttribute(int i)
Return a pointer to the ith instance of vtkGenericAttribute.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard type definition and print methods for a VTK class.
void SetActiveAttribute(int attribute, int component=0)
Set the scalar attribute to be processed.
virtual int GetNumberOfAttributesToInterpolate()
Number of attributes to interpolate.
void ComputeNumbers()
Compute number of components, max number of components and actual memory size.
vtkMTimeType GetMTime() override
vtkAttributeCollection is a composite object and needs to check each member of its collection for mod...
unsigned long GetActualMemorySize()
Actual size of the data in kibibytes (1024 bytes); only valid after the pipeline has updated.
int GetNumberOfAttributes()
Return the number of attributes (e.g., instances of vtkGenericAttribute) in the collection.
int GetAttributeIndex(int i)
Return the index of the first component of attribute ‘i’ in an array of format attrib0comp0 attrib0co...
void Reset()
Remove all attributes.
int MaxNumberOfComponents
int HasAttribute(int size, int *attributes, int attribute)
Does the array ‘attributes’ of size ‘size’ have ‘attribute’?
int GetMaxNumberOfComponents()
Maximum number of components encountered among all attributes.
vtkIntInternalVector * AttributeIndices
STL vector for storing index of point centered attributes.
void InsertAttribute(int i, vtkGenericAttribute *a)
Replace the attribute at index ‘i’ by ‘a’.
abstract class defined API for attribute data
a simple class to control print indentation
record modification and/or execution time
vtkTypeUInt32 vtkMTimeType
#define VTK_SIZEHINT(...)