61 #ifndef vtkGLTFImporter_h
62 #define vtkGLTFImporter_h
65 #include "vtkIOImportModule.h"
73 VTK_ABI_NAMESPACE_BEGIN
106 void SetStreamIsBinary(
bool val);
108 bool GetStreamIsBinary();
110 void StreamIsBinaryOn();
112 void StreamIsBinaryOff();
124 static
bool CanReadFile(const
std::
string& filename);
137 std::
string GetOutputsDescription()
override {
return this->OutputsDescription; }
195 bool GetTemporalInformation(
vtkIdType animationIndex,
double frameRate,
int& nbTimeSteps,
204 bool GetTemporalInformation(
vtkIdType animationIndex,
double timeRange[2],
int& nbTimeSteps,
224 virtual void InitializeLoader();
232 void ApplySkinningMorphing();
240 virtual void ApplyArmatureProperties(
vtkActor* actor);
245 bool StreamIsBinary = false;
251 std::
string OutputsDescription;
265 void GuessCamerasFocalPoints();
268 VTK_ABI_NAMESPACE_END
virtual bool IsAnimationEnabled(vtkIdType animationIndex)
Enable/Disable/Get the status of specific animations.
represents an object (geometry & properties) in a rendered scene
Abstract class used for custom streams.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
InterpolateAnimationSupportLevel
virtual void EnableAnimation(vtkIdType animationIndex)
Enable/Disable/Get the status of specific animations.
virtual void ImportCameras(vtkRenderer *)
abstract specification for renderers
Hold a reference to a vtkObjectBase instance.
virtual vtkIdType GetNumberOfAnimations()
Get the number of available animations.
dynamic, self-adjusting array of double
virtual int ImportBegin()
virtual void DisableAnimation(vtkIdType animationIndex)
Enable/Disable/Get the status of specific animations.
virtual std::string GetAnimationName(vtkIdType animationIndex)
Get the name of an animation.
#define VTK_DEPRECATED_IN_9_6_0(reason)
a simple class to control print indentation
a virtual camera for 3D rendering
AnimationSupportLevel GetAnimationSupportLevel() override
Get the level of animation support in this importer, which is always AnimationSupportLevel::MULTI.
handles properties associated with a texture map
virtual std::string GetCameraName(vtkIdType camIndex)
Get the name of a camera.
virtual void ImportActors(vtkRenderer *)
virtual vtkIdType GetNumberOfCameras()
Get the number of available cameras.
virtual void ImportLights(vtkRenderer *)
virtual bool UpdateAtTimeValue(double timeValue)
Import the actors, camera, lights and properties at a specific time value.
Helper class for readers and importer that need to load more than one resource.
vtkSmartPointer< vtkURILoader > StreamURILoader
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 void SetCamera(vtkIdType camIndex)
Enable a specific camera.
#define VTK_DEPRECATED_IN_9_7_0(reason)