iMSTK
Interactive Medical Simulation Toolkit
imstkVTKAxesRenderDelegate.h
1 /*
2 ** This file is part of the Interactive Medical Simulation Toolkit (iMSTK)
3 ** iMSTK is distributed under the Apache License, Version 2.0.
4 ** See accompanying NOTICE for details.
5 */
6 
7 #pragma once
8 
9 #include "imstkVTKRenderDelegate.h"
10 
11 class vtkAxesActor;
12 
13 namespace imstk
14 {
21 {
22 public:
24  ~VTKAxesRenderDelegate() override = default;
25 
29  void processEvents() override;
30  void updateRenderProperties() override { }
31 
32 protected:
33  void init() override;
34 
35  vtkSmartPointer<vtkAxesActor> m_axesActor;
36 };
37 } // namespace imstk
void processEvents() override
Update sphere source based on the sphere geometry.
Delegates rendering of Axes to VTK from VisualModel.
Compound Geometry.
Base class for VTK render delegates.
void updateRenderProperties() override
Updates the actor and mapper properties from the currently set VisualModel.