52 #ifndef vtkGLTFReader_h
53 #define vtkGLTFReader_h
55 #include "vtkIOGeometryModule.h"
64 VTK_ABI_NAMESPACE_BEGIN
101 vtkSetFilePathMacro(FileName);
102 vtkGetFilePathMacro(FileName);
131 void SetApplyDeformationsToGeometry(
bool flag);
132 vtkGetMacro(ApplyDeformationsToGeometry,
bool);
133 vtkBooleanMacro(ApplyDeformationsToGeometry,
bool);
143 vtkGetMacro(NumberOfAnimations,
vtkIdType);
145 float GetAnimationDuration(
vtkIdType animationIndex);
154 void EnableAnimation(
vtkIdType animationIndex);
155 void DisableAnimation(
vtkIdType animationIndex);
156 bool IsAnimationEnabled(
vtkIdType animationIndex);
187 vtkGetMacro(FrameRate,
unsigned int);
188 vtkSetMacro(FrameRate,
unsigned int);
216 void StoreTextureData();
218 char* FileName =
nullptr;
224 unsigned int FrameRate = 60;
228 bool IsModelLoaded =
false;
229 bool IsMetaDataLoaded =
false;
231 bool ApplyDeformationsToGeometry =
true;
245 void CreateSceneNamesArray();
251 void CreateAnimationSelection();
258 VTK_ABI_NAMESPACE_END
Abstract class used for custom streams.
vtkTypeUInt32 vtkMTimeType
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.
vtkSmartPointer< vtkURILoader > URILoader
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
Helper class for readers and importer that need to load more than one resource.
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.
vtkSmartPointer< vtkResourceStream > Stream