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

#include <CSOGeometry.h>

Public Member Functions

MLCSO_EXPORT CSOPlaneGuard (CSO &cso)
MLCSO_EXPORT void disable ()
MLCSO_EXPORT ~CSOPlaneGuard ()

Detailed Description

Definition at line 255 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. 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().

◆ ~CSOPlaneGuard()

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

References CSOPlaneGuard(), and MLCSO_EXPORT.

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.

References MLCSO_EXPORT.


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