CFx SDK Documentation
2020SP3
|
#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 548 of file GiGeometry.h.
Enumerator | |
---|---|
kAllChannels |
Definition at line 562 of file GiGeometry.h.
|
inline |
Definition at line 555 of file GiGeometry.h.
|
inline |
Returns the array of mapping coordinates used by this object.
channel | [in] Specifies mapping channel. |
Definition at line 664 of file GiGeometry.h.
|
inline |
Returns the array of vertex normal vectors used by this object.
Definition at line 629 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 644 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 618 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 573 of file GiGeometry.h.
|
inline |
Sets the orientation type to be used by this object.
orientationFlag | [in] Orientation type. |
orientationFlag must be one of the following:
Value kOdGiCounterClockwise -1 kOdGiNoOrientation 0 kOdGiClockwise 1
Definition at line 593 of file GiGeometry.h.
|
inline |
Sets the vertex colors to be used by this object.
colors | [in] Array of OdCmEntityColor objects. |
Definition at line 605 of file GiGeometry.h.
|
inline |
Returns the array of vertex colors used by this object.
Definition at line 653 of file GiGeometry.h.