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:

Public Types

enum  InterpolationMode : unsigned char { InterpolationMode::LINEAR, InterpolationMode::STEP, InterpolationMode::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. More...

Public Attributes

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

Detailed Description

Definition at line 400 of file vtkGLTFDocumentLoader.h.

Member Enumeration Documentation

◆ InterpolationMode


Definition at line 402 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 408 of file vtkGLTFDocumentLoader.h.

◆ Input

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

Definition at line 409 of file vtkGLTFDocumentLoader.h.

◆ Output

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

Definition at line 410 of file vtkGLTFDocumentLoader.h.

◆ NumberOfComponents

int vtkGLTFDocumentLoader::Animation::Sampler::NumberOfComponents

Definition at line 411 of file vtkGLTFDocumentLoader.h.

◆ InputData

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

Definition at line 413 of file vtkGLTFDocumentLoader.h.

◆ OutputData

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

Definition at line 414 of file vtkGLTFDocumentLoader.h.

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