MeVisLab Toolbox Reference
ml::CSOGeometry::CSOPlaneGuard Class Reference

#include <CSOGeometry.h>

Public Member Functions

MLCSO_EXPORT CSOPlaneGuard (CSO &cso)
 Small helper class that can be used to keep a CSO in its original plane. More...
 
MLCSO_EXPORT void disable ()
 disables the plane guard, so that level method is not called. More...
 
MLCSO_EXPORT ~CSOPlaneGuard ()
 

Detailed Description

Definition at line 249 of file CSOGeometry.h.

Constructor & Destructor Documentation

◆ CSOPlaneGuard()

MLCSO_EXPORT ml::CSOGeometry::CSOPlaneGuard::CSOPlaneGuard ( CSO cso)

Small helper class that can be used to keep a CSO in its original plane.

e.g.: { CSOPlaneGuard planeGuard(myCSO); smooth3DPositions(myCSO); } -> when scope is left and planeGuard gets destructed, myCSO is leveled to its original plane

◆ ~CSOPlaneGuard()

MLCSO_EXPORT ml::CSOGeometry::CSOPlaneGuard::~CSOPlaneGuard ( )

Member Function Documentation

◆ disable()

MLCSO_EXPORT void ml::CSOGeometry::CSOPlaneGuard::disable ( )

disables the plane guard, so that level method is not called.

This is useful when you want do decide dynamically whether level operation should be applied.


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