mirror of
https://github.com/OpenCMT/uLib.git
synced 2025-12-06 15:31:31 +01:00
Removed Pimpl in Vtk
This commit is contained in:
@@ -31,6 +31,10 @@
|
||||
#include <iostream>
|
||||
#include "uLibVtkInterface.h"
|
||||
|
||||
#include <vtkRenderer.h>
|
||||
#include <vtkRenderWindow.h>
|
||||
#include <vtkCornerAnnotation.h>
|
||||
#include <vtkOrientationMarkerWidget.h>
|
||||
|
||||
class vtkProp;
|
||||
class vtk3DWidget;
|
||||
@@ -79,10 +83,22 @@ public:
|
||||
void RemoveProp(vtkProp *prop);
|
||||
|
||||
private:
|
||||
class ViewerPimpl *d;
|
||||
void InstallPipe();
|
||||
void UninstallPipe();
|
||||
|
||||
vtkRenderer *m_Renderer;
|
||||
vtkRenderWindow *m_RenderWindow;
|
||||
vtkCornerAnnotation *m_Annotation;
|
||||
vtkOrientationMarkerWidget *m_Marker;
|
||||
};
|
||||
|
||||
template <> class Tie<Viewer>;
|
||||
template <>
|
||||
class Tie<Viewer> {
|
||||
public:
|
||||
void DoAction() {
|
||||
std::cout << " VIEWER TIE !!! \n";
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
} // vtk
|
||||
|
||||
Reference in New Issue
Block a user