MeVisLab Toolbox 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. | |
MLCSO_EXPORT void | disable () |
disables the plane guard, so that level method is not called. | |
MLCSO_EXPORT | ~CSOPlaneGuard () |
Definition at line 249 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.
e.g.: { CSOPlaneGuard planeGuard(myCSO); smooth3DPositions(myCSO); } -> when scope is left and planeGuard gets destructed, myCSO is leveled to its original plane
MLCSO_EXPORT ml::CSOGeometry::CSOPlaneGuard::~CSOPlaneGuard | ( | ) |
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.