CFx SDK Documentation 2024 SP0
|
#include <GiGeometry.h>
Public Types | |
enum | MapChannel { kAllChannels = 0 } |
Public Member Functions | |
OdGiVertexData () | |
void | setNormals (const OdGeVector3d *normals) |
void | setOrientationFlag (const OdGiOrientationType orientationType) |
void | setTrueColors (const OdCmEntityColor *colors) |
void | setMappingCoords (MapChannel channel, const OdGePoint3d *coords) |
const OdGeVector3d * | normals () const |
OdGiOrientationType | orientationFlag () const |
const OdCmEntityColor * | trueColors () const |
const OdGePoint3d * | mappingCoords (MapChannel channel) const |
This class contains arrays of vertex attributes for meshes and shells.
Setting an 'improper' size of any array will cause unpredictable or fatal results.
<group OdGi_Classes>
Definition at line 633 of file GiGeometry.h.
Represents types of map channels.
Enumerator | |
---|---|
kAllChannels |
Definition at line 653 of file GiGeometry.h.
|
inline |
Default constructor for the OdGiVertexData class. Sets normals, colors and mapping coordinates to NULL and the orientation flag to kOdGiNoOrientation.
Definition at line 643 of file GiGeometry.h.
|
inline |
Returns the array of mapping coordinates used by this object.
channel | [in] Specifies mapping channel. |
Definition at line 767 of file GiGeometry.h.
|
inline |
Returns the array of vertex normal vectors used by this object.
Definition at line 724 of file GiGeometry.h.
|
inline |
Returns the direction of the normal at the vertices that is used by this object.
Value kOdGiCounterClockwise -1 kOdGiNoOrientation 0 kOdGiClockwise 1
Definition at line 739 of file GiGeometry.h.
|
inline |
Sets the mapping coordinates to be used by this object.
channel | [in] Specifies mapping channel. |
coords | [in] Array of OdGePoint3d objects. |
Definition at line 711 of file GiGeometry.h.
|
inline |
Sets the vertex normal vectors to be used by this object.
normals | [in] Array of normal vectors. |
Definition at line 664 of file GiGeometry.h.
|
inline |
Sets the orientation type to be used by this object.
orientationType | [in] Orientation type. |
orientationType must be one of the following:
Value kOdGiCounterClockwise -1 kOdGiNoOrientation 0 kOdGiClockwise 1
Definition at line 684 of file GiGeometry.h.
|
inline |
Sets the vertex colors to be used by this object.
colors | [in] Array of OdCmEntityColor objects. |
Definition at line 697 of file GiGeometry.h.
|
inline |
Returns the array of vertex colors used by this object.
Definition at line 752 of file GiGeometry.h.