|
MeVisLab Toolbox Reference
|
#include <CSOGeometry.h>
Public Member Functions | |
| MLCSO_EXPORT | CSOPlaneGuard (CSO &cso) |
| MLCSO_EXPORT void | disable () |
| MLCSO_EXPORT | ~CSOPlaneGuard () |
Definition at line 255 of file CSOGeometry.h.
| MLCSO_EXPORT ml::CSOGeometry::CSOPlaneGuard::CSOPlaneGuard | ( | CSO & | cso | ) |
Small helper class that can be used to keep a CSO in its original plane. For example: { CSOPlaneGuard planeGuard(myCSO); smooth3DPositions(myCSO); } -> when the scope is left and planeGuard gets destructed, myCSO is leveled to its original plane.
References MLCSO_EXPORT.
Referenced by ~CSOPlaneGuard().
| MLCSO_EXPORT ml::CSOGeometry::CSOPlaneGuard::~CSOPlaneGuard | ( | ) |
References CSOPlaneGuard(), and MLCSO_EXPORT.
| 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.
References MLCSO_EXPORT.