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

#include <TrVisViewportDef.h>

Public Types

enum  Flags { kEnableNrcClip = (1 << 0) , kEnableBorder = (1 << 1) }
 

Public Member Functions

void resetFlags (OdUInt16 nFlags=0)
 
void setDefault ()
 
void apply (const OdTrVisViewportClipDef &pDef, bool bApplyNrcClip, bool bApplyBorder)
 
void enableNrcClip (bool bSet)
 
bool isNrcClipEnabled () const
 
void enableBorder (bool bSet)
 
bool isBorderEnabled () const
 
void setScreenRect (const OdGsDCRectDouble &screenRect)
 
const OdGsDCRectDoublescreenRect () const
 
void setLocalXform (const OdTrVisViewportRegionXform &locXform)
 
bool hasLocalXform () const
 
const OdTrVisViewportRegionXformlocalXform () const
 
OdTrVisViewportRegionXformlocalXform ()
 
void setNrcClipRegion (const OdTrVisViewportRegionDef &nrcClip)
 
const OdTrVisViewportRegionDefnrcClipRegion () const
 
OdTrVisViewportRegionDefnrcClipRegion ()
 
void setBorder (const OdTrVisViewportBorderDef &border)
 
const OdTrVisViewportBorderDefborder () const
 
OdTrVisViewportBorderDefborder ()
 

Public Attributes

OdUInt16 m_flags
 
OdGsDCRectDouble m_screenRect
 
OdTrVisViewportRegionXform m_localXform
 
OdTrVisViewportRegionDef m_nrcClip
 
OdTrVisViewportBorderDef m_border
 

Detailed Description

<group ExRender_Windows_Classes>

Definition at line 194 of file TrVisViewportDef.h.

Member Enumeration Documentation

◆ Flags

Enumerator
kEnableNrcClip 
kEnableBorder 

Definition at line 196 of file TrVisViewportDef.h.

Member Function Documentation

◆ apply()

void OdTrVisViewportClipDef::apply ( const OdTrVisViewportClipDef pDef,
bool  bApplyNrcClip,
bool  bApplyBorder 
)
inline

Definition at line 228 of file TrVisViewportDef.h.

◆ border() [1/2]

OdTrVisViewportBorderDef & OdTrVisViewportClipDef::border ( )
inline

Definition at line 260 of file TrVisViewportDef.h.

◆ border() [2/2]

const OdTrVisViewportBorderDef & OdTrVisViewportClipDef::border ( ) const
inline

Definition at line 259 of file TrVisViewportDef.h.

◆ enableBorder()

void OdTrVisViewportClipDef::enableBorder ( bool  bSet)
inline

Definition at line 243 of file TrVisViewportDef.h.

◆ enableNrcClip()

void OdTrVisViewportClipDef::enableNrcClip ( bool  bSet)
inline

Definition at line 240 of file TrVisViewportDef.h.

◆ hasLocalXform()

bool OdTrVisViewportClipDef::hasLocalXform ( ) const
inline

Definition at line 250 of file TrVisViewportDef.h.

◆ isBorderEnabled()

bool OdTrVisViewportClipDef::isBorderEnabled ( ) const
inline

Definition at line 244 of file TrVisViewportDef.h.

◆ isNrcClipEnabled()

bool OdTrVisViewportClipDef::isNrcClipEnabled ( ) const
inline

Definition at line 241 of file TrVisViewportDef.h.

◆ localXform() [1/2]

OdTrVisViewportRegionXform & OdTrVisViewportClipDef::localXform ( )
inline

Definition at line 252 of file TrVisViewportDef.h.

◆ localXform() [2/2]

const OdTrVisViewportRegionXform & OdTrVisViewportClipDef::localXform ( ) const
inline

Definition at line 251 of file TrVisViewportDef.h.

◆ nrcClipRegion() [1/2]

OdTrVisViewportRegionDef & OdTrVisViewportClipDef::nrcClipRegion ( )
inline

Definition at line 256 of file TrVisViewportDef.h.

◆ nrcClipRegion() [2/2]

const OdTrVisViewportRegionDef & OdTrVisViewportClipDef::nrcClipRegion ( ) const
inline

Definition at line 255 of file TrVisViewportDef.h.

◆ resetFlags()

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

Definition at line 214 of file TrVisViewportDef.h.

◆ screenRect()

const OdGsDCRectDouble & OdTrVisViewportClipDef::screenRect ( ) const
inline

Definition at line 247 of file TrVisViewportDef.h.

◆ setBorder()

void OdTrVisViewportClipDef::setBorder ( const OdTrVisViewportBorderDef border)
inline

Definition at line 258 of file TrVisViewportDef.h.

◆ setDefault()

void OdTrVisViewportClipDef::setDefault ( )
inline

Definition at line 218 of file TrVisViewportDef.h.

◆ setLocalXform()

void OdTrVisViewportClipDef::setLocalXform ( const OdTrVisViewportRegionXform locXform)
inline

Definition at line 249 of file TrVisViewportDef.h.

◆ setNrcClipRegion()

void OdTrVisViewportClipDef::setNrcClipRegion ( const OdTrVisViewportRegionDef nrcClip)
inline

Definition at line 254 of file TrVisViewportDef.h.

◆ setScreenRect()

void OdTrVisViewportClipDef::setScreenRect ( const OdGsDCRectDouble screenRect)
inline

Definition at line 246 of file TrVisViewportDef.h.

Member Data Documentation

◆ m_border

OdTrVisViewportBorderDef OdTrVisViewportClipDef::m_border

Definition at line 212 of file TrVisViewportDef.h.

◆ m_flags

OdUInt16 OdTrVisViewportClipDef::m_flags

Definition at line 204 of file TrVisViewportDef.h.

◆ m_localXform

OdTrVisViewportRegionXform OdTrVisViewportClipDef::m_localXform

Definition at line 208 of file TrVisViewportDef.h.

◆ m_nrcClip

OdTrVisViewportRegionDef OdTrVisViewportClipDef::m_nrcClip

Definition at line 210 of file TrVisViewportDef.h.

◆ m_screenRect

OdGsDCRectDouble OdTrVisViewportClipDef::m_screenRect

Definition at line 206 of file TrVisViewportDef.h.


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