 |
VTK
9.0.1
|
Go to the documentation of this file.
59 #ifndef vtkGLTFReader_h
60 #define vtkGLTFReader_h
62 #include "vtkIOGeometryModule.h"
105 vtkSetStringMacro(FileName);
106 vtkGetStringMacro(FileName);
116 void SetApplyDeformationsToGeometry(
bool flag);
117 vtkGetMacro(ApplyDeformationsToGeometry,
bool);
118 vtkBooleanMacro(ApplyDeformationsToGeometry,
bool);
128 vtkGetMacro(NumberOfAnimations,
vtkIdType);
130 float GetAnimationDuration(
vtkIdType animationIndex);
139 void EnableAnimation(
vtkIdType animationIndex);
140 void DisableAnimation(
vtkIdType animationIndex);
141 bool IsAnimationEnabled(
vtkIdType animationIndex);
171 vtkGetMacro(FrameRate,
unsigned int);
172 vtkSetMacro(FrameRate,
unsigned int);
200 void StoreTextureData();
202 char* FileName =
nullptr;
205 unsigned int FrameRate = 60;
209 bool IsModelLoaded =
false;
210 bool IsMetaDataLoaded =
false;
212 bool ApplyDeformationsToGeometry =
true;
226 void CreateSceneNamesArray();
232 void CreateAnimationSelection();
vtkSmartPointer< vtkDataArraySelection > AnimationSelection
static vtkMultiBlockDataSetAlgorithm * New()
vtkSmartPointer< vtkStringArray > SceneNames
represent and manipulate fields of data
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
Store on/off settings for data arrays for a vtkSource.
unsigned short WrapTValue
unsigned short MinFilterValue
topologically and geometrically regular array of data
a simple class to control print indentation
vtkSmartPointer< vtkMultiBlockDataSet > OutputDataSet
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkSmartPointer< vtkImageData > Image
Deserialize a GLTF model file.
vtkSmartPointer< vtkGLTFDocumentLoader > Loader
vtkSmartPointer< vtkDataArraySelection > PreviousAnimationSelection
a vtkAbstractArray subclass for strings
unsigned short MaxFilterValue
Materials are not directly applied to this reader's output.
std::vector< GLTFTexture > Textures
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
unsigned short WrapSValue
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.