61 #ifndef vtkGLTFImporter_h
62 #define vtkGLTFImporter_h
64 #include "vtkIOImportModule.h"
88 vtkSetFilePathMacro(FileName);
89 vtkGetFilePathMacro(FileName);
161 void ApplySkinningMorphing();
163 char* FileName =
nullptr;
165 std::map<int, vtkSmartPointer<vtkCamera>>
Cameras;
166 std::map<int, vtkSmartPointer<vtkTexture>>
Textures;
167 std::map<int, std::vector<vtkSmartPointer<vtkActor>>>
Actors;
std::vector< bool > EnabledAnimations
std::string OutputsDescription
represents an object (geometry & properties) in a rendered scene
virtual void DisableAnimation(vtkIdType vtkNotUsed(animationIndex))
Enable/Disable/Get the status of specific animations.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
std::map< int, vtkSmartPointer< vtkCamera > > Cameras
virtual void ImportCameras(vtkRenderer *)
abstract specification for renderers
virtual std::string GetCameraName(vtkIdType vtkNotUsed(camIndex))
Get the name of a camera.
virtual vtkIdType GetNumberOfAnimations()
Get the number of available animations.
virtual void UpdateTimeStep(double timeStep)
Import the actors, camera, lights and properties at a specific timestep.
virtual void SetCamera(vtkIdType vtkNotUsed(camIndex))
Enable a specific camera.
dynamic, self-adjusting array of double
virtual int ImportBegin()
virtual void EnableAnimation(vtkIdType vtkNotUsed(animationIndex))
Enable/Disable/Get the status of specific animations.
a simple class to control print indentation
a virtual camera for 3D rendering
handles properties associated with a texture map
std::map< int, std::vector< vtkSmartPointer< vtkActor > > > Actors
virtual void ImportActors(vtkRenderer *)
virtual vtkIdType GetNumberOfCameras()
Get the number of available cameras.
std::map< int, vtkSmartPointer< vtkTexture > > Textures
virtual std::string GetAnimationName(vtkIdType vtkNotUsed(animationIndex))
Get the name of an animation.
virtual void ImportLights(vtkRenderer *)
vtkSmartPointer< vtkGLTFDocumentLoader > Loader
Deserialize a GLTF model file.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
virtual bool GetTemporalInformation(vtkIdType animationIndex, double frameRate, int &nbTimeSteps, double timeRange[2], vtkDoubleArray *timeSteps)
Get temporal informations for the currently enabled animations.
virtual bool IsAnimationEnabled(vtkIdType vtkNotUsed(animationIndex))
Enable/Disable/Get the status of specific animations.
std::string GetOutputsDescription() override
Get a printable string describing all outputs.