CustusX
2023.01.05-dev+develop.0da12
An IGT application
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
cxtestSphereSyntheticVolume.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
#ifndef CXTESTSPHERESYNTETICVOLUME_H
12
#define CXTESTSPHERESYNTETICVOLUME_H
13
14
#include "cxtestutilities_export.h"
15
#include "
cxSyntheticVolume.h
"
16
17
namespace
cxtest
{
18
26
class
CXTESTUTILITIES_EXPORT
SphereSyntheticVolume
:
public
cx::cxSyntheticVolume
27
{
28
public
:
29
SphereSyntheticVolume
(
cx::Vector3D
bounds);
30
void
setSphere(
const
cx::Vector3D
& center,
double
radius);
31
32
virtual
unsigned
char
evaluate(
const
cx::Vector3D
& p)
const
;
33
virtual
void
printInfo()
const
;
34
35
private
:
36
double
mRadius;
37
cx::Vector3D
mCenter;
38
39
};
40
41
}
42
43
#endif // CXTESTSPHERESYNTETICVOLUME_H
cxtest
Definition:
cxtestDirectSignalListener.cpp:13
cxSyntheticVolume.h
cxtest::SphereSyntheticVolume
Definition:
cxtestSphereSyntheticVolume.h:26
cx::cxSyntheticVolume
Definition:
cxSyntheticVolume.h:36
cx::Vector3D
Eigen::Vector3d Vector3D
Vector3D is a representation of a point or vector in 3D.
Definition:
cxVector3D.h:42
CX
source
resource
testUtilities
cxtestSphereSyntheticVolume.h
Generated on Thu Jan 5 2023 00:50:42 for CustusX by
1.8.11