|
VTK
9.4.2
|
This struct describes a glTF primitive object. More...
#include <vtkGLTFDocumentLoader.h>
Classes | |
| struct | Extensions |
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 |
| Primitive::Extensions | ExtensionMetaData |
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 178 of file vtkGLTFDocumentLoader.h.
| std::map<std::string, int> vtkGLTFDocumentLoader::Primitive::AttributeIndices |
Definition at line 181 of file vtkGLTFDocumentLoader.h.
| int vtkGLTFDocumentLoader::Primitive::IndicesId |
Definition at line 182 of file vtkGLTFDocumentLoader.h.
| vtkSmartPointer<vtkCellArray> vtkGLTFDocumentLoader::Primitive::Indices |
Definition at line 183 of file vtkGLTFDocumentLoader.h.
| std::map<std::string, vtkSmartPointer<vtkDataArray> > vtkGLTFDocumentLoader::Primitive::AttributeValues |
Definition at line 186 of file vtkGLTFDocumentLoader.h.
| vtkSmartPointer<vtkPolyData> vtkGLTFDocumentLoader::Primitive::Geometry |
Definition at line 188 of file vtkGLTFDocumentLoader.h.
| std::vector<MorphTarget> vtkGLTFDocumentLoader::Primitive::Targets |
Definition at line 190 of file vtkGLTFDocumentLoader.h.
| int vtkGLTFDocumentLoader::Primitive::Material |
Definition at line 192 of file vtkGLTFDocumentLoader.h.
| int vtkGLTFDocumentLoader::Primitive::Mode |
Definition at line 193 of file vtkGLTFDocumentLoader.h.
| int vtkGLTFDocumentLoader::Primitive::CellSize |
Definition at line 194 of file vtkGLTFDocumentLoader.h.
| Primitive::Extensions vtkGLTFDocumentLoader::Primitive::ExtensionMetaData |
Definition at line 208 of file vtkGLTFDocumentLoader.h.