C3D Toolkit  Kernel - 118069, Vision - 2.16.7.1844

Visibility mode of mapping. More...

#include <map_lump.h>

Public Types

enum class  LimitDepthMode : uint8 { off , on , on_exclude , cut }
 Mapping mode by visibility depth. More...
 

Public Member Functions

 MbMapVisibilityMode (bool invis, bool skipVerts, bool shadeSpaceCurves=false, bool useTransparency=false, bool addCentLines=false)
 Constructor. More...
 
 MbMapVisibilityMode (bool invis, bool skipVerts, bool shadeSpaceCurves, bool useTransparency, bool addCentLines, LimitDepthMode limitDepthMode, double visibleDepth)
 Constructor. More...
 
 MbMapVisibilityMode (bool invis, bool skipVerts, bool shadeSpaceCurves, bool useTransparency, bool addCentLines, bool checkSuperposition, LimitDepthMode limitDepthMode, double visibleDepth)
 Constructor. More...
 
void Init (bool invis, bool skipVerts, bool shadeSpaceCurves=false, bool useTransparency=false, bool addCentLines=false)
 Initialization. More...
 
void Init (bool invis, bool skipVerts, bool shadeSpaceCurves, bool useTransparency, bool addCentLines, LimitDepthMode limitDepthMode, double visibleDepth)
 Initialization. More...
 
void Init (bool invis, bool skipVerts, bool shadeSpaceCurves, bool useTransparency, bool addCentLines, bool checkSuperposition, LimitDepthMode limitDepthMode, double visibleDepth)
 Initialization. More...
 
bool AddInvisible () const
 Add vestiges of invisible curves and points?
 
bool SkipVertices () const
 Skip vestiges of vertices?
 
bool ShadeSpaceCurves () const
 Shade spatial curves by bodies?
 
bool UseBodyTransparency () const
 Use bodies transparency while mapping?
 
bool AddCenterLines () const
 Add vestiges of center lines of surfaces?
 
bool CheckSuperposition () const
 Account for line projections superposition?
 
LimitDepthMode GetLimitDepthMode () const
 Get constraint mode. Under development.
 
void SetLimitDepthMode (const LimitDepthMode &limitDepthMode)
 Set constraint mode. Under development.
 
double GetVisibilityDepth () const
 Get visibility depth. Under development.
 
MbMapVisibilityMode & operator= (const MbMapVisibilityMode &m)
 An assignment operator.
 

Protected Attributes

bool _invisible
 Add vestiges of invisible curves and points.
 
bool _skipVertices
 Skip vestiges of vertices.

 
bool _shadeCurves
 Shade spatial curves by bodies (false by default).
 
bool _useBodyTransparency
 Use bodies transparency while mapping (false by default).
 
bool _addCenterLines
 Add vestiges of center lines of surfaces (false by default).
 
bool _checkSuperposition
 Account for line projections superposition (true by default).
 
LimitDepthMode _limitDepthMode
 Mapping mode by visibility depth (off by default).
 
double _visibilityDepth
 Visibility depth (0 by default).
 

Detailed Description

Visibility mode of mapping.

Visibility mode of mapping.

Member Enumeration Documentation

◆ LimitDepthMode

Mapping mode by visibility depth.

If there are constraints, the type determines the vestige visibility depending on object position relative to the edge (depth) of visibility..

Warning
Under development.
Enumerator
off 

Visibility constraints are disabled.

on 

Visibility constraints are enabled. Objects located entirely outside the visibility edge are not mapped.

on_exclude 

Visibility constraints are enabled. Objects located entirely outside the visibility edge and on the visibility edge are not mapped.

cut 

Visibility constraints are enabled. Objects located entirely outside the visibility edge are not mapped, while those located within the visibility edge will be mapped in a cutted form.

Constructor & Destructor Documentation

◆ MbMapVisibilityMode() [1/3]

MbMapVisibilityMode::MbMapVisibilityMode ( bool  invis,
bool  skipVerts,
bool  shadeSpaceCurves = false,
bool  useTransparency = false,
bool  addCentLines = false 
)
inline

Constructor.

Constructor of visibility mode of mapping.

Parameters
[in]invis- Add vestiges of invisible curves and points.
[in]skipVerts- Skip vestiges of vertices.
[in]shadeSpaceCurves- Shade spatial curves by bodies(false by default).
[in]useTransparency- Use bodies transparency while mapping(false by default).
[in]addCentLines- Add vestiges of center lines of surfaces(false by default).

◆ MbMapVisibilityMode() [2/3]

MbMapVisibilityMode::MbMapVisibilityMode ( bool  invis,
bool  skipVerts,
bool  shadeSpaceCurves,
bool  useTransparency,
bool  addCentLines,
LimitDepthMode  limitDepthMode,
double  visibleDepth 
)
inline

Constructor.

Constructor of visibility mode of mapping.

Parameters
[in]invis- Add vestiges of invisible curves and points.
[in]skipVerts- Skip vestiges of vertices.
[in]shadeSpaceCurves- Shade spatial curves by bodies.
[in]useTransparency- Use bodies transparency while mapping.
[in]addCentLines- Add vestiges of center lines of surfaces.
[in]limitDepthMode- Mapping mode by visibility depth.
[in]visibleDepth- Visibility depth.
Warning
Under development.

◆ MbMapVisibilityMode() [3/3]

MbMapVisibilityMode::MbMapVisibilityMode ( bool  invis,
bool  skipVerts,
bool  shadeSpaceCurves,
bool  useTransparency,
bool  addCentLines,
bool  checkSuperposition,
LimitDepthMode  limitDepthMode,
double  visibleDepth 
)
inline

Constructor.

Constructor of visibility mode of mapping.

Parameters
[in]invis- Add vestiges of invisible curves and points.
[in]skipVerts- Skip vestiges of vertices.
[in]shadeSpaceCurves- Shade spatial curves by bodies.
[in]useTransparency- Use bodies transparency while mapping.
[in]addCentLines- Add vestiges of center lines of surfaces.
[in]checkSuperposition- Account for line projections superposition.
[in]limitDepthMode- Mapping mode by visibility depth.
[in]visibleDepth- Visibility depth.
Warning
Under development.

Member Function Documentation

◆ Init() [1/3]

void MbMapVisibilityMode::Init ( bool  invis,
bool  skipVerts,
bool  shadeSpaceCurves = false,
bool  useTransparency = false,
bool  addCentLines = false 
)
inline

Initialization.

Initialization by parameters.

Parameters
[in]invis- Add vestiges of invisible curves and points.
[in]skipVerts- Skip vestiges of vertices.
[in]shadeSpaceCurves- Shade spatial curves by bodies(false by default).
[in]useTransparency- Use bodies transparency while mapping(false by default).
[in]addCentLines- Add vestiges of center lines of surfaces(false by default).

◆ Init() [2/3]

void MbMapVisibilityMode::Init ( bool  invis,
bool  skipVerts,
bool  shadeSpaceCurves,
bool  useTransparency,
bool  addCentLines,
LimitDepthMode  limitDepthMode,
double  visibleDepth 
)
inline

Initialization.

Initialization by parameters.

Parameters
[in]invis- Add vestiges of invisible curves and points.
[in]skipVerts- Skip vestiges of vertices.
[in]shadeSpaceCurves- Shade spatial curves by bodies.
[in]useTransparency- Use bodies transparency while mapping.
[in]addCentLines- Add vestiges of center lines of surfaces.
[in]limitDepthMode- Mapping mode by visibility depth.
[in]visibleDepth- Visibility depth.
Warning
Under development.

◆ Init() [3/3]

void MbMapVisibilityMode::Init ( bool  invis,
bool  skipVerts,
bool  shadeSpaceCurves,
bool  useTransparency,
bool  addCentLines,
bool  checkSuperposition,
LimitDepthMode  limitDepthMode,
double  visibleDepth 
)
inline

Initialization.

Initialization by parameters.

Parameters
[in]invis- Add vestiges of invisible curves and points.
[in]skipVerts- Skip vestiges of vertices.
[in]shadeSpaceCurves- Shade spatial curves by bodies.
[in]useTransparency- Use bodies transparency while mapping.
[in]addCentLines- Add vestiges of center lines of surfaces.
[in]checkSuperposition- Account for line projections superposition.
[in]limitDepthMode- Mapping mode by visibility depth.
[in]visibleDepth- Visibility depth.
Warning
Under development.

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