fixed vtk containerbox handler
This commit is contained in:
@@ -58,7 +58,7 @@ class vtkActor;
|
||||
namespace uLib {
|
||||
namespace Vtk {
|
||||
|
||||
class vtkVoxRaytracerRepresentation : public Puppet {
|
||||
class vtkVoxRaytracerRepresentation : public Puppet, public Object {
|
||||
typedef VoxRaytracer Content;
|
||||
|
||||
public:
|
||||
@@ -67,7 +67,9 @@ public:
|
||||
|
||||
uLib::VoxRaytracer *GetRaytracerAlgorithm();
|
||||
|
||||
vtkProp *GetProp();
|
||||
virtual void Update() override;
|
||||
|
||||
void imageUpdate();
|
||||
|
||||
vtkPolyData *GetPolyData() const;
|
||||
|
||||
@@ -99,9 +101,12 @@ private:
|
||||
void SetColor(vtkActor *actor, Vector4f rgba);
|
||||
|
||||
VoxRaytracer *m_Content;
|
||||
MuonScatter m_Muon;
|
||||
HPoint3f m_Poca;
|
||||
bool m_HasMuon;
|
||||
bool m_HasPoca;
|
||||
|
||||
Scalarf default_radius;
|
||||
vtkAssembly *m_Assembly;
|
||||
vtkAppendPolyData *m_RayLine;
|
||||
vtkActor *m_RayLineActor;
|
||||
vtkActor *m_RayRepresentationActor;
|
||||
|
||||
Reference in New Issue
Block a user