public |
Inheritance Graph
graph BT
SampleStorage
SampleStorage --> ReferenceCounter
click SampleStorage "classMinSG_1_1MAR_1_1SampleStorage"
click ReferenceCounter "classUtil_1_1ReferenceCounter"
Description
Serialization
void | write(std::ostream & out) const |
SampleStorage * | create(std::istream & in) |
Public Static Attributes
const uint32_t | INVALID_INDEX |
Public Functions
SampleStorage(const Geometry::Box & bounds) | |
~SampleStorage() | |
void | initNodeIndices( Node * root) |
void | addNode( MultiAlgoGroupNode * node) |
uint32_t | getIndex( MultiAlgoGroupNode * node) const |
MultiAlgoGroupNode * | getNode(uint32_t index) const |
std::vector< MultiAlgoGroupNode * > | getNodes() const |
size_t | getNodeCount() |
void | addAlgorithm( MultiAlgoGroupNode::AlgoId algo) |
uint32_t | getIndex( MultiAlgoGroupNode::AlgoId algo) const |
MultiAlgoGroupNode::AlgoId | getAlgoId(uint32_t index) const |
std::vector< MultiAlgoGroupNode::AlgoId > | getAlgorithms() const |
size_t | getAlgoCount() |
void | addResults(const Geometry::Vec3f & position, uint32_t id, const std::deque< SampleResult::ref_t > & results) |
const storage_t & | getStorage() const |
const Geometry::Box & | getBounds() const |
size_t | getMemoryUsage() const |
void | displaySamples( FrameContext & fc) const |
void | keepSamples(uint32_t amount) |
Documentation
function
MinSG::MAR::SampleStorage::write
public | const | inline |
void write( | std::ostream & | out ) const |
Defined in MinSG/Ext/MultiAlgoRendering/SampleStorage.h:175
function
MinSG::MAR::SampleStorage::create
public | static | inline |
SampleStorage * create( | std::istream & | in ) |
Defined in MinSG/Ext/MultiAlgoRendering/SampleStorage.h:153
variable
MinSG::MAR::SampleStorage::INVALID_INDEX
public | static |
const uint32_t INVALID_INDEX |
Defined in MinSG/Ext/MultiAlgoRendering/SampleStorage.h:200
function
MinSG::MAR::SampleStorage::SampleStorage
public | inline |
SampleStorage( | const Geometry::Box & | bounds ) |
Defined in MinSG/Ext/MultiAlgoRendering/SampleStorage.h:145
function
MinSG::MAR::SampleStorage::~SampleStorage
public | inline |
~SampleStorage( | ) |
Defined in MinSG/Ext/MultiAlgoRendering/SampleStorage.h:149
function
MinSG::MAR::SampleStorage::initNodeIndices
public | inline |
void initNodeIndices( | Node * | root ) |
Defined in MinSG/Ext/MultiAlgoRendering/SampleStorage.h:202
function
MinSG::MAR::SampleStorage::addNode
public | inline |
void addNode( | MultiAlgoGroupNode * | node ) |
Defined in MinSG/Ext/MultiAlgoRendering/SampleStorage.h:209
function
MinSG::MAR::SampleStorage::getIndex
public | const | inline |
uint32_t getIndex( | MultiAlgoGroupNode * | node ) const |
Defined in MinSG/Ext/MultiAlgoRendering/SampleStorage.h:215
function
MinSG::MAR::SampleStorage::getNode
public | const | inline |
MultiAlgoGroupNode * getNode( | uint32_t | index ) const |
Defined in MinSG/Ext/MultiAlgoRendering/SampleStorage.h:222
function
MinSG::MAR::SampleStorage::getNodes
public | const | inline |
std::vector< MultiAlgoGroupNode * > getNodes( | ) const |
Defined in MinSG/Ext/MultiAlgoRendering/SampleStorage.h:229
function
MinSG::MAR::SampleStorage::getNodeCount
public | inline |
size_t getNodeCount( | ) |
Defined in MinSG/Ext/MultiAlgoRendering/SampleStorage.h:236
function
MinSG::MAR::SampleStorage::addAlgorithm
public | inline |
void addAlgorithm( | MultiAlgoGroupNode::AlgoId | algo ) |
Defined in MinSG/Ext/MultiAlgoRendering/SampleStorage.h:245
function
MinSG::MAR::SampleStorage::getIndex
public | const | inline |
uint32_t getIndex( | MultiAlgoGroupNode::AlgoId | algo ) const |
Defined in MinSG/Ext/MultiAlgoRendering/SampleStorage.h:250
function
MinSG::MAR::SampleStorage::getAlgoId
public | const | inline |
MultiAlgoGroupNode::AlgoId getAlgoId( | uint32_t | index ) const |
Defined in MinSG/Ext/MultiAlgoRendering/SampleStorage.h:257
function
MinSG::MAR::SampleStorage::getAlgorithms
public | const | inline |
std::vector< MultiAlgoGroupNode::AlgoId > getAlgorithms( | ) const |
Defined in MinSG/Ext/MultiAlgoRendering/SampleStorage.h:264
function
MinSG::MAR::SampleStorage::getAlgoCount
public | inline |
size_t getAlgoCount( | ) |
Defined in MinSG/Ext/MultiAlgoRendering/SampleStorage.h:271
function
MinSG::MAR::SampleStorage::addResults
public | inline |
void addResults( | const Geometry::Vec3f & | position, |
uint32_t | id, | |
const std::deque< SampleResult::ref_t > & | results | |
) |
Defined in MinSG/Ext/MultiAlgoRendering/SampleStorage.h:280
function
MinSG::MAR::SampleStorage::getStorage
public | const | inline |
const storage_t & getStorage( | ) const |
Defined in MinSG/Ext/MultiAlgoRendering/SampleStorage.h:298
function
MinSG::MAR::SampleStorage::getBounds
public | const | inline |
const Geometry::Box & getBounds( | ) const |
Defined in MinSG/Ext/MultiAlgoRendering/SampleStorage.h:302
function
MinSG::MAR::SampleStorage::getMemoryUsage
public | const | inline |
size_t getMemoryUsage( | ) const |
Defined in MinSG/Ext/MultiAlgoRendering/SampleStorage.h:306
function
MinSG::MAR::SampleStorage::displaySamples
public | const | inline |
void displaySamples( | FrameContext & | fc ) const |
Defined in MinSG/Ext/MultiAlgoRendering/SampleStorage.h:318
function
MinSG::MAR::SampleStorage::keepSamples
public | inline |
void keepSamples( | uint32_t | amount ) |
Defined in MinSG/Ext/MultiAlgoRendering/SampleStorage.h:328