iMSTK
Interactive Medical Simulation Toolkit
imstkVTKOrientedBoxRenderDelegate.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 "imstkVTKPolyDataRenderDelegate.h"
10 
11 class vtkCubeSource;
12 
13 namespace imstk
14 {
21 {
22 public:
24  ~VTKOrientedCubeRenderDelegate() override = default;
25 
29  void processEvents() override;
30 
31 protected:
32  void init() override;
33 
34  vtkSmartPointer<vtkCubeSource> m_cubeSource;
35 };
36 } // namespace imstk
void processEvents() override
Update cube source based on the cube geometry.
Delegates rendering of OrientedBox to VTK from VisualModel.
Compound Geometry.
Abstract base class for PolyData-based RenderDelegates.