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.
  • Modules
  • Namespaces
    • namespace Enlighten
    • namespace Geo
      • class Geo AbstractRayChunk
        • class Geo AbstractRayChunk ResultsIterator
      • class Geo AnsiAllocator
      • class Geo AtlasMesh
      • class Geo AtlasMeshChart
      • class Geo AtlasMeshPackingFlags
      • class Geo BasicAllocator
      • class Geo ChartParametiserFailure
      • class Geo ConvexHull
      • class Geo ConvexHullBuilder
      • class Geo CovarianceMatrix
      • class Geo CovarianceMatrixBuilder
      • class Geo EmbreeRtMeshVisitor
      • class Geo Geo2DTransform
      • class Geo GeoAlignedFreeDestructor
      • class Geo GeoAllocationPage
      • class Geo GeoAllocator
      • class Geo GeoAllocatorUnchecked
      • class Geo GeoArray
      • class Geo GeoArray_Stl
      • class Geo GeoAutoArrayPtr
      • class Geo GeoAutoDeleteArray
      • class Geo GeoAutoDeleteList
      • class Geo GeoAutoDeleteMap
      • class Geo GeoAutoPtr
      • class Geo GeoAutoReleaseArray
      • class Geo GeoAutoReleaseMap
      • class Geo GeoAutoReleasePtr
      • class Geo GeoBitArray
      • class Geo GeoBitStore
      • class Geo GeoBlueNoise
      • class Geo GeoBlueNoiseDiskPalette
      • class Geo GeoBlueNoiseRayPalette
      • class Geo GeoBoundingBox
      • class Geo GeoBoundingSphere
      • class Geo GeoBufferedFileStream
      • class Geo GeoBufferedInputStream
      • class Geo GeoCriticalSection
      • class Geo GeoDebugAllocator
      • class Geo GeoDelegateDestructor
      • class Geo GeoDeleteArrayDestructor
    Calendars

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

    This is the documentation for Enlighten.

    class Geo AbstractRayChunk

    Nov 21, 2019

    template<typename T>
    class Geo::AbstractRayChunk

    Buffer that holds a chunk of rays and results.

    Classes

    Name Description
    Geo::AbstractRayChunk::ResultsIterator

    Iterator to a const ray result, allows iterating linearly over the ray results.

    Functions

    Name Description
    AddRay(const Geo::v128, const Geo::v128)

    Add a ray to the set (must have already allocated enough space)

    Alloc(Geo::s32, Geo::s32)

    Allocate buffer space for nRays and set the chunk id.

    BeginResults()

    Gets an STL-style 'begin' iterator for the results.

    EndResults()

    Gets an STL-style 'end' iterator for the results.

    GetId()

    Gets the assigned chunk id.

    GetMaxSize()

    Get the maximum number of rays that will fit in this chunk.

    GetRayConstPtr()

    Ray data.

    GetRayCount()

    Get the number of rays currently in this chunk.

    GetRayFilter()

    Gets/sets the ray filter.

    GetRayPtr()

    Ray data.

    GetResultsPtr()

    Results data.

    SetRayCount(Geo::s32)

    Set the number of rays in this chunk.

    SetRayFilter(Geo::u32)

    Gets/sets the ray filter.

    Typedefs

    Name Description
    T RayType

    Type of rays.


    bool Geo::AbstractRayChunk< RayType >::AddRay


    public: bool AddRay
    (
        const Geo::v128 origin,
        const Geo::v128 direction
    )


    Add a ray to the set (must have already allocated enough space)


    bool Geo::AbstractRayChunk< RayType >::Alloc


    public: bool Alloc
    (
        Geo::s32 nRays,
        Geo::s32 id
    )


    Allocate buffer space for nRays and set the chunk id.


    ResultsIterator Geo::AbstractRayChunk< T >::BeginResults


    public: ResultsIterator BeginResults() const


    Gets an STL-style 'begin' iterator for the results.


    ResultsIterator Geo::AbstractRayChunk< T >::EndResults


    public: ResultsIterator EndResults() const


    Gets an STL-style 'end' iterator for the results.


    Geo::s32 Geo::AbstractRayChunk< T >::GetId


    public: Geo::s32 GetId() const


    Gets the assigned chunk id.


    Geo::s32 Geo::AbstractRayChunk< T >::GetMaxSize


    public: Geo::s32 GetMaxSize() const


    Get the maximum number of rays that will fit in this chunk.


    const RayType* Geo::AbstractRayChunk< T >::GetRayConstPtr


    public: const RayType * GetRayConstPtr() const


    Ray data.


    Geo::s32 Geo::AbstractRayChunk< T >::GetRayCount


    public: Geo::s32 GetRayCount() const


    Get the number of rays currently in this chunk.


    Geo::u32 Geo::AbstractRayChunk< T >::GetRayFilter


    public: Geo::u32 GetRayFilter() const


    Gets/sets the ray filter.


    RayType* Geo::AbstractRayChunk< T >::GetRayPtr


    public: RayType * GetRayPtr()


    Ray data.


    RayResult* Geo::AbstractRayChunk< T >::GetResultsPtr


    public: RayResult * GetResultsPtr()


    Results data.


    void Geo::AbstractRayChunk< T >::SetRayCount


    public: void SetRayCount
    (
        Geo::s32 sz
    )


    Set the number of rays in this chunk.


    void Geo::AbstractRayChunk< T >::SetRayFilter


    public: void SetRayFilter
    (
        Geo::u32 filter
    )


    Gets/sets the ray filter.

    , multiple selections available,
    {"serverDuration": 19, "requestCorrelationId": "1b60b69ceee142379531fb0bfa8df191"}