CustusX  22.04-rc5
An IGT application
cx::Clippers Class Reference

Clipper container. Used by ClippersWidget. More...

#include <cxClippers.h>

Inheritance diagram for cx::Clippers:

Signals

void changed ()
 

Public Member Functions

 Clippers (VisServicesPtr services)
 
void importList (QString clippers)
 
QString exportList ()
 
InteractiveClipperPtr getClipper (QString clipperName)
 
void add (QString clipperName, InteractiveClipperPtr clipper)
 
void remove (QString clipperName)
 
bool exists (QString clipperName)
 
int size ()
 
QStringList getClipperNames ()
 
void parseXml (QDomNode parentNode)
 
void addXml (QDomNode &parentNode)
 

Protected Member Functions

void createDefaultClippers ()
 
QStringList getInitialClipperNames ()
 

Protected Attributes

VisServicesPtr mServices
 
std::map< QString, InteractiveClipperPtrmClippers
 
QStringList mClipperList
 

Detailed Description

Clipper container. Used by ClippersWidget.

Date
Oct, 2015
Author
Ole Vegard Solberg, SINTEF

Definition at line 28 of file cxClippers.h.

Constructor & Destructor Documentation

cx::Clippers::Clippers ( VisServicesPtr  services)

Definition at line 28 of file cxClippers.cpp.

Member Function Documentation

void cx::Clippers::add ( QString  clipperName,
InteractiveClipperPtr  clipper 
)

Definition at line 133 of file cxClippers.cpp.

void cx::Clippers::addXml ( QDomNode &  parentNode)

Definition at line 50 of file cxClippers.cpp.

void cx::Clippers::changed ( )
signal
void cx::Clippers::createDefaultClippers ( )
protected

Definition at line 99 of file cxClippers.cpp.

bool cx::Clippers::exists ( QString  clipperName)

Definition at line 162 of file cxClippers.cpp.

QString cx::Clippers::exportList ( )

Definition at line 94 of file cxClippers.cpp.

InteractiveClipperPtr cx::Clippers::getClipper ( QString  clipperName)

Definition at line 121 of file cxClippers.cpp.

QStringList cx::Clippers::getClipperNames ( )

Definition at line 167 of file cxClippers.cpp.

QStringList cx::Clippers::getInitialClipperNames ( )
protected

Definition at line 113 of file cxClippers.cpp.

void cx::Clippers::importList ( QString  clippers)

Definition at line 85 of file cxClippers.cpp.

void cx::Clippers::parseXml ( QDomNode  parentNode)

Definition at line 64 of file cxClippers.cpp.

void cx::Clippers::remove ( QString  clipperName)

Definition at line 147 of file cxClippers.cpp.

int cx::Clippers::size ( )
inline

Definition at line 39 of file cxClippers.h.

Member Data Documentation

QStringList cx::Clippers::mClipperList
protected

Definition at line 51 of file cxClippers.h.

std::map<QString, InteractiveClipperPtr> cx::Clippers::mClippers
protected

Definition at line 50 of file cxClippers.h.

VisServicesPtr cx::Clippers::mServices
protected

Definition at line 48 of file cxClippers.h.


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