template<typename StoredObjType, typename GlObjType, typename DataType = AnatomicalStructure>
class ImFusion::KeyValueStoreVisualiser< StoredObjType, GlObjType, DataType >
Helper class for managing GlObjects for every item in a KeyValueStore across a set of views.
Objects are created using a "create" function passed by the user. The user can also pass an "update" function that is run at every display update Example usage: StoredObjType = vec3, GlObjType = GlPoint, DataType = AnatomicalStructure
- See also
- AnatomicalStructureVisualiser
|
|
| KeyValueStoreVisualiser (const KeyValueStore< StoredObjType > &keyValueStore, KeyValueStoreVisualiserParent< DataType > &parent, const CreateFunType &createFun, const UpdateFunType &updateFun={}) |
| |
| void | update (const std::string &key, DataComponentList &dataComponents, const std::set< std::string > &pseudoClasses, const AnatomicalStructure &as) override |
| |
| void | updateAll (DataComponentList &dataComponents, const std::set< std::string > &pseudoClasses, const AnatomicalStructure &as) override |
| |
|
void | addToViews (const std::set< GlView * > &views) |
| |
|
void | removeFromViews (const std::set< GlView * > &views) |
| |
|
std::map< std::string, std::unique_ptr< GlObjType > > & | glObjects () |
| |
|
| SignalReceiver ()=default |
| | Default constructor.
|
| |
|
| SignalReceiver (const SignalReceiver &other) |
| | Copy constructor, does not copy any existing signal connections from other.
|
| |
|
SignalReceiver & | operator= (SignalReceiver rhs) |
| | Assignment operator, disconnects all existing connections, does not copy any existing signal connections from rhs.
|
| |
|
virtual | ~SignalReceiver () |
| | Virtual destructor disconnects from all connected signals.
|
| |