VTK  9.4.20251007
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< int > Children
int Camera
int Mesh
int Skin
vtkSmartPointer< vtkMatrix4x4Transform
vtkSmartPointer< vtkMatrix4x4GlobalTransform
bool TRSLoaded
vtkSmartPointer< vtkMatrix4x4Matrix
std::vector< float > InitialRotation
std::vector< float > InitialTranslation
std::vector< float > InitialScale
std::vector< float > InitialWeights
std::vector< float > Rotation
std::vector< float > Translation
std::vector< float > Scale
std::vector< float > Weights
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 vtkMatrix4x4 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 217 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 219 of file vtkGLTFDocumentLoader.h.

◆ Camera

int vtkGLTFDocumentLoader::Node::Camera

Definition at line 220 of file vtkGLTFDocumentLoader.h.

◆ Mesh

int vtkGLTFDocumentLoader::Node::Mesh

Definition at line 221 of file vtkGLTFDocumentLoader.h.

◆ Skin

int vtkGLTFDocumentLoader::Node::Skin

Definition at line 222 of file vtkGLTFDocumentLoader.h.

◆ Transform

vtkSmartPointer<vtkMatrix4x4> vtkGLTFDocumentLoader::Node::Transform

Definition at line 224 of file vtkGLTFDocumentLoader.h.

◆ GlobalTransform

vtkSmartPointer<vtkMatrix4x4> vtkGLTFDocumentLoader::Node::GlobalTransform

Definition at line 225 of file vtkGLTFDocumentLoader.h.

◆ TRSLoaded

bool vtkGLTFDocumentLoader::Node::TRSLoaded

Definition at line 227 of file vtkGLTFDocumentLoader.h.

◆ Matrix

vtkSmartPointer<vtkMatrix4x4> vtkGLTFDocumentLoader::Node::Matrix

Definition at line 229 of file vtkGLTFDocumentLoader.h.

◆ InitialRotation

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

Definition at line 231 of file vtkGLTFDocumentLoader.h.

◆ InitialTranslation

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

Definition at line 232 of file vtkGLTFDocumentLoader.h.

◆ InitialScale

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

Definition at line 233 of file vtkGLTFDocumentLoader.h.

◆ InitialWeights

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

Definition at line 234 of file vtkGLTFDocumentLoader.h.

◆ Rotation

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

Definition at line 235 of file vtkGLTFDocumentLoader.h.

◆ Translation

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

Definition at line 236 of file vtkGLTFDocumentLoader.h.

◆ Scale

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

Definition at line 237 of file vtkGLTFDocumentLoader.h.

◆ Weights

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

Definition at line 238 of file vtkGLTFDocumentLoader.h.

◆ ExtensionMetaData

Node::Extensions vtkGLTFDocumentLoader::Node::ExtensionMetaData

Definition at line 250 of file vtkGLTFDocumentLoader.h.

◆ Name

std::string vtkGLTFDocumentLoader::Node::Name

Definition at line 252 of file vtkGLTFDocumentLoader.h.


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