CustusX  22.04-rc5
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
Base helper class for rendering objects with a specific direction in 3D.
Helper for rendering a torus in 3D.
vtkSmartPointer< class vtkRenderer > vtkRendererPtr
boost::shared_ptr< GraphicalTorus3D > GraphicalTorus3DPtr
Namespace for all CustusX production code.