CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
OdGiSelectionStyle::StyleEntry Class Reference

#include <GiSelectionStyle.h>

Public Member Functions

EdgeStyleedgeStyle ()
 
const EdgeStyleedgeStyle () const
 
FaceStylefaceStyle ()
 
const FaceStylefaceStyle () const
 
bool isOnTopOfDepth () const
 
bool isVisible () const
 
bool hasEffect () const
 
void setByDefault ()
 
void setAsDisabled ()
 
void setForStippling ()
 
void setForColorMasking ()
 
void setForColorMasking (const OdCmEntityColor &color, OdUInt8 transparency)
 
bool operator== (const StyleEntry &secStyle) const
 
bool operator!= (const StyleEntry &secStyle) const
 

Protected Attributes

EdgeStyle m_edgeStyle
 
FaceStyle m_faceStyle
 

Detailed Description

Combination of edge and face styles.

Definition at line 286 of file GiSelectionStyle.h.

Member Function Documentation

◆ edgeStyle() [1/2]

EdgeStyle & OdGiSelectionStyle::StyleEntry::edgeStyle ( )
inline

Returns editable edge style data.

Definition at line 295 of file GiSelectionStyle.h.

◆ edgeStyle() [2/2]

const EdgeStyle & OdGiSelectionStyle::StyleEntry::edgeStyle ( ) const
inline

Returns edge style data.

Definition at line 299 of file GiSelectionStyle.h.

◆ faceStyle() [1/2]

FaceStyle & OdGiSelectionStyle::StyleEntry::faceStyle ( )
inline

Returns editable face style data.

Definition at line 304 of file GiSelectionStyle.h.

◆ faceStyle() [2/2]

const FaceStyle & OdGiSelectionStyle::StyleEntry::faceStyle ( ) const
inline

Returns face style data.

Definition at line 308 of file GiSelectionStyle.h.

◆ hasEffect()

bool OdGiSelectionStyle::StyleEntry::hasEffect ( ) const
inline

Returns true in case if any type of visual effect (like color mask, for example) is applicable for current configuration of face or edge style.

Definition at line 324 of file GiSelectionStyle.h.

◆ isOnTopOfDepth()

bool OdGiSelectionStyle::StyleEntry::isOnTopOfDepth ( ) const
inline

Returns true in case if edges and faces should be displayed on top of scene graphics in 3d rendering modes.

Definition at line 313 of file GiSelectionStyle.h.

◆ isVisible()

bool OdGiSelectionStyle::StyleEntry::isVisible ( ) const
inline

Returns true in case if edges or faces is visible.

Definition at line 319 of file GiSelectionStyle.h.

◆ operator!=()

bool OdGiSelectionStyle::StyleEntry::operator!= ( const StyleEntry secStyle) const
inline

Definition at line 356 of file GiSelectionStyle.h.

◆ operator==()

bool OdGiSelectionStyle::StyleEntry::operator== ( const StyleEntry secStyle) const
inline

Definition at line 354 of file GiSelectionStyle.h.

◆ setAsDisabled()

void OdGiSelectionStyle::StyleEntry::setAsDisabled ( )
inline

Disable diplaying of faces, edges and all visual effects.

Definition at line 333 of file GiSelectionStyle.h.

◆ setByDefault()

void OdGiSelectionStyle::StyleEntry::setByDefault ( )
inline

Setup face and edge style to display geometry as is, without any visual effects.

Definition at line 329 of file GiSelectionStyle.h.

◆ setForColorMasking() [1/2]

void OdGiSelectionStyle::StyleEntry::setForColorMasking ( )
inline

Setup face and edge styles to display color mask visual effect with some predefined color and transparency. Additionally enables edges width extension and rendering of 3d geometry isolines.

Definition at line 342 of file GiSelectionStyle.h.

◆ setForColorMasking() [2/2]

void OdGiSelectionStyle::StyleEntry::setForColorMasking ( const OdCmEntityColor color,
OdUInt8  transparency 
)
inline

Setup face and edge styles to display color mask visual effect with specified color and transparency.

Parameters
color[in] Color mask color value.
transparency[in] Color mask transparency value.

Definition at line 349 of file GiSelectionStyle.h.

◆ setForStippling()

void OdGiSelectionStyle::StyleEntry::setForStippling ( )
inline

Setup face and edge styles to display stippling pattern highlighting visual effect.

Definition at line 337 of file GiSelectionStyle.h.

Member Data Documentation

◆ m_edgeStyle

EdgeStyle OdGiSelectionStyle::StyleEntry::m_edgeStyle
protected

Definition at line 289 of file GiSelectionStyle.h.

◆ m_faceStyle

FaceStyle OdGiSelectionStyle::StyleEntry::m_faceStyle
protected

Definition at line 290 of file GiSelectionStyle.h.


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