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