MeVisLab Toolbox Reference
|
#include <CSOGeneratorBase.h>
Public Member Functions | |
CSOGeneratorBase () | |
Default constructor. More... | |
virtual | ~CSOGeneratorBase ()=default |
CSO * | generatorAddCSO (CSOList *csoList, bool useUndoRedo=true) |
Adds a new CSO to the CSOList. More... | |
CSO * | generatorAddCSONoEvent (CSOList *csoList, bool useUndoRedo=true, bool sendEvent=false) |
See generatorAddCSO, but no group scope event is emitted. (So this method is faster!) More... | |
CSOGroup * | generatorGetParentGroup (CSOList *csoList, bool useUndoRedo=false, bool generate=false) |
Returns the parent group according to current group settings. More... | |
void | generatorEmptyGroupOnDemand (CSOList *csoList) |
Empties a group on demand of the given CSOList with the set label. More... | |
virtual int | getModuleCreatorId () const =0 |
Returns the module's creator id. More... | |
virtual std::string | getModuleType () const =0 |
Returns the module's type string. More... | |
virtual bool | getShouldEmptyBeforeGeneration () const =0 |
Returns whether the module should empty a group before generating CSOs into it. More... | |
virtual int | getAddCSOToGroupMode () const =0 |
Returns the group generation mode. More... | |
virtual std::string | getAddCSOToGroupLabel () const =0 |
Returns the label string of a target group. More... | |
virtual int | getAddCSOToGroupId () const =0 |
Returns the id of a target group. More... | |
virtual int | getDefaultPathPointStyle () const =0 |
Returns the set default path point style for a new CSO. More... | |
virtual float | getDefaultPathPointWidth () const =0 |
Returns the set default path point width for a new CSO. More... | |
virtual Vector3 | getDefaultPathPointColor () const =0 |
Returns the set default path point color for a new CSO. More... | |
virtual float | getDefaultPathPointAlpha () const =0 |
Returns the set default path point alpha for a new CSO. More... | |
virtual int | getDefaultSeedPointStyle () const =0 |
Returns the set default seed point style for a new CSO. More... | |
virtual float | getDefaultSeedPointSize () const =0 |
Returns the set default seed point size for a new CSO. More... | |
virtual Vector3 | getDefaultSeedPointColor () const =0 |
Returns the set default seed point color for a new CSO. More... | |
virtual float | getDefaultSeedPointAlpha () const =0 |
Returns the set default seed point alpha for a new CSO. More... | |
virtual int | getDefaultVoxelWriteMode () const =0 |
Returns the set default voxel write mode for a new CSO. More... | |
virtual float | getDefaultVoxelWriteValue () const =0 |
Returns the set default voxel write value for a new CSO. More... | |
Definition at line 38 of file CSOGeneratorBase.h.
ml::CSOGeneratorBase::CSOGeneratorBase | ( | ) |
Default constructor.
|
virtualdefault |
Adds a new CSO to the CSOList.
The method returns a pointer to the newly generated CSO if the according grouping rule allows that or NULL if no new CSO could be created for that particular group.
Referenced by ml::CSOGenerator::_addCSO().
CSO* ml::CSOGeneratorBase::generatorAddCSONoEvent | ( | CSOList * | csoList, |
bool | useUndoRedo = true , |
||
bool | sendEvent = false |
||
) |
See generatorAddCSO, but no group scope event is emitted. (So this method is faster!)
Referenced by ml::CSOGenerator::_addCSONoEvent().
void ml::CSOGeneratorBase::generatorEmptyGroupOnDemand | ( | CSOList * | csoList | ) |
Empties a group on demand of the given CSOList with the set label.
Referenced by ml::CSOGenerator::_emptyGroupOnDemand().
CSOGroup* ml::CSOGeneratorBase::generatorGetParentGroup | ( | CSOList * | csoList, |
bool | useUndoRedo = false , |
||
bool | generate = false |
||
) |
Returns the parent group according to current group settings.
Referenced by ml::CSOGenerator::_getParentGroup().
|
pure virtual |
Returns the id of a target group.
Implemented in ml::CSOGenerator, and SoCSOCreatorEditorExtension.
|
pure virtual |
Returns the label string of a target group.
Implemented in ml::CSOGenerator, and SoCSOCreatorEditorExtension.
|
pure virtual |
Returns the group generation mode.
Implemented in ml::CSOGenerator, and SoCSOCreatorEditorExtension.
|
pure virtual |
Returns the set default path point alpha for a new CSO.
Implemented in ml::CSOGenerator, and SoCSOCreatorEditorExtension.
|
pure virtual |
Returns the set default path point color for a new CSO.
Implemented in ml::CSOGenerator, and SoCSOCreatorEditorExtension.
|
pure virtual |
Returns the set default path point style for a new CSO.
Implemented in ml::CSOGenerator, and SoCSOCreatorEditorExtension.
|
pure virtual |
Returns the set default path point width for a new CSO.
Implemented in ml::CSOGenerator, and SoCSOCreatorEditorExtension.
|
pure virtual |
Returns the set default seed point alpha for a new CSO.
Implemented in ml::CSOGenerator, and SoCSOCreatorEditorExtension.
|
pure virtual |
Returns the set default seed point color for a new CSO.
Implemented in ml::CSOGenerator, and SoCSOCreatorEditorExtension.
|
pure virtual |
Returns the set default seed point size for a new CSO.
Implemented in ml::CSOGenerator, and SoCSOCreatorEditorExtension.
|
pure virtual |
Returns the set default seed point style for a new CSO.
Implemented in ml::CSOGenerator, and SoCSOCreatorEditorExtension.
|
pure virtual |
Returns the set default voxel write mode for a new CSO.
Implemented in ml::CSOGenerator, and SoCSOCreatorEditorExtension.
|
pure virtual |
Returns the set default voxel write value for a new CSO.
Implemented in ml::CSOGenerator, and SoCSOCreatorEditorExtension.
|
pure virtual |
Returns the module's creator id.
Implemented in ml::CSOGenerator, and SoCSOCreatorEditorExtension.
|
pure virtual |
Returns the module's type string.
Implemented in ml::CSOGenerator, and SoCSOCreatorEditorExtension.
|
pure virtual |
Returns whether the module should empty a group before generating CSOs into it.
Implemented in ml::CSOGenerator, and SoCSOCreatorEditorExtension.