VTK
Classes | Public Member Functions | Public Attributes | List of all members
vtkGLTFDocumentLoader::Node Struct Reference

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

#include <vtkGLTFDocumentLoader.h>

Collaboration diagram for vtkGLTFDocumentLoader::Node:
[legend]

Classes

struct  Extensions
 

Public Member Functions

void UpdateTransform ()
 

Public Attributes

std::vector< intChildren
 
int Camera
 
int Mesh
 
int Skin
 
vtkSmartPointer< vtkTransformTransform
 
vtkSmartPointer< vtkTransformGlobalTransform
 
bool TRSLoaded
 
vtkSmartPointer< vtkMatrix4x4Matrix
 
std::vector< floatInitialRotation
 
std::vector< floatInitialTranslation
 
std::vector< floatInitialScale
 
std::vector< floatInitialWeights
 
std::vector< floatRotation
 
std::vector< floatTranslation
 
std::vector< floatScale
 
std::vector< floatWeights
 
Node::Extensions ExtensionMetaData
 
std::string Name
 

Detailed Description

This struct describes a glTF node object.

A node represents an object within a scene. Nodes can contain transform properties (stored as vtkTransform objects) as well as indices to children nodes, forming a hierarchy. No node may be a direct descendant of more than one node.

Definition at line 209 of file vtkGLTFDocumentLoader.h.

Member Function Documentation

◆ UpdateTransform()

void vtkGLTFDocumentLoader::Node::UpdateTransform ( )

Member Data Documentation

◆ Children

std::vector<int> vtkGLTFDocumentLoader::Node::Children

Definition at line 211 of file vtkGLTFDocumentLoader.h.

◆ Camera

int vtkGLTFDocumentLoader::Node::Camera

Definition at line 212 of file vtkGLTFDocumentLoader.h.

◆ Mesh

int vtkGLTFDocumentLoader::Node::Mesh

Definition at line 213 of file vtkGLTFDocumentLoader.h.

◆ Skin

int vtkGLTFDocumentLoader::Node::Skin

Definition at line 214 of file vtkGLTFDocumentLoader.h.

◆ Transform

vtkSmartPointer<vtkTransform> vtkGLTFDocumentLoader::Node::Transform

Definition at line 216 of file vtkGLTFDocumentLoader.h.

◆ GlobalTransform

vtkSmartPointer<vtkTransform> vtkGLTFDocumentLoader::Node::GlobalTransform

Definition at line 217 of file vtkGLTFDocumentLoader.h.

◆ TRSLoaded

bool vtkGLTFDocumentLoader::Node::TRSLoaded

Definition at line 219 of file vtkGLTFDocumentLoader.h.

◆ Matrix

vtkSmartPointer<vtkMatrix4x4> vtkGLTFDocumentLoader::Node::Matrix

Definition at line 221 of file vtkGLTFDocumentLoader.h.

◆ InitialRotation

std::vector<float> vtkGLTFDocumentLoader::Node::InitialRotation

Definition at line 223 of file vtkGLTFDocumentLoader.h.

◆ InitialTranslation

std::vector<float> vtkGLTFDocumentLoader::Node::InitialTranslation

Definition at line 224 of file vtkGLTFDocumentLoader.h.

◆ InitialScale

std::vector<float> vtkGLTFDocumentLoader::Node::InitialScale

Definition at line 225 of file vtkGLTFDocumentLoader.h.

◆ InitialWeights

std::vector<float> vtkGLTFDocumentLoader::Node::InitialWeights

Definition at line 226 of file vtkGLTFDocumentLoader.h.

◆ Rotation

std::vector<float> vtkGLTFDocumentLoader::Node::Rotation

Definition at line 227 of file vtkGLTFDocumentLoader.h.

◆ Translation

std::vector<float> vtkGLTFDocumentLoader::Node::Translation

Definition at line 228 of file vtkGLTFDocumentLoader.h.

◆ Scale

std::vector<float> vtkGLTFDocumentLoader::Node::Scale

Definition at line 229 of file vtkGLTFDocumentLoader.h.

◆ Weights

std::vector<float> vtkGLTFDocumentLoader::Node::Weights

Definition at line 230 of file vtkGLTFDocumentLoader.h.

◆ ExtensionMetaData

Node::Extensions vtkGLTFDocumentLoader::Node::ExtensionMetaData

Definition at line 242 of file vtkGLTFDocumentLoader.h.

◆ Name

std::string vtkGLTFDocumentLoader::Node::Name

Definition at line 244 of file vtkGLTFDocumentLoader.h.


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