ImFusion C++ SDK 4.4.0
ImFusion::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 ImFusion::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
AnatomicalStructureWrapper & operator= (const AnatomicalStructureWrapper &other)=delete
AnatomicalStructureoperator-> ()
const AnatomicalStructureoperator-> () const
bool isValid () const
AnatomicalStructurewrapped () const
Public Member Functions inherited from ImFusion::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 ImFusion::Utils::NotCopyable
 NotCopyable (NotCopyable &&) noexcept=default
NotCopyable & operator= (NotCopyable &&) noexcept=default
 NotCopyable (const NotCopyable &)=delete
NotCopyable & operator= (const NotCopyable &)=delete
Protected Member Functions inherited from ImFusion::SignalReceiver
void disconnectAll ()
 Disconnects all existing connections.

The documentation for this class was generated from the following file:
  • AnatomyPlugin/include/ImFusion/AnatomyPlugin/Python/Common.h
Search Tab / S to search, Esc to close