VTK  9.3.20240425
Public Types | Public Member Functions | Public Attributes | List of all members
vtkGLTFDocumentLoader::Animation::Sampler Struct Reference

#include <vtkGLTFDocumentLoader.h>

Collaboration diagram for vtkGLTFDocumentLoader::Animation::Sampler:
[legend]

Public Types

enum class  InterpolationMode : unsigned char { LINEAR , STEP , CUBICSPLINE }
 

Public Member Functions

void GetInterpolatedData (float t, size_t numberOfComponents, std::vector< float > *output, bool forceStep=false, bool isRotation=false) const
 Get the interpolated animation output at time t.
 

Public Attributes

InterpolationMode Interpolation
 
unsigned int Input
 
unsigned int Output
 
int NumberOfComponents
 
vtkSmartPointer< vtkFloatArrayInputData
 
vtkSmartPointer< vtkFloatArrayOutputData
 

Detailed Description

Definition at line 392 of file vtkGLTFDocumentLoader.h.

Member Enumeration Documentation

◆ InterpolationMode

Enumerator
LINEAR 
STEP 
CUBICSPLINE 

Definition at line 394 of file vtkGLTFDocumentLoader.h.

Member Function Documentation

◆ GetInterpolatedData()

void vtkGLTFDocumentLoader::Animation::Sampler::GetInterpolatedData ( float  t,
size_t  numberOfComponents,
std::vector< float > *  output,
bool  forceStep = false,
bool  isRotation = false 
) const

Get the interpolated animation output at time t.

Member Data Documentation

◆ Interpolation

InterpolationMode vtkGLTFDocumentLoader::Animation::Sampler::Interpolation

Definition at line 400 of file vtkGLTFDocumentLoader.h.

◆ Input

unsigned int vtkGLTFDocumentLoader::Animation::Sampler::Input

Definition at line 401 of file vtkGLTFDocumentLoader.h.

◆ Output

unsigned int vtkGLTFDocumentLoader::Animation::Sampler::Output

Definition at line 402 of file vtkGLTFDocumentLoader.h.

◆ NumberOfComponents

int vtkGLTFDocumentLoader::Animation::Sampler::NumberOfComponents

Definition at line 403 of file vtkGLTFDocumentLoader.h.

◆ InputData

vtkSmartPointer<vtkFloatArray> vtkGLTFDocumentLoader::Animation::Sampler::InputData

Definition at line 405 of file vtkGLTFDocumentLoader.h.

◆ OutputData

vtkSmartPointer<vtkFloatArray> vtkGLTFDocumentLoader::Animation::Sampler::OutputData

Definition at line 406 of file vtkGLTFDocumentLoader.h.


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