Inheritance Graph
graph BT
Sample
click Sample "classMinSG_1_1AGVS_1_1Sample"
Description
Structure to store a single sample. The sample consists of the ray that is cast and the resulting values in the forward and backward direction.
Parameters
- value_t
- Either
float
ordouble
Public Types
Public Functions
Documentation
typedef
MinSG::AGVS::Sample::vec3_t
Defined in MinSG/Ext/AdaptiveGlobalVisibilitySampling/Sample.h:32
typedef
MinSG::AGVS::Sample::ray_t
Defined in MinSG/Ext/AdaptiveGlobalVisibilitySampling/Sample.h:33
function
MinSG::AGVS::Sample::Sample
Create a new, empty sample by setting only its forward ray.
Parameters
- ray
- Forward ray defining the sample
Defined in MinSG/Ext/AdaptiveGlobalVisibilitySampling/Sample.h:72
function
MinSG::AGVS::Sample::getForwardResult
Defined in MinSG/Ext/AdaptiveGlobalVisibilitySampling/Sample.h:81
function
MinSG::AGVS::Sample::getBackwardResult
Defined in MinSG/Ext/AdaptiveGlobalVisibilitySampling/Sample.h:84
function
MinSG::AGVS::Sample::setForwardResult
Defined in MinSG/Ext/AdaptiveGlobalVisibilitySampling/Sample.h:88
function
MinSG::AGVS::Sample::setBackwardResult
Defined in MinSG/Ext/AdaptiveGlobalVisibilitySampling/Sample.h:92
function
MinSG::AGVS::Sample::hasForwardResult
Defined in MinSG/Ext/AdaptiveGlobalVisibilitySampling/Sample.h:97
function
MinSG::AGVS::Sample::hasBackwardResult
Defined in MinSG/Ext/AdaptiveGlobalVisibilitySampling/Sample.h:100
function
MinSG::AGVS::Sample::getForwardRay
Defined in MinSG/Ext/AdaptiveGlobalVisibilitySampling/Sample.h:104
function
MinSG::AGVS::Sample::getBackwardRay
Defined in MinSG/Ext/AdaptiveGlobalVisibilitySampling/Sample.h:107
function
MinSG::AGVS::Sample::getForwardIntersection
Defined in MinSG/Ext/AdaptiveGlobalVisibilitySampling/Sample.h:111
function
MinSG::AGVS::Sample::getBackwardIntersection
Defined in MinSG/Ext/AdaptiveGlobalVisibilitySampling/Sample.h:114
function
MinSG::AGVS::Sample::getOrigin
Defined in MinSG/Ext/AdaptiveGlobalVisibilitySampling/Sample.h:118
function
MinSG::AGVS::Sample::getForwardTerminationPoint
Defined in MinSG/Ext/AdaptiveGlobalVisibilitySampling/Sample.h:121
function
MinSG::AGVS::Sample::getBackwardTerminationPoint
Defined in MinSG/Ext/AdaptiveGlobalVisibilitySampling/Sample.h:124
function
MinSG::AGVS::Sample::getNumHits
Return the number of objects the sample has hit. It can be zero (no objects hit), one (object hit in either forward or backward direction), or two (objects hit in both directions).
Returns
0, 1, or 2
Defined in MinSG/Ext/AdaptiveGlobalVisibilitySampling/Sample.h:135
function
MinSG::AGVS::Sample::getDistributionId
Get the distribution that generated this sample.
Parameters
- id
- Identifier of the distribution
Defined in MinSG/Ext/AdaptiveGlobalVisibilitySampling/Sample.h:144
function
MinSG::AGVS::Sample::setDistributionId
Set the distribution that generated this sample.
Parameters
- id
- Identifier of the distribution
Defined in MinSG/Ext/AdaptiveGlobalVisibilitySampling/Sample.h:152