Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)

Enlighten API 3.10 Documentation
Results will update as you type.
  • class Geo GeoUniqueDelegatePtr
  • class Geo GeoUniquePtr
  • class Geo GeoUniqueReleasePtr
  • class Geo GeoV128Texture
  • class Geo GeoVariant
  • class Geo GeoVirtualPageAllocator
  • class Geo GeoZLibFileStream
  • class Geo GoodRNG
  • class Geo IdentDataCompare
  • class Geo IdentVertLinkBuilder
  • class Geo IdxLink
  • class Geo IffReader
  • class Geo IffTextWriter
  • class Geo IffWriter
  • class Geo IGeoEvent
  • class Geo IGeoInputStream
  • class Geo IGeoProgressProxy
  • class Geo IGeoRayTracingContext
  • class Geo IGeoReleasable
  • class Geo IGeoSerialisable
  • class Geo IGeoStream
  • class Geo IRtMesh
  • class Geo ITerminalCmdHandler
  • class Geo ITerminalDelegate
  • class Geo ITerminalInputHandler
  • class Geo ITerminalOutputHandler
  • class Geo Matrix
  • class Geo MemoryAllocator
  • class Geo NonCopyable
  • class Geo Optional
  • class Geo PackedInteger4
  • class Geo PointLeaf
  • class Geo PointSplit
  • class Geo PointSplitBounds
  • class Geo PointSplitState
  • class Geo QuickTaskTimer
  • class Geo RayResult
  • class Geo Releasable
  • class Geo RingBuffer
  • class Geo RtMesh
  • class Geo RtMeshGroup
  • class Geo ScopedTickCounter
  • class Geo ScopedTimer
  • class Geo SHCoeff
  • class Geo SimpleRNG
  • class Geo TerminalProvider
  • class Geo TextureWriter
  • class Geo TreeNode
  • class Geo TriGroupSelection
  • class Geo TxtProgressBar
  • namespace Geo Iff
  • namespace Geo PathUtils
  • namespace Geo Version
  • struct Geo ArrayRange
  • struct Geo AtlasMeshChartingFlags
  • struct Geo AtlasMeshTriangle
  • struct Geo AtlasMeshTriangleCorner
  • struct Geo AtlasMeshVertex
  • struct Geo AtlasMeshVertexSplitResult
  • struct Geo BboxEdge
  • struct Geo BboxFace
  • struct Geo ClippedRay
  • struct Geo DebugLine
  • struct Geo eWindingOrder
  • struct Geo FixedSizeArray
  • struct Geo GeoAtomic
  • struct Geo GeoError
  • struct Geo GeoFixedPoolList
  • struct Geo GeoFixedPoolMap
  • struct Geo GeoPoint2
  • struct Geo GeoPoint2D
  • struct Geo GeoPoint3
  • struct Geo GeoPoint3D
  • struct Geo GeoRGBXTextureElement
  • struct Geo GeoVector3
  • struct Geo GeoVector4
  • struct Geo InitRayTracing
  • struct Geo Matrix4x4
  • struct Geo PerformanceBlock
  • struct Geo RastFragment
  • struct Geo RastTri
    Calendars

You‘re viewing this with anonymous access, so some content might be blocked.
/
class Geo RtMeshGroup

    This is the documentation for Enlighten.

    class Geo RtMeshGroup

    Nov 21, 2019

    class Geo::RtMeshGroup

        └>Geo::IRtMesh
            └>Geo::IGeoReleasable

    A ray tracing mesh that is a collection of other meshes.

    You can construct a ray tracing scene by creating one of these, and adding other IRtMesh to it. Note that inputs are passed in as reference counted pointers, so bare pointers will be released when this object goes out of scope. If you are holding IRtMesh pointers in your object, store them as Geo::GeoRefReleasePtr also...

    Functions

    Name Description
    AddMesh(Geo::GeoRefReleasePtr< IRtMesh >)

    Add a mesh to the group.

    Create()

    Creates an RtMeshGroup.

    GetNumRtTriangles()

    Returns how many triangles in the mesh.

    GetNumRtTriangles()

    Returns how many triangles in the mesh.

    GetNumRtVertices()

    Returns how many vertices in the mesh.

    GetNumRtVertices()

    Returns how many vertices in the mesh.

    Release()

    Free this object that was created within the Enlighten libraries.

    Release()

    Free this object that was created within the Enlighten libraries.

    SetRayTracingOffset(Geo::GeoPoint3)

    Set the ray tracing offset.

    VisitRtMesh(Geo::EmbreeRtMeshVisitor &)

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

    VisitRtMesh(EmbreeRtMeshVisitor &)

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


    void Geo::RtMeshGroup::AddMesh


    public: void AddMesh
    (
        Geo::GeoRefReleasePtr< IRtMesh > mesh
    )


    Add a mesh to the group.


    static RtMeshGroup* Geo::RtMeshGroup::Create


    public: RtMeshGroup * Create()


    Creates an RtMeshGroup.


    virtual Geo::s32 Geo::RtMeshGroup::GetNumRtTriangles


    public: virtual Geo::s32 GetNumRtTriangles() const


    Returns how many triangles in the mesh.


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


    public: Geo::s32 GetNumRtTriangles() const


    Returns how many triangles in the mesh.


    virtual Geo::s32 Geo::RtMeshGroup::GetNumRtVertices


    public: virtual Geo::s32 GetNumRtVertices() const


    Returns how many vertices in the mesh.


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


    public: Geo::s32 GetNumRtVertices() const


    Returns how many vertices in the mesh.


    virtual void Geo::RtMeshGroup::Release


    public: virtual void Release()


    Free this object that was created within the Enlighten libraries.

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


    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)'


    void Geo::RtMeshGroup::SetRayTracingOffset


    public: void SetRayTracingOffset
    (
        Geo::GeoPoint3 meshCentre
    )


    Set the ray tracing offset.

    All vertex positions will have this offset subtracted before being passed to ray tracing acceleration structure creation. Typically, we want to move the mesh centre to the origin so that the rays of interest are traced with greatest floating-point precision.


    virtual void Geo::RtMeshGroup::VisitRtMesh


    public: virtual void VisitRtMesh
    (
        Geo::EmbreeRtMeshVisitor & visitor
    ) const


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


    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.

    , multiple selections available,
    {"serverDuration": 11, "requestCorrelationId": "3c67f33a273b4b78b2c5e0e14d703338"}