NorMIT-nav  22.09
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"
18 
19 class QColor;
20 
21 
22 namespace cx
23 {
24 
31 class cxResourceVisualization_EXPORT GraphicalTorus3D : public GraphicalObjectWithDirection
32 {
33 public:
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