Go to the documentation of this file.
28 #ifndef vtkGenericVertexAttributeMapping_h
29 #define vtkGenericVertexAttributeMapping_h
31 #include "vtkRenderingCoreModule.h"
46 void AddMapping(
const char* attributeName,
const char* arrayName,
56 int unit,
const char* arrayName,
int fieldAssociation,
108 vtkInternal* Internal;
int GetFieldAssociation(unsigned int index)
Get the field association at the given index.
vtkGenericVertexAttributeMapping()
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.
int GetComponent(unsigned int index)
Get the component no.
~vtkGenericVertexAttributeMapping() override
bool RemoveMapping(const char *attributeName)
Remove a vertex attribute mapping.
a simple class to control print indentation
const char * GetArrayName(unsigned int index)
Get the array name at the given index.
void RemoveAllMappings()
Remove all mappings.
int GetTextureUnit(unsigned int index)
Get the component no.
unsigned int GetNumberOfMappings()
Get number of mappings.
void AddMapping(const char *attributeName, const char *arrayName, int fieldAssociation, int component)
Select a data array from the point/cell data and map it to a generic vertex attribute.
const char * GetAttributeName(unsigned int index)
Get the attribute name at the given index.
static vtkGenericVertexAttributeMapping * New()
stores mapping for data arrays to generic vertex attributes.
void AddMapping(int unit, const char *arrayName, int fieldAssociation, int component)
Select a data array and use it as multitexture texture coordinates.