Main Page | Class Hierarchy | Alphabetical List | Compound List | Compound Members

# IRdTrianglesVisStream Struct Reference

Inherits IDispatch.

List of all members.

## Public Member Functions
RtDWORD | GetNumTriangles (void)
HRESULT | SetNumTriangles ([in] RtDWORD dwNumTriangles)
HRESULT | color ([in] RtDWORD dwIndex,[out, retval] RtUlong *pVal)
HRESULT | color ([in] RtDWORD dwIndex,[in] RtUlong newVal)

## Detailed Description

IRdTrianglesVisStream specifies per-triangle colors. Elements are held in RtTriangleVisualization structure.

The stream is part of IRdMesh and is stored in Triangle stream group. Stream is identified by STREAMID_TRIANGLE_VISUALIZATION id.

## Member Function Documentation

RtDWORD IRdTrianglesVisStream::GetNumTriangles | ( | void |  | ) |

| Get number of triangles Returns: standard HRESULT processing can be applied to returned value

HRESULT IRdTrianglesVisStream::SetNumTriangles | ( | [in] RtDWORD | dwNumTriangles | ) |

| Set number of triangles Returns: standard HRESULT processing can be applied to returned value

HRESULT IRdTrianglesVisStream::color | ( | [in] RtDWORD | dwIndex,
|  | [out, retval] RtUlong * | pVal
| ) |

  | Get dwIndex-th triangle color Parameters:
  dwIndex | Triangle index
  *pVal | Triangle color
Returns: standard HRESULT processing can be applied to returned value

HRESULT IRdTrianglesVisStream::color | ( | [in] RtDWORD | dwIndex,
|  | [in] RtUlong | newVal
| ) |

  | Set dwIndex-th triangle color Parameters:
  dwIndex | Triangle index
  newVal | Triangle color
Returns: standard HRESULT processing can be applied to returned value