CFx SDK Documentation  2020SP3
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
OdTrVisViewportDef Struct Reference

#include <TrVisViewportDef.h>

Public Types

enum  ViewportDefFlags { kPSOverallViewport = (1 << 0), kPSModelViewport = (1 << 1), kPSHelperViewport = (1 << 2) }
 
enum  KindOfModification {
  kViewportModVisibility = (1 << 0), kViewportModOrientation = (1 << 1), kViewportModPersistent = (1 << 2), kViewportModContextual = (1 << 3),
  kViewportModRect = (1 << 4), kViewportModNrcClip = (1 << 5), kViewportModLineweights = (1 << 6), kViewportModShader = (1 << 7),
  kViewportModBorder = (1 << 8), kViewportModAll
}
 

Public Member Functions

void resetViewportFlags (OdUInt16 vptFlags=0)
 
bool isPSOverallViewport () const
 
void setPSOverallViewport (bool bSet)
 
bool isPSModelViewport () const
 
void setPSModelViewport (bool bSet)
 
bool isPSHelperViewport () const
 
void setPSHelperViewport (bool bSet)
 
void setDefault ()
 
void applyChanges (const OdTrVisViewportDef &applyFrom, OdUInt32 nChanges)
 

Static Public Member Functions

static void viewportDefApplyChanges (OdTrVisViewportDef &applyTo, const OdTrVisViewportDef &applyFrom, OdUInt32 nChanges)
 

Public Attributes

bool m_bVisible
 
OdTrVisViewParamsDef m_viewParams
 
OdUInt16 m_vptFlags
 
OdTrVisViewportId m_overallViewportId
 
ODCOLORREF m_lineStyleConfig
 
ODCOLORREF m_fadingConfig
 
OdGsDCRectDouble m_screenRect
 
OdIntArray m_nrcCounts
 
OdFloatArray m_nrcPoints
 
OdUInt8Array m_lineweightsEnum
 
double m_lineweightsCoef
 
OdTrVisProgramId m_rmShader
 
OdTrVisVisualStyleId m_visualStyle
 
OdTrVisRenderMode m_renderMode
 
ODCOLORREF m_faceFillColor
 
bool m_bBorder
 
ODCOLORREF m_borderColor
 
int m_borderWeight
 
OdIntArray m_borderCounts
 
OdFloatArray m_borderPoints
 

Detailed Description

<group ExRender_Windows_Classes>

Definition at line 41 of file TrVisViewportDef.h.

Member Enumeration Documentation

◆ KindOfModification

Enumerator
kViewportModVisibility 
kViewportModOrientation 
kViewportModPersistent 
kViewportModContextual 
kViewportModRect 
kViewportModNrcClip 
kViewportModLineweights 
kViewportModShader 
kViewportModBorder 
kViewportModAll 

Definition at line 52 of file TrVisViewportDef.h.

◆ ViewportDefFlags

Enumerator
kPSOverallViewport 
kPSModelViewport 
kPSHelperViewport 

Definition at line 44 of file TrVisViewportDef.h.

Member Function Documentation

◆ applyChanges()

void OdTrVisViewportDef::applyChanges ( const OdTrVisViewportDef applyFrom,
OdUInt32  nChanges 
)
inline

Definition at line 145 of file TrVisViewportDef.h.

◆ isPSHelperViewport()

bool OdTrVisViewportDef::isPSHelperViewport ( ) const
inline

Definition at line 119 of file TrVisViewportDef.h.

◆ isPSModelViewport()

bool OdTrVisViewportDef::isPSModelViewport ( ) const
inline

Definition at line 115 of file TrVisViewportDef.h.

◆ isPSOverallViewport()

bool OdTrVisViewportDef::isPSOverallViewport ( ) const
inline

Definition at line 111 of file TrVisViewportDef.h.

◆ resetViewportFlags()

void OdTrVisViewportDef::resetViewportFlags ( OdUInt16  vptFlags = 0)
inline

Definition at line 108 of file TrVisViewportDef.h.

◆ setDefault()

void OdTrVisViewportDef::setDefault ( )
inline

Definition at line 123 of file TrVisViewportDef.h.

◆ setPSHelperViewport()

void OdTrVisViewportDef::setPSHelperViewport ( bool  bSet)
inline

Definition at line 120 of file TrVisViewportDef.h.

◆ setPSModelViewport()

void OdTrVisViewportDef::setPSModelViewport ( bool  bSet)
inline

Definition at line 116 of file TrVisViewportDef.h.

◆ setPSOverallViewport()

void OdTrVisViewportDef::setPSOverallViewport ( bool  bSet)
inline

Definition at line 112 of file TrVisViewportDef.h.

◆ viewportDefApplyChanges()

void OdTrVisViewportDef::viewportDefApplyChanges ( OdTrVisViewportDef applyTo,
const OdTrVisViewportDef applyFrom,
OdUInt32  nChanges 
)
inlinestatic

Definition at line 152 of file TrVisViewportDef.h.

Member Data Documentation

◆ m_bBorder

bool OdTrVisViewportDef::m_bBorder

Definition at line 101 of file TrVisViewportDef.h.

◆ m_borderColor

ODCOLORREF OdTrVisViewportDef::m_borderColor

Definition at line 102 of file TrVisViewportDef.h.

◆ m_borderCounts

OdIntArray OdTrVisViewportDef::m_borderCounts

Definition at line 104 of file TrVisViewportDef.h.

◆ m_borderPoints

OdFloatArray OdTrVisViewportDef::m_borderPoints

Definition at line 105 of file TrVisViewportDef.h.

◆ m_borderWeight

int OdTrVisViewportDef::m_borderWeight

Definition at line 103 of file TrVisViewportDef.h.

◆ m_bVisible

bool OdTrVisViewportDef::m_bVisible

Definition at line 78 of file TrVisViewportDef.h.

◆ m_faceFillColor

ODCOLORREF OdTrVisViewportDef::m_faceFillColor

Definition at line 99 of file TrVisViewportDef.h.

◆ m_fadingConfig

ODCOLORREF OdTrVisViewportDef::m_fadingConfig

Definition at line 86 of file TrVisViewportDef.h.

◆ m_lineStyleConfig

ODCOLORREF OdTrVisViewportDef::m_lineStyleConfig

Definition at line 85 of file TrVisViewportDef.h.

◆ m_lineweightsCoef

double OdTrVisViewportDef::m_lineweightsCoef

Definition at line 94 of file TrVisViewportDef.h.

◆ m_lineweightsEnum

OdUInt8Array OdTrVisViewportDef::m_lineweightsEnum

Definition at line 93 of file TrVisViewportDef.h.

◆ m_nrcCounts

OdIntArray OdTrVisViewportDef::m_nrcCounts

Definition at line 90 of file TrVisViewportDef.h.

◆ m_nrcPoints

OdFloatArray OdTrVisViewportDef::m_nrcPoints

Definition at line 91 of file TrVisViewportDef.h.

◆ m_overallViewportId

OdTrVisViewportId OdTrVisViewportDef::m_overallViewportId

Definition at line 83 of file TrVisViewportDef.h.

◆ m_renderMode

OdTrVisRenderMode OdTrVisViewportDef::m_renderMode

Definition at line 98 of file TrVisViewportDef.h.

◆ m_rmShader

OdTrVisProgramId OdTrVisViewportDef::m_rmShader

Definition at line 96 of file TrVisViewportDef.h.

◆ m_screenRect

OdGsDCRectDouble OdTrVisViewportDef::m_screenRect

Definition at line 88 of file TrVisViewportDef.h.

◆ m_viewParams

OdTrVisViewParamsDef OdTrVisViewportDef::m_viewParams

Definition at line 80 of file TrVisViewportDef.h.

◆ m_visualStyle

OdTrVisVisualStyleId OdTrVisViewportDef::m_visualStyle

Definition at line 97 of file TrVisViewportDef.h.

◆ m_vptFlags

OdUInt16 OdTrVisViewportDef::m_vptFlags

Definition at line 82 of file TrVisViewportDef.h.


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