SLProject 4.0.000
SLEnums.h File Reference
This graph shows which files directly or indirectly include this file:

Enumerations

enum  SLKey {
  K_none = 0 , K_space = 32 , K_tab = 256 , K_enter , K_esc , K_backspace ,
  K_delete , K_up , K_down , K_right , K_left , K_home ,
  K_end , K_insert , K_pageUp , K_pageDown , K_NP0 , K_NP1 ,
  K_NP2 , K_NP3 , K_NP4 , K_NP5 , K_NP6 , K_NP7 ,
  K_NP8 , K_NP9 , K_NPDivide , K_NPMultiply , K_NPAdd , K_NPSubtract ,
  K_NPEnter , K_NPDecimal , K_F1 , K_F2 , K_F3 , K_F4 ,
  K_F5 , K_F6 , K_F7 , K_F8 , K_F9 , K_F10 ,
  K_F11 , K_F12 , K_super = 0x00100000 , K_shift = 0x00200000 , K_ctrl = 0x00400000 , K_alt = 0x00800000
}
 Keyboard key codes enumeration. More...
 
enum  SLRenderType { RT_gl = 0 , RT_rt = 1 , RT_pt = 2 , RT_optix_rt = 3 , RT_optix_pt = 4 }
 Rendering type enumeration. More...
 
enum  SLAxis { A_x = 0 , A_Y = 1 , A_z = 2 }
 Coordinate axis enumeration. More...
 
enum  SLSceneID {
  SID_FromFile = -2 , SID_Empty = 0 , SID_Minimal , SID_Figure , SID_MeshLoad , SID_Revolver ,
  SID_TextureFilter , SID_TextureBlend , SID_FrustumCull , SID_2Dand3DText , SID_PointClouds , SID_ZFighting ,
  SID_ShaderPerVertexBlinn , SID_ShaderPerPixelBlinn , SID_ShaderPerPixelCook , SID_ShaderIBL , SID_ShaderPerVertexWave , SID_ShaderBumpNormal ,
  SID_ShaderBumpParallax , SID_ShaderSkyBox , SID_ShaderEarth , SID_ShadowMappingBasicScene , SID_ShadowMappingLightTypes , SID_ShadowMappingPointLights ,
  SID_ShadowMappingSpotLights , SID_ShadowMappingCascaded , SID_SuzannePerPixBlinn , SID_SuzannePerPixBlinnTm , SID_SuzannePerPixBlinnNm , SID_SuzannePerPixBlinnAo ,
  SID_SuzannePerPixBlinnSm , SID_SuzannePerPixBlinnTmNm , SID_SuzannePerPixBlinnTmAo , SID_SuzannePerPixBlinnNmAo , SID_SuzannePerPixBlinnTmSm , SID_SuzannePerPixBlinnNmSm ,
  SID_SuzannePerPixBlinnAoSm , SID_SuzannePerPixBlinnTmNmAo , SID_SuzannePerPixBlinnTmNmSm , SID_SuzannePerPixBlinnTmNmAoSm , SID_glTF_DamagedHelmet , SID_glTF_FlightHelmet ,
  SID_glTF_Sponza , SID_glTF_WaterBottle , SID_Robotics_FanucCRX_FK , SID_VolumeRayCast , SID_VolumeRayCastLighted , SID_AnimationMass ,
  SID_AnimationSkeletal , SID_AnimationNode , SID_AnimationAstroboyArmy , SID_VideoTextureLive , SID_VideoTextureFile , SID_VideoCalibrateMain ,
  SID_VideoCalibrateScnd , SID_VideoTrackChessMain , SID_VideoTrackChessScnd , SID_VideoTrackArucoMain , SID_VideoTrackArucoScnd , SID_VideoTrackFeature2DMain ,
  SID_VideoTrackFeature2DScnd , SID_VideoTrackFaceMain , SID_VideoTrackFaceScnd , SID_VideoSensorAR , SID_RTMuttenzerBox , SID_RTSpheres ,
  SID_RTSoftShadows , SID_RTDoF , SID_RTLens , SID_RTTest , SID_ErlebARBernChristoffel , SID_ErlebARBielBFH ,
  SID_ErlebARAugustaRauricaTmp , SID_ErlebARAugustaRauricaTht , SID_ErlebARAugustaRauricaTmpTht , SID_ErlebARAventicumAmphiteatre , SID_ErlebARAventicumCigognier , SID_ErlebARAventicumTheatre ,
  SID_ErlebARSutzKirchrain18 , SID_ParticleSystem_First , SID_ParticleSystem_Demo , SID_ParticleSystem_DustStorm , SID_ParticleSystem_Fountain , SID_ParticleSystem_Sun ,
  SID_ParticleSystem_RingOfFire , SID_ParticleSystem_FireComplex , SID_Benchmark1_LargeModel , SID_Benchmark2_MassiveNodes , SID_Benchmark3_NodeAnimations , SID_Benchmark4_SkinnedAnimations ,
  SID_Benchmark5_ColumnsNoLOD , SID_Benchmark6_ColumnsLOD , SID_Benchmark7_JansUniverse , SID_Benchmark8_ParticleSystemFireComplex , SID_Benchmark9_ParticleSystemManyParticles , SID_Maximal
}
 SLCommand enumerates all possible menu and keyboard commands. More...
 
enum  SLMouseButton { MB_none , MB_left , MB_middle , MB_right }
 Mouse button codes. More...
 
enum  SLTextAlign {
  TA_topLeft , TA_topCenter , TA_topRight , TA_centerLeft , TA_centerCenter , TA_centerRight ,
  TA_bottomLeft , TA_bottomCenter , TA_bottomRight
}
 Enumeration for text alignment in a box. More...
 
enum  SLCamAnim {
  CA_turntableYUp , CA_turntableZUp , CA_trackball , CA_walkingYUp , CA_walkingZUp , CA_deviceRotYUp ,
  CA_deviceRotLocYUp , CA_off
}
 Enumeration for available camera animation types. More...
 
enum  SLProjType {
  P_monoPerspective = 0 , P_monoIntrinsic , P_monoOrthographic , P_stereoSideBySide , P_stereoSideBySideP , P_stereoSideBySideD ,
  P_stereoLineByLine , P_stereoColumnByColumn , P_stereoPixelByPixel , P_stereoColorRC , P_stereoColorRG , P_stereoColorRB ,
  P_stereoColorYB
}
 Enumeration for different camera projections. More...
 
enum  SLEyeType { ET_left = -1 , ET_center = 0 , ET_right = 1 }
 Enumeration for stereo eye type used for camera projection. More...
 
enum  SLAnimInterpolation { AI_linear , AI_bezier }
 Enumeration for animation modes. More...
 
enum  SLAnimLooping { AL_once = 0 , AL_loop = 1 , AL_pingPong = 2 , AL_pingPongLoop = 3 }
 Enumeration for animation modes. More...
 
enum  SLEasingCurve {
  EC_linear = 0 , EC_inQuad = 1 , EC_outQuad = 2 , EC_inOutQuad = 3 , EC_outInQuad = 4 , EC_inCubic = 5 ,
  EC_outCubic = 6 , EC_inOutCubic = 7 , EC_outInCubic = 8 , EC_inQuart = 9 , EC_outQuart = 10 , EC_inOutQuart = 11 ,
  EC_outInQuart = 12 , EC_inQuint = 13 , EC_outQuint = 14 , EC_inOutQuint = 15 , EC_outInQuint = 16 , EC_inSine = 17 ,
  EC_outSine = 18 , EC_inOutSine = 19 , EC_outInSine = 20
}
 Enumeration for animation easing curves. More...
 
enum  SLTransformSpace { TS_world = 0 , TS_parent , TS_object }
 Describes the relative space a transformation is applied in. More...
 
enum  SLSkinMethod { SM_hardware , SM_software }
 Skinning methods. More...
 
enum  SLShaderType { ST_none , ST_vertex , ST_fragment , ST_geometry , ST_tesselation }
 Shader type enumeration for vertex or fragment (pixel) shader. More...
 
enum  SLUniformType {
  UT_const , UT_incDec , UT_incInc , UT_inc , UT_random , UT_seconds ,
  UT_lambda
}
 Type definition for GLSL uniform1f variables that change per frame. More...
 
enum  SLLogVerbosity { LV_quiet = 0 , LV_minimal = 1 , LV_normal = 2 , LV_detailed = 3 , LV_diagnostic = 4 }
 
enum  SLViewportAlign { VA_center = 0 , VA_leftOrTop , VA_rightOrBottom }
 Mouse button codes. More...
 
enum  SLFogMode { FM_linear = 0 , FM_exp , FM_exp2 }
 Corresponds to the old fog modes in OpenGL 2.1. More...
 
enum  SLBillboardType { BT_Camera = 0 , BT_Vertical , BT_Horizontal }
 Billboard type for its orientation used in SLParticleSystem. More...
 
enum  SLShapeType { ST_Sphere = 0 , ST_Box , ST_Cone , ST_Pyramid }
 Particle system shape type. More...
 
enum  SLReflectionModel { RM_BlinnPhong = 0 , RM_CookTorrance , RM_Particle , RM_Custom }
 Light Reflection Models for shader generation usd in SLMaterial. More...
 

Enumeration Type Documentation

◆ SLAnimInterpolation

Enumeration for animation modes.

Enumerator
AI_linear 
AI_bezier 

◆ SLAnimLooping

Enumeration for animation modes.

Enumerator
AL_once 

play once

AL_loop 

loop

AL_pingPong 

play once in two directions

AL_pingPongLoop 

loop forward and backwards

◆ SLAxis

enum SLAxis

Coordinate axis enumeration.

Enumerator
A_x 
A_Y 
A_z 

◆ SLBillboardType

Billboard type for its orientation used in SLParticleSystem.

Enumerator
BT_Camera 
BT_Vertical 
BT_Horizontal 

◆ SLCamAnim

enum SLCamAnim

Enumeration for available camera animation types.

Enumerator
CA_turntableYUp 

Orbiting around central object w. turntable rotation around y & right axis.

CA_turntableZUp 

Orbiting around central object w. turntable rotation around z & right axis.

CA_trackball 

Orbiting around central object w. one rotation around one axis.

CA_walkingYUp 

Walk translation with AWSD and look around rotation around y & right axis.

CA_walkingZUp 

Walk translation with AWSD and look around rotation around z & right axis.

CA_deviceRotYUp 

The device rotation controls the camera rotation.

CA_deviceRotLocYUp 

The device rotation controls the camera rotation and the GPS controls the Camera Translation.

CA_off 

No camera animation.

◆ SLEasingCurve

Enumeration for animation easing curves.

Enumerations copied from Qt class QEasingCurve. See http://qt-project.org/doc/qt-4.8/qeasingcurve.html#Type-enum

Enumerator
EC_linear 

linear easing with constant velocity

EC_inQuad 

quadratic easing in, acceleration from zero velocity

EC_outQuad 

quadratic easing out, decelerating to zero velocity

EC_inOutQuad 

quadratic easing in and then out

EC_outInQuad 

quadratic easing out and then in

EC_inCubic 

cubic in easing in, acceleration from zero velocity

EC_outCubic 

cubic easing out, decelerating to zero velocity

EC_inOutCubic 

cubic easing in and then out

EC_outInCubic 

cubic easing out and then in

EC_inQuart 

quartic easing in, acceleration from zero velocity

EC_outQuart 

quartic easing out, decelerating to zero velocity

EC_inOutQuart 

quartic easing in and then out

EC_outInQuart 

quartic easing out and then in

EC_inQuint 

quintic easing in, acceleration from zero velocity

EC_outQuint 

quintic easing out, decelerating to zero velocity

EC_inOutQuint 

quintic easing in and then out

EC_outInQuint 

quintic easing out and then in

EC_inSine 

sine easing in, acceleration from zero velocity

EC_outSine 

sine easing out, decelerating to zero velocity

EC_inOutSine 

sine easing in and then out

EC_outInSine 

sine easing out and then in

◆ SLEyeType

enum SLEyeType

Enumeration for stereo eye type used for camera projection.

Enumerator
ET_left 
ET_center 
ET_right 

◆ SLFogMode

enum SLFogMode

Corresponds to the old fog modes in OpenGL 2.1.

See also: https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/glFog.xml

Enumerator
FM_linear 
FM_exp 
FM_exp2 

◆ SLKey

enum SLKey

Keyboard key codes enumeration.

Enumerator
K_none 
K_space 
K_tab 
K_enter 
K_esc 
K_backspace 
K_delete 
K_up 
K_down 
K_right 
K_left 
K_home 
K_end 
K_insert 
K_pageUp 
K_pageDown 
K_NP0 
K_NP1 
K_NP2 
K_NP3 
K_NP4 
K_NP5 
K_NP6 
K_NP7 
K_NP8 
K_NP9 
K_NPDivide 
K_NPMultiply 
K_NPAdd 
K_NPSubtract 
K_NPEnter 
K_NPDecimal 
K_F1 
K_F2 
K_F3 
K_F4 
K_F5 
K_F6 
K_F7 
K_F8 
K_F9 
K_F10 
K_F11 
K_F12 
K_super 
K_shift 
K_ctrl 
K_alt 

◆ SLLogVerbosity

Enumerator
LV_quiet 
LV_minimal 
LV_normal 
LV_detailed 
LV_diagnostic 

◆ SLMouseButton

Mouse button codes.

Enumerator
MB_none 
MB_left 
MB_middle 
MB_right 

◆ SLProjType

enum SLProjType

Enumeration for different camera projections.

Enumerator
P_monoPerspective 

standard mono pinhole perspective projection

P_monoIntrinsic 

standard mono pinhole perspective projection from intrinsic calibration

P_monoOrthographic 

standard mono orthographic projection

P_stereoSideBySide 

side-by-side

P_stereoSideBySideP 

side-by-side proportional for mirror stereoscopes

P_stereoSideBySideD 

side-by-side distorted for Oculus Rift like glasses

P_stereoLineByLine 

line-by-line

P_stereoColumnByColumn 

column-by-column

P_stereoPixelByPixel 

checkerboard pattern (DLP3D)

P_stereoColorRC 

color masking for red-cyan anaglyphs

P_stereoColorRG 

color masking for red-green anaglyphs

P_stereoColorRB 

color masking for red-blue anaglyphs

P_stereoColorYB 

color masking for yellow-blue anaglyphs (ColorCode 3D)

◆ SLReflectionModel

Light Reflection Models for shader generation usd in SLMaterial.

Enumerator
RM_BlinnPhong 
RM_CookTorrance 
RM_Particle 
RM_Custom 

◆ SLRenderType

Rendering type enumeration.

Enumerator
RT_gl 

OpenGL.

RT_rt 

Ray Tracing.

RT_pt 

Path Tracing.

RT_optix_rt 

Ray Tracing with OptiX.

RT_optix_pt 

Path Tracing with OptiX.

◆ SLSceneID

enum SLSceneID

SLCommand enumerates all possible menu and keyboard commands.

Enumerator
SID_FromFile 
SID_Empty 
SID_Minimal 
SID_Figure 
SID_MeshLoad 
SID_Revolver 
SID_TextureFilter 
SID_TextureBlend 
SID_FrustumCull 
SID_2Dand3DText 
SID_PointClouds 
SID_ZFighting 
SID_ShaderPerVertexBlinn 
SID_ShaderPerPixelBlinn 
SID_ShaderPerPixelCook 
SID_ShaderIBL 
SID_ShaderPerVertexWave 
SID_ShaderBumpNormal 
SID_ShaderBumpParallax 
SID_ShaderSkyBox 
SID_ShaderEarth 
SID_ShadowMappingBasicScene 
SID_ShadowMappingLightTypes 
SID_ShadowMappingPointLights 
SID_ShadowMappingSpotLights 
SID_ShadowMappingCascaded 
SID_SuzannePerPixBlinn 
SID_SuzannePerPixBlinnTm 
SID_SuzannePerPixBlinnNm 
SID_SuzannePerPixBlinnAo 
SID_SuzannePerPixBlinnSm 
SID_SuzannePerPixBlinnTmNm 
SID_SuzannePerPixBlinnTmAo 
SID_SuzannePerPixBlinnNmAo 
SID_SuzannePerPixBlinnTmSm 
SID_SuzannePerPixBlinnNmSm 
SID_SuzannePerPixBlinnAoSm 
SID_SuzannePerPixBlinnTmNmAo 
SID_SuzannePerPixBlinnTmNmSm 
SID_SuzannePerPixBlinnTmNmAoSm 
SID_glTF_DamagedHelmet 
SID_glTF_FlightHelmet 
SID_glTF_Sponza 
SID_glTF_WaterBottle 
SID_Robotics_FanucCRX_FK 
SID_VolumeRayCast 
SID_VolumeRayCastLighted 
SID_AnimationMass 
SID_AnimationSkeletal 
SID_AnimationNode 
SID_AnimationAstroboyArmy 
SID_VideoTextureLive 
SID_VideoTextureFile 
SID_VideoCalibrateMain 
SID_VideoCalibrateScnd 
SID_VideoTrackChessMain 
SID_VideoTrackChessScnd 
SID_VideoTrackArucoMain 
SID_VideoTrackArucoScnd 
SID_VideoTrackFeature2DMain 
SID_VideoTrackFeature2DScnd 
SID_VideoTrackFaceMain 
SID_VideoTrackFaceScnd 
SID_VideoSensorAR 
SID_RTMuttenzerBox 
SID_RTSpheres 
SID_RTSoftShadows 
SID_RTDoF 
SID_RTLens 
SID_RTTest 
SID_ErlebARBernChristoffel 
SID_ErlebARBielBFH 
SID_ErlebARAugustaRauricaTmp 
SID_ErlebARAugustaRauricaTht 
SID_ErlebARAugustaRauricaTmpTht 
SID_ErlebARAventicumAmphiteatre 
SID_ErlebARAventicumCigognier 
SID_ErlebARAventicumTheatre 
SID_ErlebARSutzKirchrain18 
SID_ParticleSystem_First 
SID_ParticleSystem_Demo 
SID_ParticleSystem_DustStorm 
SID_ParticleSystem_Fountain 
SID_ParticleSystem_Sun 
SID_ParticleSystem_RingOfFire 
SID_ParticleSystem_FireComplex 
SID_Benchmark1_LargeModel 
SID_Benchmark2_MassiveNodes 
SID_Benchmark3_NodeAnimations 
SID_Benchmark4_SkinnedAnimations 
SID_Benchmark5_ColumnsNoLOD 
SID_Benchmark6_ColumnsLOD 
SID_Benchmark7_JansUniverse 
SID_Benchmark8_ParticleSystemFireComplex 
SID_Benchmark9_ParticleSystemManyParticles 
SID_Maximal 

◆ SLShaderType

Shader type enumeration for vertex or fragment (pixel) shader.

Enumerator
ST_none 
ST_vertex 
ST_fragment 
ST_geometry 
ST_tesselation 

◆ SLShapeType

Particle system shape type.

Enumerator
ST_Sphere 
ST_Box 
ST_Cone 
ST_Pyramid 

◆ SLSkinMethod

Skinning methods.

Enumerator
SM_hardware 

Do vertex skinning on the GPU.

SM_software 

Do vertex skinning on the CPU.

◆ SLTextAlign

Enumeration for text alignment in a box.

Enumerator
TA_topLeft 
TA_topCenter 
TA_topRight 
TA_centerLeft 
TA_centerCenter 
TA_centerRight 
TA_bottomLeft 
TA_bottomCenter 
TA_bottomRight 

◆ SLTransformSpace

Describes the relative space a transformation is applied in.

Enumerator
TS_world 
TS_parent 
TS_object 

◆ SLUniformType

Type definition for GLSL uniform1f variables that change per frame.

Enumerator
UT_const 

constant value

UT_incDec 

never ending loop from min to max and max to min

UT_incInc 

never ending loop from min to max

UT_inc 

never ending increment

UT_random 

random values between min and max

UT_seconds 

seconds since the process has started

UT_lambda 

lambda getter function

◆ SLViewportAlign

Mouse button codes.

Enumerator
VA_center 
VA_leftOrTop 
VA_rightOrBottom