public

Inheritance Graph

graph BT
	SampleContext
	SampleContext --> ReferenceCounter
	click SampleContext "classMinSG_1_1MAR_1_1SampleContext"
	click ReferenceCounter "classUtil_1_1ReferenceCounter"

Description

sample context

Serialization

   
   
SampleContext * create(std::istream & in)
   
void write(std::ostream & out) const

Public Functions

   
   
  SampleContext(const Geometry::Box & bounds)
   
  ~SampleContext()
   
const regions_t getSampleRegions() const
   
SampleStorage * getSampleStorage() const
   
uint32_t getRegionCount() const
   
SampleRegion * getMinSampleRegion() const
   
SampleRegion * getSampleRegionAtPosition(const Geometry::Vec3f & position) const
   
void splitLowQualityRegion()
   
size_t getMemoryUsage() const
   
SamplePositionGenerator * getSamplePositionGenerator() const
   
void displaySamples( FrameContext & fc) const
   
void displayRegions( FrameContext & fc, float alpha, float redGreenThreshold) const

Documentation

function
MinSG::MAR::SampleContext::create

public static
     
     
SampleContext * create( std::istream & in )

Defined in MinSG/Ext/MultiAlgoRendering/SampleContext.h:71


function
MinSG::MAR::SampleContext::write

public const
     
     
void write( std::ostream & out ) const

Defined in MinSG/Ext/MultiAlgoRendering/SampleContext.h:72


function
MinSG::MAR::SampleContext::SampleContext

public
     
     
SampleContext( const Geometry::Box & bounds )

Defined in MinSG/Ext/MultiAlgoRendering/SampleContext.h:75


function
MinSG::MAR::SampleContext::~SampleContext

public virtual
   
   
~SampleContext( )

Defined in MinSG/Ext/MultiAlgoRendering/SampleContext.h:76


function
MinSG::MAR::SampleContext::getSampleRegions

public const
   
   
const regions_t getSampleRegions( ) const

Defined in MinSG/Ext/MultiAlgoRendering/SampleContext.h:78


function
MinSG::MAR::SampleContext::getSampleStorage

public const
   
   
SampleStorage * getSampleStorage( ) const

Defined in MinSG/Ext/MultiAlgoRendering/SampleContext.h:80


function
MinSG::MAR::SampleContext::getRegionCount

public const
   
   
uint32_t getRegionCount( ) const

Defined in MinSG/Ext/MultiAlgoRendering/SampleContext.h:82


function
MinSG::MAR::SampleContext::getMinSampleRegion

public const
   
   
SampleRegion * getMinSampleRegion( ) const

Defined in MinSG/Ext/MultiAlgoRendering/SampleContext.h:84


function
MinSG::MAR::SampleContext::getSampleRegionAtPosition

public const
     
     
SampleRegion * getSampleRegionAtPosition( const Geometry::Vec3f & position ) const

Defined in MinSG/Ext/MultiAlgoRendering/SampleContext.h:86


function
MinSG::MAR::SampleContext::splitLowQualityRegion

public
   
   
void splitLowQualityRegion( )

Defined in MinSG/Ext/MultiAlgoRendering/SampleContext.h:88


function
MinSG::MAR::SampleContext::getMemoryUsage

public const
   
   
size_t getMemoryUsage( ) const

Defined in MinSG/Ext/MultiAlgoRendering/SampleContext.h:90


function
MinSG::MAR::SampleContext::getSamplePositionGenerator

public const
   
   
SamplePositionGenerator * getSamplePositionGenerator( ) const

Defined in MinSG/Ext/MultiAlgoRendering/SampleContext.h:92


function
MinSG::MAR::SampleContext::displaySamples

public const
     
     
void displaySamples( FrameContext & fc ) const

Defined in MinSG/Ext/MultiAlgoRendering/SampleContext.h:94


function
MinSG::MAR::SampleContext::displayRegions

public const
     
     
void displayRegions( FrameContext & fc,
  float alpha,
  float redGreenThreshold
) const    

Defined in MinSG/Ext/MultiAlgoRendering/SampleContext.h:95