CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
OdGiVisualStyleTraitsData Class Reference

#include <GiVisualStyleTraitsData.h>

Public Member Functions

 OdGiVisualStyleTraitsData ()
 
OdGiDrawable::DrawableType type () const
 
void setOdGiVisualStyle (const OdGiVisualStyle &visualStyle)
 
const OdGiVisualStyleodgiVisualStyle () const
 
bool isOdGiVisualStyleSet () const
 
void resetOdGiVisualStyle ()
 
bool operator== (const OdGiVisualStyleTraitsData &data2) const
 
bool operator!= (const OdGiVisualStyleTraitsData &data2) const
 

Detailed Description

Corresponding C++ library: TD_Gi <group OdGi_Classes>

See also
<link tv_working_with_attributes_visual_styles, Work with Visual Styles>

Definition at line 37 of file GiVisualStyleTraitsData.h.

Constructor & Destructor Documentation

◆ OdGiVisualStyleTraitsData()

OdGiVisualStyleTraitsData::OdGiVisualStyleTraitsData ( )
inline

Default constructor for the OdGiVisualStyleTraitsData class. Initializes the smart pointer to the associated visual style to NULL.

Definition at line 46 of file GiVisualStyleTraitsData.h.

Member Function Documentation

◆ isOdGiVisualStyleSet()

bool OdGiVisualStyleTraitsData::isOdGiVisualStyleSet ( ) const
inline

Checks whether visual style is set.

Returns
true if pointer to the associated visual style is not NULL, false otherwise.

Definition at line 77 of file GiVisualStyleTraitsData.h.

◆ odgiVisualStyle()

const OdGiVisualStyle & OdGiVisualStyleTraitsData::odgiVisualStyle ( ) const
inline

Retrieves the visual style.

Definition at line 67 of file GiVisualStyleTraitsData.h.

◆ operator!=()

bool OdGiVisualStyleTraitsData::operator!= ( const OdGiVisualStyleTraitsData data2) const
inline

Inequality operator for the OdGiVisualStyleTraitsData class. The objects are considered not equal if the equality operator returns false.

Parameters
data2[in] Object to compare.
Returns
true if objects are not equal, false otherwise.

Definition at line 112 of file GiVisualStyleTraitsData.h.

◆ operator==()

bool OdGiVisualStyleTraitsData::operator== ( const OdGiVisualStyleTraitsData data2) const
inline

Equality operator for the OdGiVisualStyleTraitsData class. The objects are considered equal if both visual styles are set and refer to the same visual style, or if both are not set.

Parameters
data2[in] Object to compare.
Returns
true if object are equal, false otherwise.

Definition at line 98 of file GiVisualStyleTraitsData.h.

◆ resetOdGiVisualStyle()

void OdGiVisualStyleTraitsData::resetOdGiVisualStyle ( )
inline

Resets visual style.

Definition at line 84 of file GiVisualStyleTraitsData.h.

◆ setOdGiVisualStyle()

void OdGiVisualStyleTraitsData::setOdGiVisualStyle ( const OdGiVisualStyle visualStyle)
inline

Sets visual style.

Parameters
visualStyle[in] Visual style to set.

Definition at line 59 of file GiVisualStyleTraitsData.h.

◆ type()

OdGiDrawable::DrawableType OdGiVisualStyleTraitsData::type ( ) const
inline

Retrieves the drawable type of this object which is kGeometry.

Definition at line 53 of file GiVisualStyleTraitsData.h.


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