Support Forum       G3D Web Page     
Public Member Functions | Public Attributes | List of all members
glsl::SVO_base_glsl Class Reference

Shader program. More...

Public Member Functions

float getEmptySpaceLength (vec3 posInNode, float nsize, vec3 rayDir)
 
float getRayNodeLength (vec3 posInNode, float nsize, vec3 rayDir)
 
ivec3 svoGBufferCoordsFromBrickIdx (uint nodeIdx)
 
float svoGetDepthFromDist (float d, float raycastingConeFactor, out float voxelSize)
 
float svoGetDepthFromDist (float d, float raycastingConeFactor)
 
vec3 svoGetPositionFromLevelIndex (int level, int index)
 
int svoGetRootBufferIndex (int svoID, int level)
 
uint svoGetRootLocation (int svoID, int level=1)
 
void svoSetRootLocation (int svoID, int nodeIdx, int level)
 
void svoSetRootLocation (int svoID, uint nodeIdx, int level)
 

Public Attributes

bool enableFetchCov
 
const uint POPULATED = 0xFFFFFFFF
 Location of the root node in the childIndexBuffer. More...
 
uniform int svoMaxLevel
 
uniform float svoMinVoxelSize
 

Detailed Description

Shader program.

Member Function Documentation

◆ getEmptySpaceLength()

float glsl::SVO_base_glsl::getEmptySpaceLength ( vec3  posInNode,
float  nsize,
vec3  rayDir 
)
inline

◆ getRayNodeLength()

float glsl::SVO_base_glsl::getRayNodeLength ( vec3  posInNode,
float  nsize,
vec3  rayDir 
)
inline

◆ svoGBufferCoordsFromBrickIdx()

ivec3 glsl::SVO_base_glsl::svoGBufferCoordsFromBrickIdx ( uint  nodeIdx)
inline

◆ svoGetDepthFromDist() [1/2]

float glsl::SVO_base_glsl::svoGetDepthFromDist ( float  d,
float  raycastingConeFactor,
out float  voxelSize 
)
inline

◆ svoGetDepthFromDist() [2/2]

float glsl::SVO_base_glsl::svoGetDepthFromDist ( float  d,
float  raycastingConeFactor 
)
inline

◆ svoGetPositionFromLevelIndex()

vec3 glsl::SVO_base_glsl::svoGetPositionFromLevelIndex ( int  level,
int  index 
)
inline

◆ svoGetRootBufferIndex()

int glsl::SVO_base_glsl::svoGetRootBufferIndex ( int  svoID,
int  level 
)
inline

◆ svoGetRootLocation()

uint glsl::SVO_base_glsl::svoGetRootLocation ( int  svoID,
int  level = 1 
)
inline

◆ svoSetRootLocation() [1/2]

void glsl::SVO_base_glsl::svoSetRootLocation ( int  svoID,
int  nodeIdx,
int  level 
)
inline

◆ svoSetRootLocation() [2/2]

void glsl::SVO_base_glsl::svoSetRootLocation ( int  svoID,
uint  nodeIdx,
int  level 
)
inline

Member Data Documentation

◆ enableFetchCov

bool glsl::SVO_base_glsl::enableFetchCov

◆ POPULATED

const uint glsl::SVO_base_glsl::POPULATED = 0xFFFFFFFF

Location of the root node in the childIndexBuffer.

◆ svoMaxLevel

uniform int glsl::SVO_base_glsl::svoMaxLevel

◆ svoMinVoxelSize

uniform float glsl::SVO_base_glsl::svoMinVoxelSize

documentation generated on Wed Nov 24 2021 08:02:04 using doxygen 1.8.15