VTK  9.1.0
Public Attributes | List of all members
vtkGLTFDocumentLoader::Primitive Struct Reference

This struct describes a glTF primitive object. More...

#include <vtkGLTFDocumentLoader.h>

Collaboration diagram for vtkGLTFDocumentLoader::Primitive:
[legend]

Public Attributes

std::map< std::string, int > AttributeIndices
 
int IndicesId
 
vtkSmartPointer< vtkCellArrayIndices
 
std::map< std::string, vtkSmartPointer< vtkDataArray > > AttributeValues
 
vtkSmartPointer< vtkPolyDataGeometry
 
std::vector< MorphTargetTargets
 
int Material
 
int Mode
 
int CellSize
 

Detailed Description

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 186 of file vtkGLTFDocumentLoader.h.

Member Data Documentation

◆ AttributeIndices

std::map<std::string, int> vtkGLTFDocumentLoader::Primitive::AttributeIndices

Definition at line 189 of file vtkGLTFDocumentLoader.h.

◆ IndicesId

int vtkGLTFDocumentLoader::Primitive::IndicesId

Definition at line 190 of file vtkGLTFDocumentLoader.h.

◆ Indices

vtkSmartPointer<vtkCellArray> vtkGLTFDocumentLoader::Primitive::Indices

Definition at line 191 of file vtkGLTFDocumentLoader.h.

◆ AttributeValues

std::map<std::string, vtkSmartPointer<vtkDataArray> > vtkGLTFDocumentLoader::Primitive::AttributeValues

Definition at line 194 of file vtkGLTFDocumentLoader.h.

◆ Geometry

vtkSmartPointer<vtkPolyData> vtkGLTFDocumentLoader::Primitive::Geometry

Definition at line 196 of file vtkGLTFDocumentLoader.h.

◆ Targets

std::vector<MorphTarget> vtkGLTFDocumentLoader::Primitive::Targets

Definition at line 198 of file vtkGLTFDocumentLoader.h.

◆ Material

int vtkGLTFDocumentLoader::Primitive::Material

Definition at line 200 of file vtkGLTFDocumentLoader.h.

◆ Mode

int vtkGLTFDocumentLoader::Primitive::Mode

Definition at line 201 of file vtkGLTFDocumentLoader.h.

◆ CellSize

int vtkGLTFDocumentLoader::Primitive::CellSize

Definition at line 202 of file vtkGLTFDocumentLoader.h.


The documentation for this struct was generated from the following file: