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< 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 for a vtkSource.
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.