62 #ifndef vtkGLTFReader_h
63 #define vtkGLTFReader_h
65 #include "vtkIOGeometryModule.h"
108 vtkSetFilePathMacro(FileName);
109 vtkGetFilePathMacro(FileName);
119 void SetApplyDeformationsToGeometry(
bool flag);
120 vtkGetMacro(ApplyDeformationsToGeometry,
bool);
121 vtkBooleanMacro(ApplyDeformationsToGeometry,
bool);
131 vtkGetMacro(NumberOfAnimations,
vtkIdType);
133 float GetAnimationDuration(
vtkIdType animationIndex);
142 void EnableAnimation(
vtkIdType animationIndex);
143 void DisableAnimation(
vtkIdType animationIndex);
144 bool IsAnimationEnabled(
vtkIdType animationIndex);
174 vtkGetMacro(FrameRate,
unsigned int);
175 vtkSetMacro(FrameRate,
unsigned int);
203 void StoreTextureData();
205 char* FileName =
nullptr;
208 unsigned int FrameRate = 60;
212 bool IsModelLoaded =
false;
213 bool IsMetaDataLoaded =
false;
215 bool ApplyDeformationsToGeometry =
true;
229 void CreateSceneNamesArray();
235 void CreateAnimationSelection();
vtkSmartPointer< vtkGLTFDocumentLoader > Loader
a vtkAbstractArray subclass for strings
Materials are not directly applied to this reader's output.
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
static vtkMultiBlockDataSetAlgorithm * New()
vtkSmartPointer< vtkMultiBlockDataSet > OutputDataSet
vtkSmartPointer< vtkStringArray > SceneNames
vtkSmartPointer< vtkDataArraySelection > AnimationSelection
a simple class to control print indentation
topologically and geometrically regular array of data
Store on/off settings for data arrays, etc.
unsigned short WrapTValue
vtkSmartPointer< vtkImageData > Image
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
unsigned short MinFilterValue
vtkSmartPointer< vtkDataArraySelection > PreviousAnimationSelection
std::vector< GLTFTexture > Textures
unsigned short WrapSValue
Deserialize a GLTF model file.
unsigned short MaxFilterValue
represent and manipulate fields of data
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.