CFx SDK Documentation  2020SP3
Classes | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | List of all members
OdTrVisVisualStyle Class Reference

#include <TrVisVisualStyle.h>

Classes

struct  PropCheck
 

Public Member Functions

 OdTrVisVisualStyle ()
 
 OdTrVisVisualStyle (const OdTrVisVisualStyle &from)
 
 ~OdTrVisVisualStyle ()
 
void copyFrom (const OdTrVisVisualStyle &from, bool bCopyType=true, bool bCopyDiff=false)
 
void copyModified (const OdTrVisVisualStyle &from, bool bCopyType=true)
 
OdTrVisVisualStyleoperator= (const OdTrVisVisualStyle &from)
 
void setType (OdGiVisualStyle::Type tpy)
 
OdGiVisualStyle::Type type () const
 
void setName (const OdString &name)
 
const OdStringname () const
 
void setInternal (bool bSet)
 
bool isInternal () const
 
void setTemporary (bool bSet)
 
bool isTemporary () const
 
void setPropertiesNumber (OdUInt32 nProps)
 
OdUInt32 numProperties () const
 
void clear ()
 
OdTrVisVisualStylePropertyproperty (OdGiVisualStyleProperties::Property prop)
 
const OdTrVisVisualStylePropertyproperty (OdGiVisualStyleProperties::Property prop) const
 
bool compare (const OdTrVisVisualStyle &with, bool bCmpType=false, bool bCmpProps=true) const
 
bool operator== (const OdTrVisVisualStyle &with) const
 
bool operator!= (const OdTrVisVisualStyle &with) const
 
void resetModified (bool bSet=false)
 
OdUInt32 countModified () const
 
bool resolveInheritance (const OdTrVisVisualStyle &owner, OdUInt32 *nResolved=NULL, OdUInt32 *nUnresolved=NULL)
 
OdUInt32 countUnresolved () const
 
bool backSubstitution (const OdTrVisVisualStyle &child, OdUInt32 *nSubstituted=NULL, OdUInt32 *nUnresolved=NULL)
 
void computeRenderMode (OdTrVisRenderMode &pRM, bool bBestMatch=false) const
 
int computeExtentsEnlargement () const
 

Protected Types

typedef OdVector< OdTrVisVisualStylePropertyPropsCont
 

Protected Member Functions

void checkLength (OdUInt32 nProp) const
 
void copyType (const OdTrVisVisualStyle &from)
 

Protected Attributes

OdGiVisualStyle::Type m_type
 
OdString m_name
 
bool m_bInternal
 
bool m_bTemporary
 
PropsCont m_props
 

Detailed Description

<group ExRender_Windows_Classes>

Definition at line 339 of file TrVisVisualStyle.h.

Member Typedef Documentation

◆ PropsCont

Definition at line 342 of file TrVisVisualStyle.h.

Constructor & Destructor Documentation

◆ OdTrVisVisualStyle() [1/2]

OdTrVisVisualStyle::OdTrVisVisualStyle ( )
inline

Definition at line 398 of file TrVisVisualStyle.h.

◆ OdTrVisVisualStyle() [2/2]

OdTrVisVisualStyle::OdTrVisVisualStyle ( const OdTrVisVisualStyle from)
inline

Definition at line 405 of file TrVisVisualStyle.h.

◆ ~OdTrVisVisualStyle()

OdTrVisVisualStyle::~OdTrVisVisualStyle ( )
inline

Definition at line 412 of file TrVisVisualStyle.h.

Member Function Documentation

◆ backSubstitution()

bool OdTrVisVisualStyle::backSubstitution ( const OdTrVisVisualStyle child,
OdUInt32 nSubstituted = NULL,
OdUInt32 nUnresolved = NULL 
)
inline

Definition at line 555 of file TrVisVisualStyle.h.

◆ checkLength()

void OdTrVisVisualStyle::checkLength ( OdUInt32  nProp) const
inlineprotected

Definition at line 350 of file TrVisVisualStyle.h.

◆ clear()

void OdTrVisVisualStyle::clear ( )
inline

Definition at line 459 of file TrVisVisualStyle.h.

◆ compare()

bool OdTrVisVisualStyle::compare ( const OdTrVisVisualStyle with,
bool  bCmpType = false,
bool  bCmpProps = true 
) const
inline

Definition at line 464 of file TrVisVisualStyle.h.

◆ computeExtentsEnlargement()

int OdTrVisVisualStyle::computeExtentsEnlargement ( ) const
inline

Definition at line 594 of file TrVisVisualStyle.h.

◆ computeRenderMode()

void OdTrVisVisualStyle::computeRenderMode ( OdTrVisRenderMode pRM,
bool  bBestMatch = false 
) const
inline

Definition at line 573 of file TrVisVisualStyle.h.

◆ copyFrom()

void OdTrVisVisualStyle::copyFrom ( const OdTrVisVisualStyle from,
bool  bCopyType = true,
bool  bCopyDiff = false 
)
inline

Definition at line 414 of file TrVisVisualStyle.h.

◆ copyModified()

void OdTrVisVisualStyle::copyModified ( const OdTrVisVisualStyle from,
bool  bCopyType = true 
)
inline

Definition at line 426 of file TrVisVisualStyle.h.

◆ copyType()

void OdTrVisVisualStyle::copyType ( const OdTrVisVisualStyle from)
inlineprotected

Definition at line 355 of file TrVisVisualStyle.h.

◆ countModified()

OdUInt32 OdTrVisVisualStyle::countModified ( ) const
inline

Definition at line 494 of file TrVisVisualStyle.h.

◆ countUnresolved()

OdUInt32 OdTrVisVisualStyle::countUnresolved ( ) const
inline

Definition at line 542 of file TrVisVisualStyle.h.

◆ isInternal()

bool OdTrVisVisualStyle::isInternal ( ) const
inline

Definition at line 451 of file TrVisVisualStyle.h.

◆ isTemporary()

bool OdTrVisVisualStyle::isTemporary ( ) const
inline

Definition at line 454 of file TrVisVisualStyle.h.

◆ name()

const OdString& OdTrVisVisualStyle::name ( void  ) const
inline

Definition at line 448 of file TrVisVisualStyle.h.

◆ numProperties()

OdUInt32 OdTrVisVisualStyle::numProperties ( ) const
inline

Definition at line 457 of file TrVisVisualStyle.h.

◆ operator!=()

bool OdTrVisVisualStyle::operator!= ( const OdTrVisVisualStyle with) const
inline

Definition at line 485 of file TrVisVisualStyle.h.

◆ operator=()

OdTrVisVisualStyle& OdTrVisVisualStyle::operator= ( const OdTrVisVisualStyle from)
inline

Definition at line 442 of file TrVisVisualStyle.h.

◆ operator==()

bool OdTrVisVisualStyle::operator== ( const OdTrVisVisualStyle with) const
inline

Definition at line 484 of file TrVisVisualStyle.h.

◆ property() [1/2]

OdTrVisVisualStyleProperty& OdTrVisVisualStyle::property ( OdGiVisualStyleProperties::Property  prop)
inline

Definition at line 461 of file TrVisVisualStyle.h.

◆ property() [2/2]

const OdTrVisVisualStyleProperty& OdTrVisVisualStyle::property ( OdGiVisualStyleProperties::Property  prop) const
inline

Definition at line 462 of file TrVisVisualStyle.h.

◆ resetModified()

void OdTrVisVisualStyle::resetModified ( bool  bSet = false)
inline

Definition at line 487 of file TrVisVisualStyle.h.

◆ resolveInheritance()

bool OdTrVisVisualStyle::resolveInheritance ( const OdTrVisVisualStyle owner,
OdUInt32 nResolved = NULL,
OdUInt32 nUnresolved = NULL 
)
inline

Definition at line 518 of file TrVisVisualStyle.h.

◆ setInternal()

void OdTrVisVisualStyle::setInternal ( bool  bSet)
inline

Definition at line 450 of file TrVisVisualStyle.h.

◆ setName()

void OdTrVisVisualStyle::setName ( const OdString name)
inline

Definition at line 447 of file TrVisVisualStyle.h.

◆ setPropertiesNumber()

void OdTrVisVisualStyle::setPropertiesNumber ( OdUInt32  nProps)
inline

Definition at line 456 of file TrVisVisualStyle.h.

◆ setTemporary()

void OdTrVisVisualStyle::setTemporary ( bool  bSet)
inline

Definition at line 453 of file TrVisVisualStyle.h.

◆ setType()

void OdTrVisVisualStyle::setType ( OdGiVisualStyle::Type  tpy)
inline

Definition at line 444 of file TrVisVisualStyle.h.

◆ type()

OdGiVisualStyle::Type OdTrVisVisualStyle::type ( ) const
inline

Definition at line 445 of file TrVisVisualStyle.h.

Member Data Documentation

◆ m_bInternal

bool OdTrVisVisualStyle::m_bInternal
protected

Definition at line 346 of file TrVisVisualStyle.h.

◆ m_bTemporary

bool OdTrVisVisualStyle::m_bTemporary
protected

Definition at line 347 of file TrVisVisualStyle.h.

◆ m_name

OdString OdTrVisVisualStyle::m_name
protected

Definition at line 345 of file TrVisVisualStyle.h.

◆ m_props

PropsCont OdTrVisVisualStyle::m_props
mutableprotected

Definition at line 348 of file TrVisVisualStyle.h.

◆ m_type

OdGiVisualStyle::Type OdTrVisVisualStyle::m_type
protected

Definition at line 344 of file TrVisVisualStyle.h.


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