/*=========================================================================*/ // .NAME vtk3DSImporterEsqui - imports 3D Studio files for Esqui purpouses. // .SECTION Description // vtk3DSImporterEsqui imports 3D Studio files into vtk for ESQUI purpouses. // .SECTION See Also // vtk3DSImporter, vtkImporter #ifndef __vtk3DSImporterEsqui_h #define __vtk3DSImporterEsqui_h #include "vtk3DSImporter.h" #include "vtkesquiToolsWin32Header.h" #include "vtkPolyDataCollection.h" #include "vtkPolyData.h" class vtkActorCollection; class vtkTransformPolyDataFilter; //! Importa ficheros 3DS para usarlos en el simulador ESQUI class VTK_ESQUI_TOOLS_EXPORT vtk3DSImporterEsqui : public vtk3DSImporter { public: vtkTypeRevisionMacro(vtk3DSImporterEsqui,vtk3DSImporter); static vtk3DSImporterEsqui *New(); const char *GetClassName() {return "vtk3DSImporterEsqui";}; //! Devuelve una coleccion de actores del fichero 3DS importado vtkActorCollection *GetActorCollection(); void SetFactorDeEscala(float fRadius); float GetFactorDeEscala(); protected: vtk3DSImporterEsqui(); ~vtk3DSImporterEsqui() {}; float FactorDeEscala; vtkTransformPolyDataFilter *Filtro; vtkActorCollection *Actores; //! Importa los actores del fichero 3DS virtual void ImportActors (vtkRenderer *renderer); //! Interpreta el fichero 3DS virtual void ReadData(); private: vtk3DSImporterEsqui(const vtk3DSImporterEsqui &); // Not implemented. void operator=(const vtk3DSImporterEsqui &); // Not implemented. }; #endif