Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

class Geo::IRtMesh

    └>Geo::IGeoReleasable

An interface used by the raytracers to fill their internal mesh data structures.

Functions

NameDescription
GetNumRtTriangles()

Returns how many triangles in the mesh.

GetNumRtVertices()

Returns how many vertices in the mesh.

Release()

Free this object that was created within the Enlighten libraries.

VisitRtMesh(EmbreeRtMeshVisitor &)

Calls methods on the given RtMeshVisitor for each vertex and triangle in the mesh.


Anchor
a5e151a9a555443c1cef118eb5942f574
a5e151a9a555443c1cef118eb5942f574

virtual Geo::s32 Geo::IRtMesh::GetNumRtTriangles

...

public: Geo::s32 GetNumRtTriangles() const

...

Returns how many triangles in the mesh.


Anchor
a44d281ca0daccbbafebf93eb92872cda
a44d281ca0daccbbafebf93eb92872cda

virtual Geo::s32 Geo::IRtMesh::GetNumRtVertices

...

public: Geo::s32 GetNumRtVertices() const

...

Returns how many vertices in the mesh.


Anchor
af6bdf30b42adde386c428e9dc2821eb9
af6bdf30b42adde386c428e9dc2821eb9

virtual void Geo::IGeoReleasable::Release

...

public: void Release()

...

Free this object that was created within the Enlighten libraries.

Expect this to behave in a similar way to calling 'delete(this)'


Anchor
ab39c603c35482a228bef0ec42c9ab5ad
ab39c603c35482a228bef0ec42c9ab5ad

virtual void Geo::IRtMesh::VisitRtMesh

...

public: void VisitRtMesh
(
    EmbreeRtMeshVisitor & visitor
) const

...

Calls methods on the given RtMeshVisitor for each vertex and triangle in the mesh.