NorMIT-nav
2023.01.05-dev+develop.0da12
An IGT application
cxGraphicalTorus3D.h
Go to the documentation of this file.
1
/*=========================================================================
2
This file is part of CustusX, an Image Guided Therapy Application.
3
4
Copyright (c) SINTEF Department of Medical Technology.
5
All rights reserved.
6
7
CustusX is released under a BSD 3-Clause license.
8
9
See Lisence.txt (https://github.com/SINTEFMedtek/CustusX/blob/master/License.txt) for details.
10
=========================================================================*/
11
12
#ifndef CXGRAPHICALTORUS3D_H
13
#define CXGRAPHICALTORUS3D_H
14
15
#include "cxResourceVisualizationExport.h"
16
#include "
vtkForwardDeclarations.h
"
17
#include "
cxGraphicalObjectWithDirection.h
"
18
19
class
QColor;
20
21
22
namespace
cx
23
{
24
31
class
cxResourceVisualization_EXPORT
GraphicalTorus3D
:
public
GraphicalObjectWithDirection
32
{
33
public
:
34
GraphicalTorus3D
(
vtkRendererPtr
renderer =
vtkRendererPtr
());
35
~
GraphicalTorus3D
();
36
void
setRadius(
double
value);
37
void
setThickness(
double
radius);
38
void
setColor(QColor color);
39
};
40
typedef
boost::shared_ptr<GraphicalTorus3D>
GraphicalTorus3DPtr
;
41
42
43
}
// namespace cx
44
45
#endif // CXGRAPHICALTORUS3D_H
cxGraphicalObjectWithDirection.h
cx::GraphicalTorus3DPtr
boost::shared_ptr< GraphicalTorus3D > GraphicalTorus3DPtr
Definition:
cxGraphicalTorus3D.h:40
cx
Namespace for all CustusX production code.
Definition:
cx_dev_group_definitions.h:13
cx::GraphicalObjectWithDirection
Base helper class for rendering objects with a specific direction in 3D.
Definition:
cxGraphicalObjectWithDirection.h:31
vtkForwardDeclarations.h
cx::GraphicalTorus3D
Helper for rendering a torus in 3D.
Definition:
cxGraphicalTorus3D.h:31
vtkRendererPtr
vtkSmartPointer< class vtkRenderer > vtkRendererPtr
Definition:
vtkForwardDeclarations.h:122
CX
source
resource
view
Primitives
cxGraphicalTorus3D.h
Generated on Thu Jan 5 2023 03:15:55 for NorMIT-nav by
1.8.17