28#ifndef vtkGenericVertexAttributeMapping_h
29#define vtkGenericVertexAttributeMapping_h
32#include "vtkRenderingCoreModule.h"
47 const char* attributeName,
const char* arrayName,
int fieldAssociation,
int component);
55 void AddMapping(
int unit,
const char* arrayName,
int fieldAssociation,
int component);
106 vtkInternal* Internal;
stores mapping for data arrays to generic vertex attributes.
~vtkGenericVertexAttributeMapping() override
bool RemoveMapping(const char *attributeName)
Remove a vertex attribute mapping.
int GetComponent(unsigned int index)
Get the component no.
vtkGenericVertexAttributeMapping()
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.
static vtkGenericVertexAttributeMapping * New()
int GetFieldAssociation(unsigned int index)
Get the field association at the given index.
unsigned int GetNumberOfMappings()
Get number of mappings.
const char * GetAttributeName(unsigned int index)
Get the attribute name at the given index.
const char * GetArrayName(unsigned int index)
Get the array name at the given index.
void AddMapping(int unit, const char *arrayName, int fieldAssociation, int component)
Select a data array and use it as multitexture texture coordinates.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int GetTextureUnit(unsigned int index)
Get the component no.
void RemoveAllMappings()
Remove all mappings.
a simple class to control print indentation
abstract base class for most VTK objects