247 static std::shared_ptr<FrameOfReference> getFrameOfReferenceOwnership(
const QUuid& uuid);
255 static std::shared_ptr<FrameOfReference> getFrameOfReferenceOwnership(
const FrameOfReference*);
263 static std::shared_ptr<FrameOfReference> addFrameOfReference(QString name, QString
description =
"");
270 static std::shared_ptr<FrameOfReference> addFrameOfReference(
const FrameOfReference&);
275 static QVector<FrameOfReference*> getFramesOfReference();
311 static std::shared_ptr<Transformation> getTransformationOwnership(
const Transformation*);
323 static std::shared_ptr<Transformation> getTransformationOwnership(
const QUuid& uuid);
350 static bool preferredDefaultIdentityToWorldLink(
const FrameOfReference* frame);
366 static QVector<Transformation*> getDirectTransformations();
371 static QVector<Transformation*> getTransformations();
375 static std::shared_ptr<Transformation> addTransformation(
const QVariant&);
383 static std::shared_ptr<Transformation> addTransformation(
const std::shared_ptr<FrameOfReference>& from,
const std::shared_ptr<FrameOfReference>& to);
393 static std::shared_ptr<Transformation> addTransformation(
const std::shared_ptr<FrameOfReference>& from,
const std::shared_ptr<FrameOfReference>& to, vtkSmartPointer<vtkTransform> vtkTr);
401 static std::shared_ptr<Transformation> addTransformation(
const std::shared_ptr<FrameOfReference>& from,
const std::shared_ptr<FrameOfReference>& to,
const vtkMatrix4x4* matrix);
407 static void cleanupFramesAndTransformations();
424 static bool removeTransformation(std::shared_ptr<Transformation>& tr);
451 static bool updateTransformation(
Transformation* tr, vtkSmartPointer<vtkTransform> vtkTr);
454 static bool updateTransformation(
Transformation* tr, vtkMatrix4x4* matrix);
466 static QVector<Transformation*> getSources(
const Transformation*);
488 static QVariant toVariant();
497 static void fromVariant(
const QVariant&);
505 static std::shared_ptr<FrameOfReference> worldFrame;
508 static std::vector<std::shared_ptr<FrameOfReference>> frames;
511 static std::vector<std::shared_ptr<Transformation>> transformations;
514 static QHash<QUuid, FrameOfReference*> frameMap;
517 static QHash<QUuid, Transformation*> transformationMap;
523 static QHash<const Transformation*, QVector<std::shared_ptr<Transformation>>> transformationSources;
526 static QHash<const FrameOfReference*, QHash<const FrameOfReference*, Transformation*>> transformationFromTo;
544 static std::unordered_set<const Transformation*> defaultIdentityToWorldTransformations;
554 static std::shared_ptr<Transformation> registerTransformation(
Transformation* tr,
const QVector<std::shared_ptr<Transformation>>& sources = {});
571 static std::shared_ptr<Transformation> addCompositeTransformation(QVector<std::shared_ptr<Transformation>> transforms);
577 static std::shared_ptr<FrameOfReference> addFrameOfReference(QUuid uuid, QString name, QString
description,
int dimensions = 3,
const AnatomicalOrientation& ao = {}, std::vector<Unit> units = {
"",
"",
"",
"",
""});
582 static std::shared_ptr<FrameOfReference> addFrameOfReference(
const QVariant&);
592 static void removeTransformationFromInternalStructures(
const Transformation* trToDelete);
595 static void cleanupCompositeTransformations();
601 static std::shared_ptr<Transformation> getTransformationSharedPtr(
const Transformation*);
const char * description
Definition applications/cepgenerator/main.cpp:38