iMSTK
Interactive Medical Simulation Toolkit
Source
RenderingVTK
RenderDelegate
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
{
20
class
VTKOrientedCubeRenderDelegate
:
public
VTKPolyDataRenderDelegate
21
{
22
public
:
23
VTKOrientedCubeRenderDelegate
();
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
imstk::VTKOrientedCubeRenderDelegate::processEvents
void processEvents() override
Update cube source based on the cube geometry.
Definition:
imstkVTKOrientedBoxRenderDelegate.cpp:54
imstk::VTKOrientedCubeRenderDelegate
Delegates rendering of OrientedBox to VTK from VisualModel.
Definition:
imstkVTKOrientedBoxRenderDelegate.h:20
imstk
Compound Geometry.
Definition:
OctreeDebugModel.cpp:10
imstk::VTKPolyDataRenderDelegate
Abstract base class for PolyData-based RenderDelegates.
Definition:
imstkVTKPolyDataRenderDelegate.h:18
Generated by
1.8.13