VTK  9.1.0
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. More...
 

Public Attributes

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

Detailed Description

Definition at line 402 of file vtkGLTFDocumentLoader.h.

Member Enumeration Documentation

◆ InterpolationMode

Enumerator
LINEAR 
STEP 
CUBICSPLINE 

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

◆ Input

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

Definition at line 411 of file vtkGLTFDocumentLoader.h.

◆ Output

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

Definition at line 412 of file vtkGLTFDocumentLoader.h.

◆ NumberOfComponents

int vtkGLTFDocumentLoader::Animation::Sampler::NumberOfComponents

Definition at line 413 of file vtkGLTFDocumentLoader.h.

◆ InputData

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

Definition at line 415 of file vtkGLTFDocumentLoader.h.

◆ OutputData

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

Definition at line 416 of file vtkGLTFDocumentLoader.h.


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