Base class defining an interface for mapping a model's nodes to values.
#include <Mesh/DataStructures/vectornodemapper.h>
◆ canSerialize()
virtual bool canSerialize |
( |
| ) |
const |
|
pure virtual |
◆ clone()
- Returns
- A clone of this object.
- Note
- Subclasses would normally return their own type rather than the Clonable type. The C++ language rules allow a more derived type to be returned from a virtual function and the compiler will still treat it as a valid override.
Implements Clonable.
Implemented in VectorNodeStateMapper, and VectorNodeTextureMapper.
◆ createMementoData()
- Parameters
-
model | The model that will be used for mapping nodes to values. |
- Returns
- A memento object which client code cannot do anything useful with except pass it around. The memento is ultimately only useful to the getValue() function. It holds internal data the mapper will use to perform the required mapping.
Implemented in VectorNodeStateMapper, and VectorNodeTextureMapper.
◆ getValue()
◆ load()
◆ logText()
void logText |
( |
const QString & |
msg | ) |
const |
- Parameters
-
This function forwards the msg to the main application log stream.
◆ save()