VTK
9.1.0
|
This struct describes a glTF primitive object. More...
#include <vtkGLTFDocumentLoader.h>
Public Attributes | |
std::map< std::string, int > | AttributeIndices |
int | IndicesId |
vtkSmartPointer< vtkCellArray > | Indices |
std::map< std::string, vtkSmartPointer< vtkDataArray > > | AttributeValues |
vtkSmartPointer< vtkPolyData > | Geometry |
std::vector< MorphTarget > | Targets |
int | Material |
int | Mode |
int | CellSize |
This struct describes a glTF primitive object.
primitives specify vertex attributes, as well as connectivity information for a draw call. A primitive also specifies a material and GPU primitive type (e.g: triangle set) Data is first stored as integer indices, pointing to different accessors, then extracted into vtk data structures and finally used to build a vtkPolyData object.
Definition at line 183 of file vtkGLTFDocumentLoader.h.
std::map<std::string, int> vtkGLTFDocumentLoader::Primitive::AttributeIndices |
Definition at line 186 of file vtkGLTFDocumentLoader.h.
int vtkGLTFDocumentLoader::Primitive::IndicesId |
Definition at line 187 of file vtkGLTFDocumentLoader.h.
vtkSmartPointer<vtkCellArray> vtkGLTFDocumentLoader::Primitive::Indices |
Definition at line 188 of file vtkGLTFDocumentLoader.h.
std::map<std::string, vtkSmartPointer<vtkDataArray> > vtkGLTFDocumentLoader::Primitive::AttributeValues |
Definition at line 191 of file vtkGLTFDocumentLoader.h.
vtkSmartPointer<vtkPolyData> vtkGLTFDocumentLoader::Primitive::Geometry |
Definition at line 193 of file vtkGLTFDocumentLoader.h.
std::vector<MorphTarget> vtkGLTFDocumentLoader::Primitive::Targets |
Definition at line 195 of file vtkGLTFDocumentLoader.h.
int vtkGLTFDocumentLoader::Primitive::Material |
Definition at line 197 of file vtkGLTFDocumentLoader.h.
int vtkGLTFDocumentLoader::Primitive::Mode |
Definition at line 198 of file vtkGLTFDocumentLoader.h.
int vtkGLTFDocumentLoader::Primitive::CellSize |
Definition at line 199 of file vtkGLTFDocumentLoader.h.