RTK
2.6.0
Reconstruction Toolkit
|
#include <rtkGeometricPhantom.h>
Public Types | |
using | ConstPointer = itk::SmartPointer< const Self > |
using | ConvexShapePointer = ConvexShape::Pointer |
using | ConvexShapeVector = std::vector< ConvexShapePointer > |
using | Pointer = itk::SmartPointer< Self > |
using | PointType = ConvexShape::PointType |
using | RotationMatrixType = ConvexShape::RotationMatrixType |
using | ScalarType = ConvexShape::ScalarType |
using | Self = GeometricPhantom |
using | Superclass = itk::DataObject |
using | VectorType = ConvexShape::VectorType |
Public Member Functions | |
void | AddClipPlane (const VectorType &dir, const ScalarType &pos) |
void | AddConvexShape (const ConvexShape *co) |
virtual ::itk::LightObject::Pointer | CreateAnother () const |
virtual const ConvexShapeVector & | GetConvexShapes () const |
virtual void | Rescale (const VectorType &r) |
virtual void | Rotate (const RotationMatrixType &r) |
virtual void | Translate (const VectorType &t) |
virtual const char * | GetNameOfClass () const |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
GeometricPhantom ()=default | |
~GeometricPhantom () override=default | |
Private Attributes | |
ConvexShapeVector | m_ConvexShapes |
std::vector< VectorType > | m_PlaneDirections |
std::vector< ScalarType > | m_PlanePositions |
Container for a geometric phantom, i.e., a set of ConvexShapes.
Definition at line 37 of file rtkGeometricPhantom.h.
using rtk::GeometricPhantom::ConstPointer = itk::SmartPointer<const Self> |
Definition at line 46 of file rtkGeometricPhantom.h.
Convenient type alias.
Definition at line 49 of file rtkGeometricPhantom.h.
using rtk::GeometricPhantom::ConvexShapeVector = std::vector<ConvexShapePointer> |
Definition at line 50 of file rtkGeometricPhantom.h.
Definition at line 45 of file rtkGeometricPhantom.h.
Definition at line 51 of file rtkGeometricPhantom.h.
Definition at line 54 of file rtkGeometricPhantom.h.
Definition at line 53 of file rtkGeometricPhantom.h.
Standard class type alias.
Definition at line 43 of file rtkGeometricPhantom.h.
Definition at line 44 of file rtkGeometricPhantom.h.
Definition at line 52 of file rtkGeometricPhantom.h.
|
protecteddefault |
|
overrideprotecteddefault |
void rtk::GeometricPhantom::AddClipPlane | ( | const VectorType & | dir, |
const ScalarType & | pos | ||
) |
Add clipping plane to the object. The plane is defined by the equation dir * (x,y,z)' + pos = 0.
void rtk::GeometricPhantom::AddConvexShape | ( | const ConvexShape * | co | ) |
Add convex object to phantom.
|
virtual |
Reimplemented from itk::Object.
Reimplemented in rtk::SheppLoganPhantom.
|
virtual |
Get reference to vector of objects.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::DataObject.
Reimplemented in rtk::SheppLoganPhantom.
|
static |
Method for creation through the object factory.
|
virtual |
Rescale object along each direction by a 3D vector.
|
virtual |
Rotate object according to a 3D rotation matrix.
|
virtual |
Translate object by a given 3D vector.
|
private |
Definition at line 97 of file rtkGeometricPhantom.h.
|
private |
Definition at line 98 of file rtkGeometricPhantom.h.
|
private |
Definition at line 99 of file rtkGeometricPhantom.h.