MeVisLab Toolbox Reference
ml::CSOVisualizationSettingsWithStylePalette Class Reference

#include <CSOVisualizationSettingsWithStylePalette.h>

Inheritance diagram for ml::CSOVisualizationSettingsWithStylePalette:
ml::CSOVisualizationSettings ml::Base

Public Member Functions

 CSOVisualizationSettingsWithStylePalette ()
 Constructor sets members to default values.
 
bool isCSOVisible (CSO *cso) override
 
void setStylePalette (StylePalette *stylePalette)
 
 overwriteAccessMethodsWithCSO (int, pathPointsOnSliceLineStyle)
 
 overwriteAccessMethodsWithCSO (float, pathPointsOnSliceLineWidth)
 
 overwriteAccessMethodsWithCSO (SbColor, pathPointsOnSliceColor)
 
 overwriteAccessMethodsWithCSO (int, seedPointOnSliceStyle)
 
 overwriteAccessMethodsWithCSO (float, seedPointOnSliceSize)
 
 overwriteAccessMethodsWithCSO (SbColor, seedPointOnSliceColor)
 
 addMemberAndAccessMethod (bool, shouldUseStylePaletteLookUpForSeedPoints)
 
 addMemberAndAccessMethod (int, stylePaletteLookUpSeedPoints)
 
 addMemberAndAccessMethod (bool, shouldUseStylePaletteLookUpForPathPoints)
 
 addMemberAndAccessMethod (int, stylePaletteLookUpPathPoints)
 
 addMemberAndAccessMethod (int, visibleByMode)
 
 addMemberAndAccessMethod (std::string, visibleIdList)
 
 addMemberAndAccessMethod (bool, invertVisibility)
 
void parseVisibleIdList ()
 
- Public Member Functions inherited from ml::CSOVisualizationSettings
 CSOVisualizationSettings ()
 Constructor sets members to default values.
 
virtual void getPathPointsOnSliceColor (CSO *cso, SbColor &color, float &alpha, bool isMouseOver=false) const
 
virtual unsigned short getPathPointsOnSliceStipplePattern (CSO *cso) const
 
virtual unsigned short getPathPointsOnSliceStipplePattern () const
 
virtual float getPathPointsOnSliceLineWidth (CSO *cso, bool isMouseOver=false) const
 
virtual void getSeedPointOnSliceColor (CSO *cso, CSOSeedPoint *seedPoint, SbColor &color, float &alpha, bool isMouseOver=false) const
 
virtual float getSeedPointOnSliceSize (CSO *cso, CSOSeedPoint *seedPoint, bool isMouseOver=false) const
 
virtual void getPathPointsBelowSliceColor (CSO *cso, SbColor &color, float &alpha, bool isMouseOver=false) const
 
virtual unsigned short getPathPointsBelowSliceStipplePattern (CSO *cso) const
 
virtual unsigned short getPathPointsBelowSliceStipplePattern () const
 
virtual float getPathPointsBelowSliceLineWidth (CSO *cso, bool isMouseOver=false) const
 
virtual void getSeedPointBelowSliceColor (CSO *cso, CSOSeedPoint *seedPoint, SbColor &color, float &alpha, bool isMouseOver=false) const
 
virtual float getSeedPointBelowSliceSize (CSO *cso, CSOSeedPoint *seedPoint, bool isMouseOver=false) const
 
virtual void getPathPointsAboveSliceColor (CSO *cso, SbColor &color, float &alpha, bool isMouseOver=false) const
 
virtual unsigned short getPathPointsAboveSliceStipplePattern (CSO *cso) const
 
virtual unsigned short getPathPointsAboveSliceStipplePattern () const
 
virtual float getPathPointsAboveSliceLineWidth (CSO *cso, bool isMouseOver=false) const
 
virtual void getSeedPointAboveSliceColor (CSO *cso, CSOSeedPoint *seedPoint, SbColor &color, float &alpha, bool isMouseOver=false) const
 
virtual float getSeedPointAboveSliceSize (CSO *cso, CSOSeedPoint *seedPoint, bool isMouseOver=false) const
 
 addMemberAndAccessMethod (bool, shouldUseAntiAliasing)
 
 addMemberAndAccessMethod (float, globalAlphaFactor)
 
 addMemberAndAccessMethod (bool, showCSOsOnAllTimePoints)
 
 addMemberAndAccessMethod (bool, overwriteCurrentTimePoint)
 
 addMemberAndAccessMethod (int, newCurrentTimePoint)
 
 addMemberAndAccessMethod (int, orientationFilterMode)
 
 addMemberAndAccessMethod (int, parallelThicknessMode)
 
 addMemberAndAccessMethod (float, showParallelThickness)
 
 addMemberAndAccessMethod (int, ghostingDepthInVoxel)
 
 addMemberAndAccessMethod (int, voxelSlabAugment)
 
 addMemberAndAccessMethod (bool, shouldRenderShadow)
 
 addMemberAndAccessMethod (SbColor, shadowColor)
 
 addMemberAndAccessMethod (float, shadowLineWidth)
 
 addMemberAndAccessMethod (bool, shouldRenderSeedPoints)
 
 addMemberAndAccessMethod (bool, shouldRenderPathPoints)
 
 addMemberAndAccessMethod (bool, shouldOverwriteSeedPointsSettings)
 
 addMemberAndAccessMethod (bool, shouldUsePathPointColorForSeedPoints)
 
 addMemberAndAccessMethod (bool, shouldRenderSeedPointsOnlyForSelectedCSOs)
 
 addMemberAndAccessMethod (bool, useSeedPointOnSliceStyle)
 
 addMemberAndAccessMethod (bool, useSeedPointOnSliceSize)
 
 addMemberAndAccessMethod (bool, useSeedPointOnSliceColor)
 
 addMemberAndAccessMethod (bool, useSeedPointOnSliceAlpha)
 
 addMemberAndAccessMethod (bool, useSeedPointOnSliceLineWidth)
 
 addMemberAndAccessMethod (bool, useSeedPointBelowSliceStyle)
 
 addMemberAndAccessMethod (bool, useSeedPointBelowSliceSize)
 
 addMemberAndAccessMethod (bool, useSeedPointBelowSliceColor)
 
 addMemberAndAccessMethod (bool, useSeedPointBelowSliceAlpha)
 
 addMemberAndAccessMethod (bool, useSeedPointBelowSliceLineWidth)
 
 addMemberAndAccessMethod (bool, useSeedPointAboveSliceStyle)
 
 addMemberAndAccessMethod (bool, useSeedPointAboveSliceSize)
 
 addMemberAndAccessMethod (bool, useSeedPointAboveSliceColor)
 
 addMemberAndAccessMethod (bool, useSeedPointAboveSliceAlpha)
 
 addMemberAndAccessMethod (bool, useSeedPointAboveSliceLineWidth)
 
 addMemberAndAccessMethod (bool, shouldOverwritePathPointsSettings)
 
 addMemberAndAccessMethod (bool, usePathPointsOnSliceLineStyle)
 
 addMemberAndAccessMethod (bool, usePathPointsOnSliceLineWidth)
 
 addMemberAndAccessMethod (bool, usePathPointsOnSliceColor)
 
 addMemberAndAccessMethod (bool, usePathPointsOnSliceAlpha)
 
 addMemberAndAccessMethod (bool, usePathPointsBelowSliceLineStyle)
 
 addMemberAndAccessMethod (bool, usePathPointsBelowSliceLineWidth)
 
 addMemberAndAccessMethod (bool, usePathPointsBelowSliceColor)
 
 addMemberAndAccessMethod (bool, usePathPointsBelowSliceAlpha)
 
 addMemberAndAccessMethod (bool, usePathPointsAboveSliceLineStyle)
 
 addMemberAndAccessMethod (bool, usePathPointsAboveSliceLineWidth)
 
 addMemberAndAccessMethod (bool, usePathPointsAboveSliceColor)
 
 addMemberAndAccessMethod (bool, usePathPointsAboveSliceAlpha)
 
 addMemberAndAccessMethod (bool, shouldOverwriteSelectionSettings)
 
 addMemberAndAccessMethod (bool, enableMouseOverHighlighting)
 
 addMemberAndAccessMethod (int, mouseOverPathPointsColorMode)
 
 addMemberAndAccessMethod (int, mouseOverPathPointsLineWidthMode)
 
 addMemberAndAccessMethod (float, mouseOverPathPointsBrightenValue)
 
 addMemberAndAccessMethod (SbColor, mouseOverPathPointsFixedColor)
 
 addMemberAndAccessMethod (float, mouseOverPathPointsWidenValue)
 
 addMemberAndAccessMethod (float, mouseOverPathPointsFixedLineWidth)
 
 addMemberAndAccessMethod (int, mouseOverSeedPointColorMode)
 
 addMemberAndAccessMethod (int, mouseOverSeedPointSizeMode)
 
 addMemberAndAccessMethod (float, mouseOverSeedPointBrightenValue)
 
 addMemberAndAccessMethod (SbColor, mouseOverSeedPointFixedColor)
 
 addMemberAndAccessMethod (float, mouseOverSeedPointEnlargeValue)
 
 addMemberAndAccessMethod (float, mouseOverSeedPointFixedSize)
 
 addMemberAndAccessMethod (float, mouseOverPathPointsAlpha)
 
 addMemberAndAccessMethod (float, mouseOverSeedPointAlpha)
 
 addMemberAndAccessMethod (float, shadowAlpha)
 
 addMemberAndAccessMethodWithCSO (int, seedPointOnSliceStyle)
 
 addMemberAndAccessMethodWithCSO (float, seedPointOnSliceSize)
 
 addMemberAndAccessMethodWithCSO (SbColor, seedPointOnSliceColor)
 
 addMemberAndAccessMethodWithCSO (float, seedPointOnSliceAlpha)
 
 addMemberAndAccessMethodWithCSO (float, seedPointOnSliceLineWidth)
 
 addMemberAndAccessMethodWithCSO (int, seedPointBelowSliceStyle)
 
 addMemberAndAccessMethodWithCSO (float, seedPointBelowSliceSize)
 
 addMemberAndAccessMethodWithCSO (SbColor, seedPointBelowSliceColor)
 
 addMemberAndAccessMethodWithCSO (float, seedPointBelowSliceAlpha)
 
 addMemberAndAccessMethodWithCSO (float, seedPointBelowSliceLineWidth)
 
 addMemberAndAccessMethodWithCSO (int, seedPointAboveSliceStyle)
 
 addMemberAndAccessMethodWithCSO (float, seedPointAboveSliceSize)
 
 addMemberAndAccessMethodWithCSO (SbColor, seedPointAboveSliceColor)
 
 addMemberAndAccessMethodWithCSO (float, seedPointAboveSliceAlpha)
 
 addMemberAndAccessMethodWithCSO (float, seedPointAboveSliceLineWidth)
 
 addMemberAndAccessMethodWithCSO (int, pathPointsOnSliceLineStyle)
 
 addMemberAndAccessMethodWithCSO (float, pathPointsOnSliceLineWidth)
 
 addMemberAndAccessMethodWithCSO (SbColor, pathPointsOnSliceColor)
 
 addMemberAndAccessMethodWithCSO (float, pathPointsOnSliceAlpha)
 
 addMemberAndAccessMethodWithCSO (int, pathPointsBelowSliceLineStyle)
 
 addMemberAndAccessMethodWithCSO (float, pathPointsBelowSliceLineWidth)
 
 addMemberAndAccessMethodWithCSO (SbColor, pathPointsBelowSliceColor)
 
 addMemberAndAccessMethodWithCSO (float, pathPointsBelowSliceAlpha)
 
 addMemberAndAccessMethodWithCSO (float, pathPointsAboveSliceLineWidth)
 
 addMemberAndAccessMethodWithCSO (SbColor, pathPointsAboveSliceColor)
 
 addMemberAndAccessMethodWithCSO (float, pathPointsAboveSliceAlpha)
 
 addMemberAndAccessMethodWithCSO (int, pathPointsAboveSliceLineStyle)
 
 addMemberAndAccessMethodWithCSO (int, selectedPathPointsColorMode)
 
 addMemberAndAccessMethodWithCSO (int, selectedPathPointsLineWidthMode)
 
 addMemberAndAccessMethodWithCSO (float, selectedPathPointsBrightenValue)
 
 addMemberAndAccessMethodWithCSO (SbColor, selectedPathPointsFixedColor)
 
 addMemberAndAccessMethodWithCSO (float, selectedPathPointsAlpha)
 
 addMemberAndAccessMethodWithCSO (float, selectedPathPointsWidenValue)
 
 addMemberAndAccessMethodWithCSO (float, selectedPathPointsFixedLineWidth)
 
 addMemberAndAccessMethodWithCSO (int, selectedSeedPointColorMode)
 
 addMemberAndAccessMethodWithCSO (int, selectedSeedPointSizeMode)
 
 addMemberAndAccessMethodWithCSO (float, selectedSeedPointBrightenValue)
 
 addMemberAndAccessMethodWithCSO (SbColor, selectedSeedPointFixedColor)
 
 addMemberAndAccessMethodWithCSO (float, selectedSeedPointAlpha)
 
 addMemberAndAccessMethodWithCSO (float, selectedSeedPointEnlargeValue)
 
 addMemberAndAccessMethodWithCSO (float, selectedSeedPointFixedSize)
 
- Public Member Functions inherited from ml::Base
 Base ()
 Constructor.
 
virtual ~Base ()
 Destructor.
 
virtual BasedeepCopy () const
 Set addStateToTree version number that can be accessed via getAddStateVersion()
 
bool isOfAllowedType (const std::vector< const RuntimeType * > &types) const
 Check if this object's type is equal to or derived from one of the types given in the argument.
 
virtual bool isRefCountedBase () const
 Returns if the instance is derived from RefCountedBase.
 
virtual std::string detailString () const
 Return a string describing this object.
 
virtual bool implementsPersistence (PersistenceInterface) const
 Override this method to declare which persistence interfaces are implemented by your derived class.
 
virtual std::string persistentState () const
 Returns a string describing the object's internal state.
 
virtual void setPersistentState (const std::string &state)
 Restores the object's internal state from a string that had been previously generated using persistentState().
 
virtual void addStateToTree (TreeNode *) const
 Attaches the object state as children of the given parent node.
 
virtual void readStateFromTree (TreeNode *)
 Reads the object state from the children of the given parent node.
 
virtual void writeTo (AbstractPersistenceOutputStream *) const
 Write the objects state to the data stream object.
 
virtual void readFrom (AbstractPersistenceInputStream *, int)
 Read the objects state from the data stream object.
 

Additional Inherited Members

- Public Types inherited from ml::Base
enum  PersistenceInterface { PersistenceByString , PersistenceByTreeNode , PersistenceByStream }
 This enum describes the different persistence interfaces available. More...
 
- Protected Member Functions inherited from ml::CSOVisualizationSettings
bool isHighlighted (CSO *cso) const
 Helper: returns whether the selection highlight settings should be applied to the CSO.
 
bool _isInSelectedGroup (CSO *cso) const
 Helper: returns whether the given CSO is in a selected group.
 
bool isSelected (CSO *cso, CSOSeedPoint *seedPoint) const
 Helper: returns whether the given seed point is selected within the given CSO.
 
SbColor sbColor (const Vector3 &color) const
 Helper: returns the given color in a different format.
 
void multiplyColorAndClamp (SbColor &color, float factor) const
 Helper: multiplies the components of the given color with the given factor and clamps all.
 
void multiplyValueAndClamp (float &value, float factor, float maxValue=1.0f) const
 Helper: multiplies the given (line width / point size) value with the given factor and clamps it to [0..maxValue].
 
void addValueAndClamp (float &value, float factor, float maxValue=8.0f) const
 Helper: adds the factor to the given value and clamps it to [0..maxValue].
 
unsigned short stipplePattern (int enumIndex) const
 Helper: returns a unsigned short stipple pattern for an index into an enum.
 
 ML_CLASS_HEADER (CSOVisualizationSettings)
 

Detailed Description

Definition at line 72 of file CSOVisualizationSettingsWithStylePalette.h.

Constructor & Destructor Documentation

◆ CSOVisualizationSettingsWithStylePalette()

ml::CSOVisualizationSettingsWithStylePalette::CSOVisualizationSettingsWithStylePalette ( )

Constructor sets members to default values.

Member Function Documentation

◆ addMemberAndAccessMethod() [1/7]

ml::CSOVisualizationSettingsWithStylePalette::addMemberAndAccessMethod ( bool ,
invertVisibility  )

◆ addMemberAndAccessMethod() [2/7]

ml::CSOVisualizationSettingsWithStylePalette::addMemberAndAccessMethod ( bool ,
shouldUseStylePaletteLookUpForPathPoints  )

◆ addMemberAndAccessMethod() [3/7]

ml::CSOVisualizationSettingsWithStylePalette::addMemberAndAccessMethod ( bool ,
shouldUseStylePaletteLookUpForSeedPoints  )

◆ addMemberAndAccessMethod() [4/7]

ml::CSOVisualizationSettingsWithStylePalette::addMemberAndAccessMethod ( int ,
stylePaletteLookUpPathPoints  )

◆ addMemberAndAccessMethod() [5/7]

ml::CSOVisualizationSettingsWithStylePalette::addMemberAndAccessMethod ( int ,
stylePaletteLookUpSeedPoints  )

◆ addMemberAndAccessMethod() [6/7]

ml::CSOVisualizationSettingsWithStylePalette::addMemberAndAccessMethod ( int ,
visibleByMode  )

◆ addMemberAndAccessMethod() [7/7]

ml::CSOVisualizationSettingsWithStylePalette::addMemberAndAccessMethod ( std::string ,
visibleIdList  )

◆ isCSOVisible()

bool ml::CSOVisualizationSettingsWithStylePalette::isCSOVisible ( CSO * cso)
overridevirtual

Reimplemented from ml::CSOVisualizationSettings.

◆ overwriteAccessMethodsWithCSO() [1/6]

ml::CSOVisualizationSettingsWithStylePalette::overwriteAccessMethodsWithCSO ( float ,
pathPointsOnSliceLineWidth  )

◆ overwriteAccessMethodsWithCSO() [2/6]

ml::CSOVisualizationSettingsWithStylePalette::overwriteAccessMethodsWithCSO ( float ,
seedPointOnSliceSize  )

◆ overwriteAccessMethodsWithCSO() [3/6]

ml::CSOVisualizationSettingsWithStylePalette::overwriteAccessMethodsWithCSO ( int ,
pathPointsOnSliceLineStyle  )

◆ overwriteAccessMethodsWithCSO() [4/6]

ml::CSOVisualizationSettingsWithStylePalette::overwriteAccessMethodsWithCSO ( int ,
seedPointOnSliceStyle  )

◆ overwriteAccessMethodsWithCSO() [5/6]

ml::CSOVisualizationSettingsWithStylePalette::overwriteAccessMethodsWithCSO ( SbColor ,
pathPointsOnSliceColor  )

◆ overwriteAccessMethodsWithCSO() [6/6]

ml::CSOVisualizationSettingsWithStylePalette::overwriteAccessMethodsWithCSO ( SbColor ,
seedPointOnSliceColor  )

◆ parseVisibleIdList()

void ml::CSOVisualizationSettingsWithStylePalette::parseVisibleIdList ( )

◆ setStylePalette()

void ml::CSOVisualizationSettingsWithStylePalette::setStylePalette ( StylePalette * stylePalette)
inline

Definition at line 79 of file CSOVisualizationSettingsWithStylePalette.h.


The documentation for this class was generated from the following file: