public

Inheritance Graph

graph BT
	SamplePoint
	click SamplePoint "classMinSG_1_1SVS_1_1SamplePoint"

Description

A position on a sphere that is used for sampling. Storage for the value sampled at that position.

Author: Benjamin Eikel

Date: 2012-01-17

Public Functions

   
   
  SamplePoint(const Geometry::Vec3f & pos)
   
  SamplePoint( SamplePoint && void)
   
  SamplePoint(const SamplePoint & void)
   
  ~SamplePoint()
   
SamplePoint & operator=( SamplePoint && void)
   
SamplePoint & operator=(const SamplePoint & void)
   
bool operator==(const SamplePoint & other) const
Equality comparison.
   
const Geometry::Vec3f & getPosition() const
Retrieve the sample position.
   
const VisibilitySubdivision::VisibilityVector & getValue() const
Retrieve the value stored at this position.
   
void setValue(const VisibilitySubdivision::VisibilityVector & vv)
Store a new value for this position.
   
size_t getMemoryUsage() const

Documentation

function
MinSG::SVS::SamplePoint::SamplePoint

public
     
     
SamplePoint( const Geometry::Vec3f & pos )

Create a new sample position with an empty value.

Parameters

pos
Position on the unit sphere

Defined in MinSG/Ext/SVS/SamplePoint.h:45


function
MinSG::SVS::SamplePoint::SamplePoint

public
     
     
SamplePoint( SamplePoint && void )

Defined in MinSG/Ext/SVS/SamplePoint.h:46


function
MinSG::SVS::SamplePoint::SamplePoint

public
     
     
SamplePoint( const SamplePoint & void )

Defined in MinSG/Ext/SVS/SamplePoint.h:47


function
MinSG::SVS::SamplePoint::~SamplePoint

public
   
   
~SamplePoint( )

Defined in MinSG/Ext/SVS/SamplePoint.h:48


function
MinSG::SVS::SamplePoint::operator=

public
     
     
SamplePoint & operator=( SamplePoint && void )

Defined in MinSG/Ext/SVS/SamplePoint.h:49


function
MinSG::SVS::SamplePoint::operator=

public
     
     
SamplePoint & operator=( const SamplePoint & void )

Defined in MinSG/Ext/SVS/SamplePoint.h:50


function
MinSG::SVS::SamplePoint::operator==

public const
     
     
bool operator==( const SamplePoint & other ) const

Equality comparison.

Defined in MinSG/Ext/SVS/SamplePoint.h:53


function
MinSG::SVS::SamplePoint::getPosition

public const
   
   
const Geometry::Vec3f & getPosition( ) const

Retrieve the sample position.

Defined in MinSG/Ext/SVS/SamplePoint.h:56


function
MinSG::SVS::SamplePoint::getValue

public const
   
   
const VisibilitySubdivision::VisibilityVector & getValue( ) const

Retrieve the value stored at this position.

Defined in MinSG/Ext/SVS/SamplePoint.h:59


function
MinSG::SVS::SamplePoint::setValue

public
     
     
void setValue( const VisibilitySubdivision::VisibilityVector & vv )

Store a new value for this position.

Defined in MinSG/Ext/SVS/SamplePoint.h:61


function
MinSG::SVS::SamplePoint::getMemoryUsage

public const
   
   
size_t getMemoryUsage( ) const

Calculate the amount of memory that is required to store the sample.

Returns

Overall amount of memory in bytes

Defined in MinSG/Ext/SVS/SamplePoint.h:68