|
| NodeList () |
|
| NodeList (const NodeList &nodes) |
|
void | absorb (NodeList &otherList) |
|
Node & | addNode (const Vector3d &v) |
|
Node & | addNode (long IDnum, const Vector3d &v) |
|
void | expandBoundingBox (const Node &node) |
|
double | findMaxNodeSeparation () const |
|
const BoundingBox & | getBoundingBox () const |
|
NodeList & | operator= (const NodeList &nodes) |
|
void | recalculateBoundingBox () |
|
void | removeNode (Node &node) |
|
void | removeNodeFromList (NodeList::iterator nIter) |
|
void | setBoundingBox (const Vector3d &v) |
|
iterator | transferNode (iterator nIter, NodeList &fromList) |
|
| NumberedObjectList () |
| Create an empty list with the largest ID set to zero.
|
|
virtual | ~NumberedObjectList ()=0 |
|
Node & | add (Node &obj) |
|
void | addIndexChangeRecipient (IndexChangeRecipient &observer) |
|
void | clearList () |
|
size_type | computeValidObjectsCount () const |
|
void | emptyTrash () |
|
void | emptyTrash (iterator startFrom) |
|
long | getLargestID () const |
|
void | killBack () |
|
void | killList () |
|
void | reindex (iterator beginIter, iterator endIter, long start=0) |
|
void | reindex (long start=0) |
|
void | remove (Node &obj) |
| This only marks obj for removal. It is not actually removed until EmptyTrash is called.
|
|
void | removeFromList (iterator objIter) |
|
void | removeIndexChangeRecipient (IndexChangeRecipient &observer) |
|
void | renumber (long start=1, long incr=1) |
|
void | setLargestIDToAtLeast (long ID) |
|
void | updateLargestID () |
|
Node & | Add (Node &obj) |
|
void | Remove (Node &obj) |
|
void | RemoveFromList (iterator objIter) |
|
void | ClearList () |
|
void | KillBack () |
|
void | EmptyTrash () |
|
void | EmptyTrash (iterator startFrom) |
|
void | KillList () |
|
long | GetLargestID () const |
|
void | UpdateLargestID () |
|
void | SetLargestIDToAtLeast (long ID) |
|
void | Renumber (long start=1, long incr=1) |
|
void | Reindex (long start=0) |
|
void | Reindex (iterator beginIter, iterator endIter, long start=0) |
|
iterator | begin () |
| STL container function.
|
|
const_iterator | begin () const |
| STL container function.
|
|
iterator | end () |
| STL container function.
|
|
const_iterator | end () const |
| STL container function.
|
|
reverse_iterator | rbegin () |
| STL container function.
|
|
const_reverse_iterator | rbegin () const |
| STL container function.
|
|
reverse_iterator | rend () |
| STL container function.
|
|
const_reverse_iterator | rend () const |
| STL container function.
|
|
reference | front () |
| STL container function.
|
|
const_reference | front () const |
| STL container function.
|
|
reference | back () |
| STL container function.
|
|
const_reference | back () const |
| STL container function.
|
|
bool | empty () const |
| STL container function.
|
|
size_type | size () const |
| STL container function.
|
|
size_type | max_size () const |
| STL container function.
|
|
| StateControl () |
|
virtual | ~StateControl ()=default |
|
void | addIntegerState (const QString &name, long defaultVal=0) |
|
void | AddIntegerState (const QString &name, long defaultVal=0) |
|
void | addScalarState (const QString &name, double defaultVal=0) |
|
void | AddScalarState (const QString &name, double defaultVal=0) |
|
void | addVectorState (const QString &name, const Vector3d &defaultVal=Vector3d()) |
|
void | AddVectorState (const QString &name, const Vector3d &defaultVal=Vector3d()) |
|
void | assignDefaultState (State &object) const |
|
void | AssignDefaultState (State &object) const |
|
void | copyOnReallocateOff () |
|
void | CopyOnReallocateOff () |
|
void | copyOnReallocateOn () |
|
void | CopyOnReallocateOn () |
|
void | CopyWholeState (const State &object0, State &object1) const |
|
void | copyWholeState (const State &stateFrom, State &stateTo) const |
|
void | EnsureAllStatesSupported (const StateInfoArray &stateNames) |
|
void | ensureAllStatesSupported (const StateInfoArray &states) |
|
StateInfoArray | getAllStateInfo () const |
|
StateInfoArray | GetAllStateInfo () const |
|
bool | getInitStates () const |
|
bool | GetInitStates () const |
|
int | getStateIndex (const QString &stateName) const |
|
int | GetStateIndex (const QString &stateName) const |
|
NameIndexMap | getStateIndices () const |
|
NameIndexMap | GetStateIndices () const |
|
void | getStateIndices (NameIndexMap &stateIndices) const |
|
void | GetStateIndices (NameIndexMap &stateIndices) const |
|
StateInfo | getStateInfo (const QString &stateName) const |
|
StateInfo | GetStateInfo (const QString &stateName) const |
|
bool | haveState (const QString &name) const |
|
bool | HaveState (const QString &name) const |
|
void | InterpolateWholeState (const State &object0, const State &object1, State &interpObject, double p) const |
|
void | interpolateWholeState (const State &state0, const State &state1, const State &state2, const State &state3, State &interpState) const |
|
void | interpolateWholeState (const State &state0, const State &state1, State &interpState, double p) const |
|
void | makeStatesCompatible (const StateControl &states) |
|
void | reallocate () |
|
void | Reallocate () |
|
void | reallocationOff () |
|
void | ReallocationOff () |
|
void | reallocationOn () |
|
void | ReallocationOn () |
|
void | removeAllStates () |
|
void | RemoveAllStates () |
|
void | removeState (const QString &name) |
|
void | RemoveState (const QString &name) |
|
bool | renameState (const QString &from, const QString &to) |
|
bool | RenameState (const QString &from, const QString &to) |
|
void | setInitStates (bool b) |
|
void | SetInitStates (bool b) |
|
void | setInitStatesOff () |
|
void | SetInitStatesOff () |
|
void | setInitStatesOn () |
|
void | SetInitStatesOn () |
|
|
typedef Node | BaseItemType |
| Allow the object type to be queried by other templates.
|
|
using | container_type = std::list< Node * > |
| STL container typedef.
|
|
using | value_type = typename container_type::value_type |
| STL container typedef.
|
|
using | size_type = typename container_type::size_type |
| STL container typedef.
|
|
using | difference_type = typename container_type::difference_type |
| STL container typedef.
|
|
using | reference = typename container_type::reference |
| STL container typedef.
|
|
using | const_reference = typename container_type::const_reference |
| STL container typedef.
|
|
using | iterator = typename container_type::iterator |
| STL container typedef.
|
|
using | const_iterator = typename container_type::const_iterator |
| STL container typedef.
|
|
using | reverse_iterator = typename container_type::reverse_iterator |
| STL container typedef.
|
|
using | const_reverse_iterator = typename container_type::const_reverse_iterator |
| STL container typedef.
|
|
unsigned | getDoublesStateSize () const |
|
unsigned | getIntegerStateSize () const |
|
virtual void | resizeDoubles (const IndexMappings &mappings, const StateInfoArray &updatedStates, unsigned updatedDoublesStateSize)=0 |
|
template<typename IteratorT > |
void | resizeDoublesStates (IteratorT iterBegin, IteratorT iterEnd, const IndexMappings &mappings, const StateInfoArray &updatedStates, unsigned updatedDoublesStateSize) |
|
virtual void | resizeIntegers (const IndexMappings &mappings, const StateInfoArray &updatedStates, unsigned updatedIntegerStateSize)=0 |
|
template<typename IteratorT > |
void | resizeIntegerStates (IteratorT iterBegin, IteratorT iterEnd, const IndexMappings &mappings, const StateInfoArray &updatedStates, unsigned updatedIntegerStateSize) |
|
bool | initStates_ |
|
typedef std::map< QString, unsigned > | NameIndexMap |
|
This class mostly provides member functions for adding/removing nodes. It also maintains a basic (conservative) measure of the bounding box around all the nodes in the list. Note, however, that this bounding box is only set by when nodes are added to the list, so the bounding box may be wrong if nodes are moved around.