|
Computer Assited Medical Intervention Tool Kit
version 5.0
|
|
Go to the documentation of this file.
61 void add(
const unsigned int);
64 void add(
const std::string);
94 bool isIn(
unsigned int)
const;
std::vector< std::string > namedTargetList
list of named target = name of the entities
Definition: TargetList.h:124
void clear()
clear the list
Definition: TargetList.cpp:162
std::string toString() const
return the list in a handy/compact format (compact interval, i.e. 4,5,6 becomes 4-6,...
Definition: TargetList.cpp:168
#define isDigit(c)
Definition: TargetList.cpp:46
void add(const unsigned int)
add a load using an integer
Definition: TargetList.cpp:39
int getIndexedTarget(const unsigned int) const
get an indexed target
Definition: TargetList.cpp:142
bool indexedTargets() const
return true only if the list of target are indexes
Definition: TargetList.cpp:265
std::vector< unsigned int > indexedTargetList
list of indexed target = index of the entities
Definition: TargetList.h:121
std::string toAnsys() const
return the ANSYS command to select the list of target (only work for indexed targets)
Definition: TargetList.cpp:216
TargetList()=default
default constructor, the target list is empty
unsigned int getNumberOfTargets() const
get the nr of indevidual targets
Definition: TargetList.cpp:132
bool isIn(unsigned int) const
return true only if this is the list of target are indexes and the given index is in the list or if t...
Definition: TargetList.cpp:270
std::string getNamedTarget(const unsigned int) const
get a named target
Definition: TargetList.cpp:152
Manage a list of targets, can be created/modified using either an integer, a name,...
Definition: TargetList.h:45