CFx SDK Documentation  2022 SP0
Public Member Functions | List of all members
OdGiEdgeData Class Reference

#include <GiGeometry.h>

Inheritance diagram for OdGiEdgeData:
OdGiEdgeDataStorage

Public Member Functions

 OdGiEdgeData ()
 
void setColors (const OdUInt16 *colors)
 
void setTrueColors (const OdCmEntityColor *colors)
 
void setLayers (OdDbStub **layerIds)
 
void setLinetypes (OdDbStub **linetypeIds)
 
void setSelectionMarkers (const OdGsMarker *selectionMarkers)
 
void setVisibility (const OdUInt8 *visibilities)
 
const OdUInt16colors () const
 
const OdCmEntityColortrueColors () const
 
OdDbStub ** layerIds () const
 
OdDbStub ** linetypeIds () const
 
const OdGsMarkerselectionMarkers () const
 
const OdUInt8visibility () const
 

Detailed Description

This class represents arrays of edge attributes for meshes and shells.

Remarks
EdgeData objects are optional; they can be optionally passed to OdGiWorldGeometry and OdGiViewportGeometry when using their mesh and shell methods.
Setting an 'improper' size of any array will cause unpredictable or fatal results.
See also
TD_Gi

<group OdGi_Classes>

Definition at line 66 of file GiGeometry.h.

Constructor & Destructor Documentation

◆ OdGiEdgeData()

OdGiEdgeData::OdGiEdgeData ( )
inline

Definition at line 75 of file GiGeometry.h.

Member Function Documentation

◆ colors()

const OdUInt16* OdGiEdgeData::colors ( ) const
inline

Returns the array of edge colors used by this object.

Remarks
This function does not make a copy of the array, which should have the same number of elements as the mesh or shell with which it is used. Writing beyond the array bounds will have unpredictable or fatal consequences.

Definition at line 177 of file GiGeometry.h.

◆ layerIds()

OdDbStub** OdGiEdgeData::layerIds ( ) const
inline

Returns the array of edge LayerTableRecord Object IDs used by this object.

Remarks
This function does not make a copy of the array, which should have the same number of elements as the mesh or shell with which it is used. Writing beyond the array bounds will have unpredictable or fatal consequences.

Definition at line 195 of file GiGeometry.h.

◆ linetypeIds()

OdDbStub** OdGiEdgeData::linetypeIds ( ) const
inline

Returns the array of edge LinetypeTableRecord Object IDs used by this object.

Remarks
This function does not make a copy of the array, which should have the same number of elements as the mesh or shell with which it is used. Writing beyond the array bounds will have unpredictable or fatal consequences.

Definition at line 204 of file GiGeometry.h.

◆ selectionMarkers()

const OdGsMarker* OdGiEdgeData::selectionMarkers ( ) const
inline

Returns the array of edge graphics system selection markers used by this object.

Remarks
This function does not make a copy of the array, which should have the same number of elements as the mesh or shell with which it is used. Writing beyond the array bounds will have unpredictable or fatal consequences.

Definition at line 213 of file GiGeometry.h.

◆ setColors()

void OdGiEdgeData::setColors ( const OdUInt16 colors)
inline

Sets the edge colors to be used by this object.

Parameters
colors[in] Array of color indices.
Remarks
You cannot call both setColors() and setTrueColors().

This function does not make a copy of the array, which should have the same number of elements as the mesh or shell with which it is used. An incorrect number of elements will have unpredictable or fatal consequences.

Definition at line 95 of file GiGeometry.h.

◆ setLayers()

void OdGiEdgeData::setLayers ( OdDbStub **  layerIds)
inline

Sets the edge Layer Table Records to be used by this object.

Parameters
layerIds[in] Array of LayerTableRecord Object IDs.
Remarks
This function does not make a copy of the array, which should have the same number of elements as the mesh or shell with which it is used. An incorrect number of elements will have unpredictable or fatal consequences.

Definition at line 121 of file GiGeometry.h.

◆ setLinetypes()

void OdGiEdgeData::setLinetypes ( OdDbStub **  linetypeIds)
inline

Sets the edge Linetype Table Records to be used by this object.

Parameters
linetypeIds[in] Array of LinetypeTableRecord Object IDs.
Remarks
This function does not make a copy of the array, which should have the same number of elements as the mesh or shell with which it is used. An incorrect number of elements will have unpredictable or fatal consequences.

Definition at line 133 of file GiGeometry.h.

◆ setSelectionMarkers()

void OdGiEdgeData::setSelectionMarkers ( const OdGsMarker selectionMarkers)
inline

Sets the edge graphics system selection markers to be used by this object.

Parameters
selectionMarkers[in] Array of graphics system selection markers.
Remarks
This function does not make a copy of the array, which should have the same number of elements as the mesh or shell with which it is used. An incorrect number of elements will have unpredictable or fatal consequences.

Definition at line 145 of file GiGeometry.h.

◆ setTrueColors()

void OdGiEdgeData::setTrueColors ( const OdCmEntityColor colors)
inline

Sets the edge colors to be used by this object.

Parameters
colors[in] Array of OdCmEntityColor objects.
Remarks
You cannot call both setColors() and setTrueColors().

This function does not make a copy of the array, which should have the same number of elements as the mesh or shell with which it is used. An incorrect number of elements will have unpredictable or fatal consequences.

Definition at line 109 of file GiGeometry.h.

◆ setVisibility()

void OdGiEdgeData::setVisibility ( const OdUInt8 visibilities)
inline

Sets the edge visibilities to be used by this object.

Parameters
visibilities[in] Array of visibility values.
Remarks
Each visibility must be one of the following:

Value Description kOdGiInvisible 0 Invisible kOdGiVisible 1 Visible kOdGiSilhouette 2 Silhouette edge

Remarks
This function does not make a copy of the array, which should have the same number of elements as the mesh or shell with which it is used. An incorrect number of elements will have unpredictable or fatal consequences.

Definition at line 167 of file GiGeometry.h.

◆ trueColors()

const OdCmEntityColor* OdGiEdgeData::trueColors ( ) const
inline

Returns the array of edge colors used by this object.

Remarks
This function does not make a copy of the array, which should have the same number of elements as the mesh or shell with which it is used. Writing beyond the array bounds will have unpredictable or fatal consequences.

Definition at line 186 of file GiGeometry.h.

◆ visibility()

const OdUInt8* OdGiEdgeData::visibility ( ) const
inline

Returns the array of edge visibilities used by this object.

Remarks
Each visibility must be one of the following:

Value Description kOdGiInvisible 0 Invisible kOdGiVisible 1 Visible kOdGiSilhouette 2 Silhouette edge

Remarks
This function does not make a copy of the array, which should have the same number of elements as the mesh or shell with which it is used. Writing beyond the array bounds will have unpredictable or fatal consequences.

Definition at line 232 of file GiGeometry.h.


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