Fraxinus  18.10
An IGT application
cxSimpleSyntheticVolume.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 SIMPLESYNTHETICVOLUME_H
13 #define SIMPLESYNTHETICVOLUME_H
14 
15 #include "cxtestutilities_export.h"
16 
17 #include "cxSyntheticVolume.h"
18 
19 namespace cx {
20 
21 class CXTESTUTILITIES_EXPORT cxSimpleSyntheticVolume : public cxSyntheticVolume
22 {
23 public:
25 
26  virtual void printInfo() const;
27 
28  virtual bool isOnLine(float x,
29  float y,
30  float thickness,
31  int n_lines,
32  int axis) const;
33  virtual unsigned char evaluate(const cx::Vector3D &p) const;
34 
35 };
36 
37 }
38 #endif
Eigen::Vector3d Vector3D
Vector3D is a representation of a point or vector in 3D.
Definition: cxVector3D.h:42
Namespace for all CustusX production code.