IRdTriangleNeighboursStream Interface Reference

Inherits IDispatch.

List of all members.

Public Member Functions

HRESULT GetNumTripleIndices ([out, retval] RtDWORD *dwNumTripleIndices)
HRESULT SetNumTripleIndices ([in] RtDWORD dwNumTripleIndices)

Properties

RtUlong * i ([in] RtDWORD dwIndex) [get]
RtUlong i ([in] RtDWORD dwIndex) [set]
RtUlong * j ([in] RtDWORD dwIndex) [get]
RtUlong j ([in] RtDWORD dwIndex) [set]
RtUlong * k ([in] RtDWORD dwIndex) [get]
RtUlong k ([in] RtDWORD dwIndex) [set]


Detailed Description

IRdTriangleNeighboursStream is a temporary stream, that holds topology information for mesh.
Neighboring information for non-2manifold objects may not be correct on bad edges.
Remarks:
In graphics 2manifold means that each edge has exactly 2 faces.
This is a temporary stream, that should be used stored inside system scratch-pad instead of mesh streams. If you want to add stream to mesh, it can be stored in Triangle stream group. Stream is identified by STREAMID_TRIANGLES_TRIANGLENEIGHS id.

Member Function Documentation

HRESULT IRdTriangleNeighboursStream::GetNumTripleIndices ( [out, retval] RtDWORD *  dwNumTripleIndices  ) 

Get number of triangles/triple Indices.

Returns:
dwNumTripleIndices [out,retval] Returns value for triangles/triple indices.

standard HRESULT processing can be applied to returned value

HRESULT IRdTriangleNeighboursStream::SetNumTripleIndices ( [in] RtDWORD  dwNumTripleIndices  ) 

Set number of triangles/triple indices.

Parameters:
dwNumTripleIndices [in] Value to set triangles/triple indices to.
Returns:
standard HRESULT processing can be applied to returned value.


Property Documentation

RtUlong * IRdTriangleNeighboursStream::i([in] RtDWORD dwIndex) [get]

Get neighbor of dwIndex-th triangle sharing edge 1-2

Parameters:
dwIndex [in] Triangle index.
Returns:
pVal [out, retval] Neighboring triangle index.

standard HRESULT processing can be applied to returned value.

RtUlong IRdTriangleNeighboursStream::i([in] RtDWORD dwIndex) [set]

Set neighbor of dwIndex-th triangle sharing edge 1-2.

Parameters:
dwIndex [in] Triangle index.
newVal [in] Neighboring triangle index.
Returns:
standard HRESULT processing can be applied to returned value.

RtUlong * IRdTriangleNeighboursStream::j([in] RtDWORD dwIndex) [get]

Get neighbor of dwIndex-th triangle sharing edge 1-2.

Parameters:
dwIndex [in] Triangle index.
Returns:
pVal [out, retval] Neighboring triangle index.

standard HRESULT processing can be applied to returned value.

RtUlong IRdTriangleNeighboursStream::j([in] RtDWORD dwIndex) [set]

Set neighbor of dwIndex-th triangle sharing edge 2-3.

Parameters:
dwIndex [in] Triangle index.
newVal [in] Neighboring triangle index.
Returns:
standard HRESULT processing can be applied to returned value.

RtUlong* IRdTriangleNeighboursStream::k([in] RtDWORD dwIndex) [get]

Get neighbor of dwIndex-th triangle sharing edge 3-1.

Parameters:
dwIndex [in] Triangle index.
Returns:
pVal [out, retval] Neighboring triangle index.

standard HRESULT processing can be applied to returned value.

RtUlong IRdTriangleNeighboursStream::k([in] RtDWORD dwIndex) [set]

Set neighbor of dwIndex-th triangle sharing edge 3-1.

Parameters:
dwIndex [in] Triangle index.
newVal [in] Neighboring triangle index.
Returns:
standard HRESULT processing can be applied to returned value.


Generated on Wed May 20 21:32:06 2009 for trueSpace7.6 SDK by  doxygen 1.5.5