DetectorChamber vtk handler
This commit is contained in:
@@ -23,17 +23,11 @@
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////*/
|
||||
|
||||
|
||||
|
||||
#ifndef ULIBVTKINTERFACE_H
|
||||
#define ULIBVTKINTERFACE_H
|
||||
|
||||
|
||||
|
||||
#include <ostream>
|
||||
#include <iomanip>
|
||||
|
||||
|
||||
#include <ostream>
|
||||
|
||||
// vtk classes forward declaration //
|
||||
class vtkProp;
|
||||
@@ -42,66 +36,57 @@ class vtkPropCollection;
|
||||
class vtkRenderer;
|
||||
class vtkRendererCollection;
|
||||
|
||||
|
||||
namespace uLib {
|
||||
namespace Vtk {
|
||||
|
||||
class Puppet
|
||||
{
|
||||
class Puppet {
|
||||
public:
|
||||
Puppet();
|
||||
~Puppet();
|
||||
Puppet();
|
||||
~Puppet();
|
||||
|
||||
virtual vtkProp * GetProp();
|
||||
virtual vtkProp *GetProp();
|
||||
|
||||
virtual vtkPropCollection * GetProps();
|
||||
virtual vtkPropCollection *GetProps();
|
||||
|
||||
void ConnectRenderer(vtkRenderer *renderer);
|
||||
void ConnectRenderer(vtkRenderer *renderer);
|
||||
|
||||
void DisconnectRenderer(vtkRenderer *renderer);
|
||||
void DisconnectRenderer(vtkRenderer *renderer);
|
||||
|
||||
void ConnectViewer(class Viewer *viewer);
|
||||
void ConnectViewer(class Viewer *viewer);
|
||||
|
||||
void DisonnectViewer(class Viewer *viewer);
|
||||
void DisonnectViewer(class Viewer *viewer);
|
||||
|
||||
vtkRendererCollection * GetRenderers() const;
|
||||
vtkRendererCollection *GetRenderers() const;
|
||||
|
||||
virtual void PrintSelf(std::ostream &o) const;
|
||||
|
||||
virtual void PrintSelf(std::ostream &o) const;
|
||||
|
||||
virtual void ConnectInteractor(class vtkRenderWindowInteractor *interactor) { (void)interactor; }
|
||||
virtual void ConnectInteractor(class vtkRenderWindowInteractor *interactor) {
|
||||
(void)interactor;
|
||||
}
|
||||
|
||||
protected:
|
||||
void SetProp(vtkProp *prop);
|
||||
|
||||
void SetProp(vtkProp *prop);
|
||||
|
||||
void RemoveProp(vtkProp *prop);
|
||||
void RemoveProp(vtkProp *prop);
|
||||
|
||||
private:
|
||||
friend class PuppetData;
|
||||
class PuppetData *d;
|
||||
friend class PuppetData;
|
||||
class PuppetData *d;
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
class Polydata {
|
||||
public:
|
||||
virtual vtkPolyData *GetPolyData() const { return NULL; }
|
||||
|
||||
virtual vtkPolyData * GetPolyData() const { return NULL; }
|
||||
virtual void SaveToFile(const char *vtk_file);
|
||||
|
||||
virtual void SaveToFile(const char *vtk_file);
|
||||
|
||||
virtual void SaveToXMLFile(const char *vtp_file);
|
||||
virtual void SaveToXMLFile(const char *vtp_file);
|
||||
|
||||
protected:
|
||||
virtual ~Polydata() {}
|
||||
virtual ~Polydata() {}
|
||||
};
|
||||
|
||||
|
||||
} // vtk
|
||||
} // uLib
|
||||
|
||||
|
||||
} // namespace Vtk
|
||||
} // namespace uLib
|
||||
|
||||
#endif // ULIBVTKINTERFACE_H
|
||||
|
||||
Reference in New Issue
Block a user