Skip to content

Class rayx::ObjectIndexMask

ClassList > rayx > ObjectIndexMask

Public Functions

Type Name
ObjectIndexMask () = default
ObjectIndexMask (const ObjectIndexMask &) = default
ObjectIndexMask (ObjectIndexMask &&) = default
int numElements () const
int numElementsToRecord () const
int numObjects () const
int numObjectsToRecord () const
int numSources () const
int numSourcesToRecord () const
ObjectIndexMask & operator= (const ObjectIndexMask &) = default
ObjectIndexMask & operator= (ObjectIndexMask &&) = default
void setShouldRecordElement (int element_id, bool value)
void setShouldRecordObject (int object_id, bool value)
void setShouldRecordSource (int source_id, bool value)
bool shouldRecordElement (int element_id) const
bool shouldRecordObject (int object_id) const
bool shouldRecordSource (int source_id) const

Public Static Functions

Type Name
ObjectIndexMask all (const int numSources, const int numElements)
ObjectIndexMask allElements (const int numSources, const int numElements)
ObjectIndexMask allSources (const int numSources, const int numElements)
ObjectIndexMask byIndices (const int numSources, const int numElements, const std::vector< int > & objectIndices)
ObjectIndexMask none (const int numSources, const int numElements)

Public Functions Documentation

function ObjectIndexMask [3/5]

rayx::ObjectIndexMask::ObjectIndexMask () = default

function ObjectIndexMask [4/5]

rayx::ObjectIndexMask::ObjectIndexMask (
    const ObjectIndexMask &
) = default

function ObjectIndexMask [5/5]

rayx::ObjectIndexMask::ObjectIndexMask (
    ObjectIndexMask &&
) = default

function numElements

inline int rayx::ObjectIndexMask::numElements () const

function numElementsToRecord

inline int rayx::ObjectIndexMask::numElementsToRecord () const

function numObjects

inline int rayx::ObjectIndexMask::numObjects () const

function numObjectsToRecord

inline int rayx::ObjectIndexMask::numObjectsToRecord () const

function numSources

inline int rayx::ObjectIndexMask::numSources () const

function numSourcesToRecord

inline int rayx::ObjectIndexMask::numSourcesToRecord () const

function operator=

ObjectIndexMask & rayx::ObjectIndexMask::operator= (
    const ObjectIndexMask &
) = default

function operator=

ObjectIndexMask & rayx::ObjectIndexMask::operator= (
    ObjectIndexMask &&
) = default

function setShouldRecordElement

inline void rayx::ObjectIndexMask::setShouldRecordElement (
    int element_id,
    bool value
) 

function setShouldRecordObject

inline void rayx::ObjectIndexMask::setShouldRecordObject (
    int object_id,
    bool value
) 

function setShouldRecordSource

inline void rayx::ObjectIndexMask::setShouldRecordSource (
    int source_id,
    bool value
) 

function shouldRecordElement

inline bool rayx::ObjectIndexMask::shouldRecordElement (
    int element_id
) const

function shouldRecordObject

inline bool rayx::ObjectIndexMask::shouldRecordObject (
    int object_id
) const

function shouldRecordSource

inline bool rayx::ObjectIndexMask::shouldRecordSource (
    int source_id
) const

Public Static Functions Documentation

function all

static inline ObjectIndexMask rayx::ObjectIndexMask::all (
    const int numSources,
    const int numElements
) 

function allElements

static inline ObjectIndexMask rayx::ObjectIndexMask::allElements (
    const int numSources,
    const int numElements
) 

function allSources

static inline ObjectIndexMask rayx::ObjectIndexMask::allSources (
    const int numSources,
    const int numElements
) 

function byIndices

static inline ObjectIndexMask rayx::ObjectIndexMask::byIndices (
    const int numSources,
    const int numElements,
    const std::vector< int > & objectIndices
) 

function none

static inline ObjectIndexMask rayx::ObjectIndexMask::none (
    const int numSources,
    const int numElements
) 


The documentation for this class was generated from the following file Intern/rayx-core/src/ObjectMask.h