#include <rtkForbildPhantomFileReader.h>
Reads GeometricPhantom from a Forbild file.
See https://docs.openrtk.org/en/latest/documentation/docs/Phantom.html. In addition to the original parameters, the parameter "union=N", allows defining the union with a previous shape. For example, union=-1 will create a union with the previous shape.
Definition at line 42 of file rtkForbildPhantomFileReader.h.
Inheritance diagram for rtk::ForbildPhantomFileReader:
Collaboration diagram for rtk::ForbildPhantomFileReader:Public Types | |
| using | ConstPointer = itk::SmartPointer<const Self> |
| using | ConvexShapeVectorType = GeometricPhantom::ConvexShapeVector |
| using | GeometricPhantomPointer = GeometricPhantom::Pointer |
| using | Pointer = itk::SmartPointer<Self> |
| using | PointType = ConvexShape::PointType |
| using | RotationMatrixType = ConvexShape::RotationMatrixType |
| using | ScalarType = ConvexShape::ScalarType |
| using | Self = ForbildPhantomFileReader |
| using | Superclass = itk::Object |
| using | VectorType = ConvexShape::VectorType |
Public Types inherited from itk::LightProcessObject | |
| using | ConstPointer = SmartPointer<const Self> |
| using | Pointer = SmartPointer<Self> |
| using | Self = LightProcessObject |
| using | Superclass = Object |
Public Types inherited from itk::Object | |
| using | ConstPointer = SmartPointer<const Self> |
| using | Pointer = SmartPointer<Self> |
| using | Self = Object |
| using | Superclass = LightObject |
Public Types inherited from itk::LightObject | |
| using | ConstPointer = SmartPointer<const Self> |
| using | Pointer = SmartPointer<Self> |
| using | Self = LightObject |
Public Member Functions | |
| virtual::itk::LightObject::Pointer | CreateAnother () const |
| virtual void | GenerateOutputInformation () |
| virtual const char * | GetFilename () const |
| virtual const GeometricPhantom * | GetGeometricPhantom () const |
| virtual GeometricPhantom * | GetModifiableGeometricPhantom () |
| virtual const char * | GetNameOfClass () const |
| virtual void | SetFilename (const char *_arg) |
| virtual void | SetGeometricPhantom (GeometricPhantom *_arg) |
Public Member Functions inherited from itk::LightProcessObject | |
| virtual void | AbortGenerateDataOff () |
| virtual void | AbortGenerateDataOn () |
| virtual::itk::LightObject::Pointer | CreateAnother () const |
| virtual const bool & | GetAbortGenerateData () const |
| virtual void | SetAbortGenerateData (bool _arg) |
| virtual void | UpdateOutputData () |
| void | UpdateProgress (float amount) |
| virtual void | SetProgress (float _arg) |
| virtual const float & | GetProgress () const |
Public Member Functions inherited from itk::Object | |
| unsigned long | AddObserver (const EventObject &event, Command *cmd) const |
| unsigned long | AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) const |
| LightObject::Pointer | CreateAnother () const override |
| virtual void | DebugOff () const |
| virtual void | DebugOn () const |
| Command * | GetCommand (unsigned long tag) |
| bool | GetDebug () const |
| MetaDataDictionary & | GetMetaDataDictionary () |
| const MetaDataDictionary & | GetMetaDataDictionary () const |
| virtual ModifiedTimeType | GetMTime () const |
| virtual const TimeStamp & | GetTimeStamp () const |
| bool | HasObserver (const EventObject &event) const |
| void | InvokeEvent (const EventObject &) |
| void | InvokeEvent (const EventObject &) const |
| virtual void | Modified () const |
| void | Register () const override |
| void | RemoveAllObservers () |
| void | RemoveObserver (unsigned long tag) const |
| void | SetDebug (bool debugFlag) const |
| void | SetReferenceCount (int) override |
| void | UnRegister () const noexcept override |
| void | SetMetaDataDictionary (const MetaDataDictionary &rhs) |
| void | SetMetaDataDictionary (MetaDataDictionary &&rrhs) |
| virtual void | SetObjectName (std::string _arg) |
| virtual const std::string & | GetObjectName () const |
Public Member Functions inherited from itk::LightObject | |
| Pointer | Clone () const |
| virtual void | Delete () |
| virtual int | GetReferenceCount () const |
| void | Print (std::ostream &os, Indent indent=0) const |
Static Public Member Functions | |
| static Pointer | New () |
Static Public Member Functions inherited from itk::LightProcessObject | |
| static Pointer | New () |
Static Public Member Functions inherited from itk::Object | |
| static bool | GetGlobalWarningDisplay () |
| static void | GlobalWarningDisplayOff () |
| static void | GlobalWarningDisplayOn () |
| static Pointer | New () |
| static void | SetGlobalWarningDisplay (bool val) |
Static Public Member Functions inherited from itk::LightObject | |
| static void | BreakOnError () |
| static Pointer | New () |
Static Public Attributes | |
| static constexpr unsigned int | Dimension = ConvexShape::Dimension |
Protected Member Functions | |
| void | CreateForbildBox (const std::string &s) |
| void | CreateForbildCone (const std::string &s, const std::string &fig) |
| void | CreateForbildCylinder (const std::string &s, const std::string &fig) |
| void | CreateForbildEllipsoid (const std::string &s, const std::string &fig) |
| void | CreateForbildElliptCyl (const std::string &s, const std::string &fig) |
| void | CreateForbildSphere (const std::string &s) |
| void | CreateForbildTetrahedron (const std::string &s) |
| void | FindClipPlanes (const std::string &s) |
| bool | FindParameterInString (const std::string &name, const std::string &s, ScalarType ¶m) |
| void | FindUnions (const std::string &s) |
| bool | FindVectorInString (const std::string &name, const std::string &s, VectorType &vec) |
| ForbildPhantomFileReader ()=default | |
| ~ForbildPhantomFileReader () override=default | |
Protected Member Functions inherited from itk::LightProcessObject | |
| virtual void | GenerateData () |
| LightProcessObject () | |
| void | PrintSelf (std::ostream &os, Indent indent) const override |
| ~LightProcessObject () override | |
Protected Member Functions inherited from itk::Object | |
| Object () | |
| bool | PrintObservers (std::ostream &os, Indent indent) const |
| void | PrintSelf (std::ostream &os, Indent indent) const override |
| virtual void | SetTimeStamp (const TimeStamp &timeStamp) |
| ~Object () override | |
Protected Member Functions inherited from itk::LightObject | |
| virtual LightObject::Pointer | InternalClone () const |
| LightObject () | |
| virtual void | PrintHeader (std::ostream &os, Indent indent) const |
| virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
| virtual | ~LightObject () |
Static Protected Member Functions | |
| static RotationMatrixType | ComputeRotationMatrixBetweenVectors (const VectorType &source, const VectorType &dest) |
Private Attributes | |
| PointType | m_Center {} |
| ConvexShape::Pointer | m_ConvexShape |
| std::string | m_Filename |
| GeometricPhantomPointer | m_GeometricPhantom |
| ConvexShapeVectorType | m_Unions |
| std::vector< int > | m_UnionWith |
Additional Inherited Members | |
Protected Attributes inherited from itk::LightObject | |
| std::atomic< int > | m_ReferenceCount {} |
| using rtk::ForbildPhantomFileReader::ConstPointer = itk::SmartPointer<const Self> |
Definition at line 51 of file rtkForbildPhantomFileReader.h.
Definition at line 60 of file rtkForbildPhantomFileReader.h.
Definition at line 55 of file rtkForbildPhantomFileReader.h.
Definition at line 50 of file rtkForbildPhantomFileReader.h.
Definition at line 57 of file rtkForbildPhantomFileReader.h.
Definition at line 59 of file rtkForbildPhantomFileReader.h.
Definition at line 56 of file rtkForbildPhantomFileReader.h.
Standard class type alias.
Definition at line 48 of file rtkForbildPhantomFileReader.h.
Definition at line 49 of file rtkForbildPhantomFileReader.h.
Definition at line 58 of file rtkForbildPhantomFileReader.h.
|
protecteddefault |
Constructor.
Referenced by GetNameOfClass().
|
overrideprotecteddefault |
Destructor.
|
staticprotected |
|
virtual |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::LightObject.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
virtual |
do the actual parsing of the input file
|
virtual |
Get/Set path to phantom definition file.
|
virtual |
|
virtual |
Get / Set the object pointer to geometric phantom.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::LightProcessObject.
References ForbildPhantomFileReader().
|
static |
Method for creation through the object factory.
|
virtual |
|
virtual |
|
staticconstexpr |
Convenient type alias.
Definition at line 54 of file rtkForbildPhantomFileReader.h.
|
private |
Definition at line 116 of file rtkForbildPhantomFileReader.h.
|
private |
Definition at line 117 of file rtkForbildPhantomFileReader.h.
|
private |
Definition at line 115 of file rtkForbildPhantomFileReader.h.
|
private |
Definition at line 114 of file rtkForbildPhantomFileReader.h.
|
private |
Definition at line 118 of file rtkForbildPhantomFileReader.h.
|
private |
Definition at line 119 of file rtkForbildPhantomFileReader.h.