add cylinder emitter
This commit is contained in:
@@ -9,6 +9,7 @@ class vtkLineSource;
|
||||
class vtkPolyData;
|
||||
class vtkActor;
|
||||
class vtkPlaneSource;
|
||||
class vtkCylinderSource;
|
||||
|
||||
namespace uLib {
|
||||
namespace Vtk {
|
||||
@@ -38,6 +39,8 @@ private:
|
||||
vtkPlaneSource *m_PlaneSource;
|
||||
};
|
||||
|
||||
|
||||
|
||||
class vtkQuadMeshEmitterPrimary : public vtkEmitterPrimary {
|
||||
public:
|
||||
vtkQuadMeshEmitterPrimary(Geant::QuadMeshEmitterPrimary &emitter);
|
||||
@@ -47,6 +50,18 @@ private:
|
||||
Geant::QuadMeshEmitterPrimary &m_meshEmitter;
|
||||
};
|
||||
|
||||
class vtkCylinderEmitterPrimary : public vtkEmitterPrimary {
|
||||
public:
|
||||
vtkCylinderEmitterPrimary(Geant::CylinderEmitterPrimary &emitter);
|
||||
virtual ~vtkCylinderEmitterPrimary();
|
||||
|
||||
virtual void contentUpdate();
|
||||
|
||||
private:
|
||||
Geant::CylinderEmitterPrimary &m_cylinderEmitter;
|
||||
vtkCylinderSource *m_CylinderSource;
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user