MeshLib Documentation
Loading...
Searching...
No Matches
Visual Object group

Concepts

concept  MR::AnyVisualizeMaskEnumType
 

Classes

struct  MR::IsVisualizeMaskEnum< T >
 
struct  MR::IsVisualizeMaskEnum< VisualizeMaskType >
 
class  MR::AnyVisualizeMaskEnum
 
struct  MR::Dirty
 
class  MR::VisualObject
 Visual Object. More...
 

Typedefs

using MR::AllVisualizeProperties = std::vector<ViewportMask>
 

Enumerations

enum class  MR::ColoringType {
  MR::ColoringType::SolidColor , MR::ColoringType::PrimitivesColorMap , MR::ColoringType::FacesColorMap = PrimitivesColorMap , MR::ColoringType::LinesColorMap = PrimitivesColorMap ,
  MR::ColoringType::VertsColorMap
}
 
enum  MR::DirtyFlags {
  MR::DIRTY_NONE = 0x0000 , MR::DIRTY_POSITION = 0x0001 , MR::DIRTY_UV = 0x0002 , MR::DIRTY_VERTS_RENDER_NORMAL = 0x0004 ,
  MR::DIRTY_FACES_RENDER_NORMAL = 0x0008 , MR::DIRTY_CORNERS_RENDER_NORMAL = 0x0010 , MR::DIRTY_RENDER_NORMALS = DIRTY_VERTS_RENDER_NORMAL | DIRTY_FACES_RENDER_NORMAL | DIRTY_CORNERS_RENDER_NORMAL , MR::DIRTY_SELECTION = 0x0020 ,
  MR::DIRTY_TEXTURE = 0x0040 , MR::DIRTY_PRIMITIVES = 0x0080 , MR::DIRTY_FACE = DIRTY_PRIMITIVES , MR::DIRTY_VERTS_COLORMAP = 0x0100 ,
  MR::DIRTY_PRIMITIVE_COLORMAP = 0x0200 , MR::DIRTY_FACES_COLORMAP = DIRTY_PRIMITIVE_COLORMAP , MR::DIRTY_TEXTURE_PER_FACE = 0x0400 , MR::DIRTY_MESH = 0x07FF ,
  MR::DIRTY_BOUNDING_BOX = 0x0800 , MR::DIRTY_BORDER_LINES = 0x1000 , MR::DIRTY_EDGES_SELECTION = 0x2000 , MR::DIRTY_CACHES = DIRTY_BOUNDING_BOX ,
  MR::DIRTY_ALL = 0x3FFF
}
 

Detailed Description

Typedef Documentation

◆ AllVisualizeProperties

Enumeration Type Documentation

◆ ColoringType

enum class MR::ColoringType
strong

Type of mesh coloring,

Note
that texture are applied over main coloring
Enumerator
SolidColor 

Use simple color for whole mesh.

PrimitivesColorMap 

Use different color (taken from faces colormap) for each ptimitive.

FacesColorMap 

Use different color (taken from faces colormap) for each face (primitive for object mesh)

LinesColorMap 

Use different color (taken from faces colormap) for each line (primitive for object lines)

VertsColorMap 

Use different color (taken from verts colormap) for each vert.

◆ DirtyFlags

Enumerator
DIRTY_NONE 
DIRTY_POSITION 
DIRTY_UV 
DIRTY_VERTS_RENDER_NORMAL 
DIRTY_FACES_RENDER_NORMAL 

gl normals

DIRTY_CORNERS_RENDER_NORMAL 

gl normals

DIRTY_RENDER_NORMALS 
DIRTY_SELECTION 
DIRTY_TEXTURE 
DIRTY_PRIMITIVES 
DIRTY_FACE 
DIRTY_VERTS_COLORMAP 
DIRTY_PRIMITIVE_COLORMAP 
DIRTY_FACES_COLORMAP 
DIRTY_TEXTURE_PER_FACE 
DIRTY_MESH 
DIRTY_BOUNDING_BOX 
DIRTY_BORDER_LINES 
DIRTY_EDGES_SELECTION 
DIRTY_CACHES 
DIRTY_ALL