CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | List of all members
OdTrVisFogDef Struct Reference

#include <TrVisFogDef.h>

Public Types

enum  Flags { kEnableFog = (1 << 0) , kFogBackground = (1 << 1) }
 

Public Member Functions

void resetFlags (OdUInt16 nFlags=0)
 
void setDefault ()
 
void enableFog (bool bSet)
 
bool isFogEnabled () const
 
void enableFogAtBackground (bool bSet)
 
bool isFogAtBackgroundEnabled () const
 
void setColor (ODCOLORREF color)
 
ODCOLORREF color () const
 
void setDistances (double fNear, double fFar)
 
double nearDistance () const
 
double farDistance () const
 
double depthRange () const
 
void setDensities (double fNear, double fFar)
 
double nearDensity () const
 
double farDensity () const
 
double densityRange () const
 
bool operator== (const OdTrVisFogDef &fog) const
 
bool operator!= (const OdTrVisFogDef &fog) const
 

Public Attributes

OdUInt16 m_flags
 
ODCOLORREF m_color
 
double m_fDistNear
 
double m_fDistFar
 
double m_fDensNear
 
double m_fDensFar
 

Detailed Description

<group ExRender_Windows_Classes>

Definition at line 33 of file TrVisFogDef.h.

Member Enumeration Documentation

◆ Flags

Enumerator
kEnableFog 
kFogBackground 

Definition at line 36 of file TrVisFogDef.h.

Member Function Documentation

◆ color()

ODCOLORREF OdTrVisFogDef::color ( ) const
inline

Definition at line 71 of file TrVisFogDef.h.

◆ densityRange()

double OdTrVisFogDef::densityRange ( ) const
inline

Definition at line 81 of file TrVisFogDef.h.

◆ depthRange()

double OdTrVisFogDef::depthRange ( ) const
inline

Definition at line 76 of file TrVisFogDef.h.

◆ enableFog()

void OdTrVisFogDef::enableFog ( bool  bSet)
inline

Definition at line 64 of file TrVisFogDef.h.

◆ enableFogAtBackground()

void OdTrVisFogDef::enableFogAtBackground ( bool  bSet)
inline

Definition at line 67 of file TrVisFogDef.h.

◆ farDensity()

double OdTrVisFogDef::farDensity ( ) const
inline

Definition at line 80 of file TrVisFogDef.h.

◆ farDistance()

double OdTrVisFogDef::farDistance ( ) const
inline

Definition at line 75 of file TrVisFogDef.h.

◆ isFogAtBackgroundEnabled()

bool OdTrVisFogDef::isFogAtBackgroundEnabled ( ) const
inline

Definition at line 68 of file TrVisFogDef.h.

◆ isFogEnabled()

bool OdTrVisFogDef::isFogEnabled ( ) const
inline

Definition at line 65 of file TrVisFogDef.h.

◆ nearDensity()

double OdTrVisFogDef::nearDensity ( ) const
inline

Definition at line 79 of file TrVisFogDef.h.

◆ nearDistance()

double OdTrVisFogDef::nearDistance ( ) const
inline

Definition at line 74 of file TrVisFogDef.h.

◆ operator!=()

bool OdTrVisFogDef::operator!= ( const OdTrVisFogDef fog) const
inline

Definition at line 94 of file TrVisFogDef.h.

◆ operator==()

bool OdTrVisFogDef::operator== ( const OdTrVisFogDef fog) const
inline

Definition at line 83 of file TrVisFogDef.h.

◆ resetFlags()

void OdTrVisFogDef::resetFlags ( OdUInt16  nFlags = 0)
inline

Definition at line 52 of file TrVisFogDef.h.

◆ setColor()

void OdTrVisFogDef::setColor ( ODCOLORREF  color)
inline

Definition at line 70 of file TrVisFogDef.h.

◆ setDefault()

void OdTrVisFogDef::setDefault ( )
inline

Definition at line 56 of file TrVisFogDef.h.

◆ setDensities()

void OdTrVisFogDef::setDensities ( double  fNear,
double  fFar 
)
inline

Definition at line 78 of file TrVisFogDef.h.

◆ setDistances()

void OdTrVisFogDef::setDistances ( double  fNear,
double  fFar 
)
inline

Definition at line 73 of file TrVisFogDef.h.

Member Data Documentation

◆ m_color

ODCOLORREF OdTrVisFogDef::m_color

Definition at line 46 of file TrVisFogDef.h.

◆ m_fDensFar

double OdTrVisFogDef::m_fDensFar

Definition at line 50 of file TrVisFogDef.h.

◆ m_fDensNear

double OdTrVisFogDef::m_fDensNear

Definition at line 50 of file TrVisFogDef.h.

◆ m_fDistFar

double OdTrVisFogDef::m_fDistFar

Definition at line 48 of file TrVisFogDef.h.

◆ m_fDistNear

double OdTrVisFogDef::m_fDistNear

Definition at line 48 of file TrVisFogDef.h.

◆ m_flags

OdUInt16 OdTrVisFogDef::m_flags

Definition at line 44 of file TrVisFogDef.h.


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