ImFusion SDK 4.3
AnatomicalStructureWrapper Class Reference

#include <AnatomyPlugin/include/ImFusion/AnatomyPlugin/Python/Common.h>

Wrapper for anatomical structures that becomes invalid when the wrapped structure is deleted. More...

+ Inheritance diagram for AnatomicalStructureWrapper:

Detailed Description

Wrapper for anatomical structures that becomes invalid when the wrapped structure is deleted.

Used for python bindings.

Public Member Functions

 AnatomicalStructureWrapper (AnatomicalStructure *wrapped)
 
 AnatomicalStructureWrapper (std::unique_ptr< AnatomicalStructure > wrapped)
 
 AnatomicalStructureWrapper (const AnatomicalStructureWrapper &other)
 
 AnatomicalStructureWrapper (const AnatomicalStructureWrapper &&other)=delete
 
AnatomicalStructureWrapperoperator= (const AnatomicalStructureWrapper &other)=delete
 
AnatomicalStructureoperator-> ()
 
const AnatomicalStructureoperator-> () const
 
bool isValid () const
 
AnatomicalStructurewrapped () const
 
- Public Member Functions inherited from SignalReceiver
 SignalReceiver ()=default
 Default constructor.
 
 SignalReceiver (const SignalReceiver &other)
 Copy constructor, does not copy any existing signal connections from other.
 
SignalReceiveroperator= (SignalReceiver rhs)
 Assignment operator, disconnects all existing connections, does not copy any existing signal connections from rhs.
 
virtual ~SignalReceiver ()
 Virtual destructor disconnects from all connected signals.
 

Protected Attributes

AnatomicalStructurem_wrapped = nullptr
 
std::shared_ptr< AnatomicalStructurem_wrappedShared
 
bool m_valid = false
 

Additional Inherited Members

- Protected Member Functions inherited from NotCopyable
 NotCopyable (NotCopyable &&) noexcept=default
 
NotCopyableoperator= (NotCopyable &&) noexcept=default
 
 NotCopyable (const NotCopyable &)=delete
 
NotCopyableoperator= (const NotCopyable &)=delete
 
- Protected Member Functions inherited from SignalReceiver
void disconnectAll ()
 Disconnects all existing connections.
 

The documentation for this class was generated from the following file:
Search Tab / S to search, Esc to close