A representation of a vertebra, containing orientation, classification keypoints, segmentations, meshes and all other related information.
More...
A representation of a vertebra, containing orientation, classification keypoints, segmentations, meshes and all other related information.
|
| | OrientedVertebra (const KeyValueStore< vec3 > &keypoints) |
| | Vertebra Constructor that takes a map of keypoints for initialization.
|
| |
|
| OrientedVertebra (vec3 center) |
| |
|
| OrientedVertebra (OrientedVertebra &&other) |
| |
| std::string | describe () const override |
| | A (human-readable) description of this anatomy.
|
| |
| | OrientedVertebra (std::vector< vec3 > keypoints) |
| | Vertebra Constructor that takes a vector of keypoints for initialization The order is either a single {body_keypoint}, or a set {body, left_pedicle, right_pedicle}.
|
| |
| vec3 | position () const |
| | Returns the estimated position of the vertebra as was previously calculated by calculatePosition().
|
| |
|
vec3 | body () const |
| | Returns the body keypoint. If this keypoint is not available, a vec3(Nan, Nan, Nan) is returned.
|
| |
|
vec3 | posterior () const |
| | Returns the posterior keypoint. If this keypoint is not available, a vec3(Nan, Nan, Nan) is returned.
|
| |
|
vec3 | rightPedicle () const |
| | Returns the right pedicle keypoint. If this keypoint is not available, a vec3(Nan, Nan, Nan) is returned.
|
| |
|
vec3 | leftPedicle () const |
| | Returns the left pedicle keypoint. If this keypoint is not available, a vec3(Nan, Nan, Nan) is returned.
|
| |
| vec3 | rightKeypoint () const |
| |
| vec3 | leftKeypoint () const |
| |
|
mat4 | estimateMatrix (bool centerOnPedicles=false) |
| |
|
std::string | name () const |
| | Return name of the vertebra If the type is known it will be in the name ("T12", "L1", etc) Otherwise it will simply be "Vertebra".
|
| |
| std::string | identifier () const override |
| | A (machine-readable) name of the anatomy.
|
| |
| std::string | serializationID () const override |
| | String differentiating the type of Anatomical Structure For imfusion types, these strings should start with "imfusion." Used for (de)serialization.
|
| |
| std::string | getName () const |
| |
|
VertebraType | getType () const |
| |
|
int | getRelativeIndex () const |
| |
| void | setMeshes (std::vector< std::unique_ptr< Mesh > > &meshes_) |
| | Store a vector of meshes in the vertebra class If there is a single mesh it is stored under Keys::Spine::Vertebra::key for legacy reasons Otherwise, the meshes are stored under their given mesh->name()
|
| |
|
Eigen::Quaternion< double > | calculateOrientation () |
| |
|
std::vector< double > & | getTypeProbabilities () |
| |
|
const std::vector< double > & | getTypeProbabilities () const |
| |
|
int | getTypeId () const |
| |
|
void | setTypeId (int t) |
| |
|
int | getPinnedTypeId () const |
| |
|
void | setPinnedTypeId (int t) |
| |
|
void | calculatePosition () |
| | Estimates the vertebra "position" from keypoints If pedicle keypoints are present the estimate at the center of the vertebra, If only the body keypoint is present, this position will be returned.
|
| |
|
| AnatomicalStructure (bool is2D=false) |
| |
|
| AnatomicalStructure (AnatomicalStructure &other) |
| |
|
| AnatomicalStructure (AnatomicalStructure &&other) |
| |
| virtual void | setMatrixToWorld (const mat4 &m, bool synchronizeWorld=true) |
| | Set the local to world matrix of this object.
|
| |
|
mat4 | matrixToWorld () const |
| |
|
virtual Geometry::AlignedBox | bounds (const mat4 &orientation=mat4::Identity(), const std::vector< ContentType > &toConsider={ContentType::Keypoints, ContentType::PointClouds, ContentType::Meshes, ContentType::Splines, ContentType::Graphs}) const |
| |
| virtual bool | empty () const |
| | Retuns true if all members are empty, i.e. this structure has no associated information.
|
| |
| Properties & | attributes () |
| |
| Properties const & | attributes () const |
| |
|
template<typename Derived> |
| std::unique_ptr< Derived > | clone () const |
| | Helper function for calling cloneImpl() and casting to a specific type.
|
| |
| virtual void | clear () |
| | Clear all data contained in this structure.
|
| |
| void | configure (const Properties *p) override |
| | Configure attributes and parameters.
|
| |
| void | configuration (Properties *p) const override |
| | Retrieve configuration of attributes and parameters.
|
| |
|
bool | is2D () const |
| | Returns true if the AnatomicalStructure is 2D or false if it is 3D.
|
| |
|
KeyValueStore< vec3 > & | keypoints () |
| | Getters for non-Data key/value stores.
|
| |
|
const KeyValueStore< vec3 > & | keypoints () const |
| |
|
KeyValueStore< vec4 > & | planes () |
| |
|
const KeyValueStore< vec4 > & | planes () const |
| |
|
KeyValueStore< std::unique_ptr< Spline > > & | splines () |
| |
|
const KeyValueStore< std::unique_ptr< Spline > > & | splines () const |
| |
|
KeyValueStore< std::unique_ptr< SharedImageSet > > & | images () |
| | Getters for Data key/value stores.
|
| |
|
const KeyValueStore< std::unique_ptr< SharedImageSet > > & | images () const |
| |
|
KeyValueStore< std::unique_ptr< Mesh > > & | meshes () |
| |
|
const KeyValueStore< std::unique_ptr< Mesh > > & | meshes () const |
| |
|
KeyValueStore< std::unique_ptr< PointCloud > > & | pointclouds () |
| |
|
const KeyValueStore< std::unique_ptr< PointCloud > > & | pointclouds () const |
| |
|
KeyValueStore< std::unique_ptr< Graph > > & | graphs () |
| |
|
const KeyValueStore< std::unique_ptr< Graph > > & | graphs () const |
| |
|
KeyValueStore< AnatomicalStructureDeformation > & | deformations () |
| |
|
const KeyValueStore< AnatomicalStructureDeformation > & | deformations () const |
| |
| virtual void | configureDefaults () |
| | Retrieve the properties of this object, replaces values with their defaults and sets it again.
|
| |
|
void | registerParameter (ParameterBase *param) |
| | Register the given Parameter or SubProperty, so that it will be configured during configure()/configuration().
|
| |
|
void | unregisterParameter (const ParameterBase *param) |
| | Remove the given Parameter or SubProperty from the list of registered parameters.
|
| |
|
| Configurable (const Configurable &rhs) |
| |
|
| Configurable (Configurable &&rhs) noexcept |
| |
|
Configurable & | operator= (const Configurable &) |
| |
|
Configurable & | operator= (Configurable &&) noexcept |
| |
|
| SignalReceiver ()=default |
| | Default constructor.
|
| |
|
| SignalReceiver (const SignalReceiver &other) |
| | Copy constructor, does not copy any existing signal connections from other.
|
| |
|
SignalReceiver & | operator= (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.
|
| |