CustusX  2023.01.05-dev+develop.0da12
An IGT application
cx::MetricReferenceArgumentList Class Reference

Collection of Metric arguments that refer to another metric. More...

#include <cxMetricReferenceArgumentList.h>

Inheritance diagram for cx::MetricReferenceArgumentList:

Signals

void argumentsChanged ()
 

Public Member Functions

 MetricReferenceArgumentList (QStringList descriptions)
 
void setValidArgumentTypes (QStringList types)
 
unsigned getCount () const
 
void set (int index, DataPtr p)
 
DataPtr get (int index)
 
bool validArgument (DataPtr p) const
 
std::vector< Vector3DgetRefCoords () const
 
QString getDescription (int index) const
 
std::vector< Transform3DgetRefFrames () const
 
virtual void addXml (QDomNode &dataNode)
 
virtual void parseXml (QDomNode &dataNode, const std::map< QString, DataPtr > &data)
 
QString getAsSingleLineString () const
 

Detailed Description

Collection of Metric arguments that refer to another metric.

Date
2014-02-11
Author
Christian Askeland, SINTEF

Definition at line 36 of file cxMetricReferenceArgumentList.h.

Constructor & Destructor Documentation

cx::MetricReferenceArgumentList::MetricReferenceArgumentList ( QStringList  descriptions)
explicit

Definition at line 21 of file cxMetricReferenceArgumentList.cpp.

Member Function Documentation

void cx::MetricReferenceArgumentList::addXml ( QDomNode &  dataNode)
virtual

Definition at line 104 of file cxMetricReferenceArgumentList.cpp.

void cx::MetricReferenceArgumentList::argumentsChanged ( )
signal
DataPtr cx::MetricReferenceArgumentList::get ( int  index)

Definition at line 56 of file cxMetricReferenceArgumentList.cpp.

QString cx::MetricReferenceArgumentList::getAsSingleLineString ( ) const

Definition at line 124 of file cxMetricReferenceArgumentList.cpp.

unsigned cx::MetricReferenceArgumentList::getCount ( ) const

Definition at line 68 of file cxMetricReferenceArgumentList.cpp.

QString cx::MetricReferenceArgumentList::getDescription ( int  index) const

Definition at line 73 of file cxMetricReferenceArgumentList.cpp.

std::vector< Vector3D > cx::MetricReferenceArgumentList::getRefCoords ( ) const

Definition at line 78 of file cxMetricReferenceArgumentList.cpp.

std::vector< Transform3D > cx::MetricReferenceArgumentList::getRefFrames ( ) const

Definition at line 91 of file cxMetricReferenceArgumentList.cpp.

void cx::MetricReferenceArgumentList::parseXml ( QDomNode &  dataNode,
const std::map< QString, DataPtr > &  data 
)
virtual

Definition at line 113 of file cxMetricReferenceArgumentList.cpp.

void cx::MetricReferenceArgumentList::set ( int  index,
DataPtr  p 
)

Definition at line 34 of file cxMetricReferenceArgumentList.cpp.

void cx::MetricReferenceArgumentList::setValidArgumentTypes ( QStringList  types)

Definition at line 29 of file cxMetricReferenceArgumentList.cpp.

bool cx::MetricReferenceArgumentList::validArgument ( DataPtr  p) const

Definition at line 61 of file cxMetricReferenceArgumentList.cpp.


The documentation for this class was generated from the following files: