![]() |
VectorEntity
1.1.0
Medical Data Segmentation Toolkit
|
Analytical description of a sphere (circumsphere of a tetrahedron, triangle, or edge). More...
#include <mcsphere.h>

Public Member Functions | |
| template<class S > | |
| void | DeserializeEntity (mds::mod::CChannelSerializer< S > &Reader) |
| Reads the sphere data. | |
| void | GetCenter (MCPoint3D &_point) const |
| Returns center of the sphere. | |
| MCPoint3D * | GetCenter () |
| Returns center of the sphere. | |
| const MCPoint3D * | GetCenter () const |
| double | GetRadius () const |
| Returns radius of the sphere. | |
| void | GetSphere (double &_cx, double &_cy, double &_cz, double &_r) const |
| Returns sphere parameters. | |
| void | MakeSphereEdge (MCVertex *n1, MCVertex *n2) |
| Estimates edge circumsphere. | |
| void | MakeSphereTetra (MCVertex *n1, MCVertex *n2, MCVertex *n3, MCVertex *n4) |
| Estimates tetrahedron circumsphere. | |
| void | MakeSphereTri (MCVertex *n1, MCVertex *n2, MCVertex *n3) |
| Estimates triangle circumsphere. | |
| MCSphere () | |
| Default constructor. | |
| template<class S > | |
| void | SerializeEntity (mds::mod::CChannelSerializer< S > &Writer) |
| Writes the sphere data. | |
| int | TestPoint (MCPoint3D &_point) |
| Checks position of a given point with respect to the sphere. | |
| ~MCSphere () | |
| Destructor. | |
Analytical description of a sphere (circumsphere of a tetrahedron, triangle, or edge).
| vctl::MCSphere::MCSphere | ( | ) | [inline] |
Default constructor.
| vctl::MCSphere::~MCSphere | ( | ) | [inline] |
Destructor.
| void vctl::MCSphere::DeserializeEntity | ( | mds::mod::CChannelSerializer< S > & | Reader | ) | [inline] |
Reads the sphere data.
| void vctl::MCSphere::GetCenter | ( | MCPoint3D & | _point | ) | const [inline] |
Returns center of the sphere.
| MCPoint3D* vctl::MCSphere::GetCenter | ( | ) | [inline] |
Returns center of the sphere.
| double vctl::MCSphere::GetRadius | ( | ) | const [inline] |
Returns radius of the sphere.
| void vctl::MCSphere::GetSphere | ( | double & | _cx, |
| double & | _cy, | ||
| double & | _cz, | ||
| double & | _r | ||
| ) | const [inline] |
Returns sphere parameters.
| void MCSphere::MakeSphereEdge | ( | MCVertex * | n1, |
| MCVertex * | n2 | ||
| ) |
Estimates edge circumsphere.
| void MCSphere::MakeSphereTetra | ( | MCVertex * | n1, |
| MCVertex * | n2, | ||
| MCVertex * | n3, | ||
| MCVertex * | n4 | ||
| ) |
Estimates tetrahedron circumsphere.
| void MCSphere::MakeSphereTri | ( | MCVertex * | n1, |
| MCVertex * | n2, | ||
| MCVertex * | n3 | ||
| ) |
Estimates triangle circumsphere.
| void vctl::MCSphere::SerializeEntity | ( | mds::mod::CChannelSerializer< S > & | Writer | ) | [inline] |
Writes the sphere data.
| int MCSphere::TestPoint | ( | MCPoint3D & | _point | ) |
Checks position of a given point with respect to the sphere.
1.7.6.1