vtkGeantEvent
This commit is contained in:
@@ -37,6 +37,7 @@ class vtkRenderer;
|
||||
class vtkRendererCollection;
|
||||
class vtkRenderWindowInteractor;
|
||||
|
||||
|
||||
namespace uLib {
|
||||
namespace Vtk {
|
||||
|
||||
@@ -59,8 +60,28 @@ public:
|
||||
|
||||
vtkRendererCollection *GetRenderers() const;
|
||||
|
||||
enum Representation {
|
||||
Points,
|
||||
Wireframe,
|
||||
Surface
|
||||
};
|
||||
|
||||
virtual void PrintSelf(std::ostream &o) const;
|
||||
|
||||
void ShowBoundingBox(bool show = true);
|
||||
|
||||
void ShowScaleMeasures(bool show = true);
|
||||
|
||||
void SetRepresentation(Representation mode);
|
||||
|
||||
void SetRepresentation(const char *mode);
|
||||
|
||||
void SetColor(double r, double g, double b);
|
||||
|
||||
void SetOpacity(double alpha);
|
||||
|
||||
|
||||
|
||||
virtual void ConnectInteractor(class vtkRenderWindowInteractor *interactor) {
|
||||
(void)interactor;
|
||||
}
|
||||
@@ -75,18 +96,6 @@ private:
|
||||
class PuppetData *d;
|
||||
};
|
||||
|
||||
class Polydata {
|
||||
public:
|
||||
virtual vtkPolyData *GetPolyData() const { return NULL; }
|
||||
|
||||
virtual void SaveToFile(const char *vtk_file);
|
||||
|
||||
virtual void SaveToXMLFile(const char *vtp_file);
|
||||
|
||||
protected:
|
||||
virtual ~Polydata() {}
|
||||
};
|
||||
|
||||
} // namespace Vtk
|
||||
} // namespace uLib
|
||||
|
||||
|
||||
Reference in New Issue
Block a user