Package cz.fidentis.analyst.glsl.code
Enum Class GlslProgramDef
- All Implemented Interfaces:
Serializable
,Comparable<GlslProgramDef>
,Constable
Defined GLSL programs, i.e., their dependencies on defined shaders and optional unified variables
used inside the program code.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionNeeded for the view-dependent (correct) transparency and the "fog" in the 3D sceneVisualization of intersection contours in the 3D sceneRay-casting distance measurement between two meshes using already created uniform grid.Used by uniform grid construction, creates an array (cell bounds) which is used to index cell's triangles.Used by uniform grid construction, precomputes how much memory we need to allocate for which cell.Used by uniform grid construction, calculates the grid's bounding box and estimates the proper cell size.Used by uniform grid construction, creates an array with triangles to which cell bounds point.Needed for the view-dependent (correct) transparency, "fog", and glyphs shown in the 3D sceneUsed by the visualization of glyphs (casting shadows)Used by uniform grid construction, precomputes the triangle's perimeter and triangle's bounding box. -
Method Summary
Modifier and TypeMethodDescriptionstatic GlslProgramDef
Returns the enum constant of this class with the specified name.static GlslProgramDef[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SHADING_GLSL_PROGRAM
Needed for the view-dependent (correct) transparency, "fog", and glyphs shown in the 3D scene -
COLOR_MIXING_GLSL_PROGRAM
Needed for the view-dependent (correct) transparency and the "fog" in the 3D scene -
CONTOURS_GLSL_PROGRAM
Visualization of intersection contours in the 3D scene -
SHADOW_MAP_GLSL_PROGRAM
Used by the visualization of glyphs (casting shadows) -
TRIANGLE_STATS_GLSL_PROGRAM
Used by uniform grid construction, precomputes the triangle's perimeter and triangle's bounding box. -
GRID_PARAMETERS_GLSL_PROGRAM
Used by uniform grid construction, calculates the grid's bounding box and estimates the proper cell size. -
GRID_CELL_OVERLAP_COUNT_GLSL_PROGRAM
Used by uniform grid construction, precomputes how much memory we need to allocate for which cell. -
GRID_CELL_BOUNDS_GLSL_PROGRAM
Used by uniform grid construction, creates an array (cell bounds) which is used to index cell's triangles. -
GRID_SORTED_TRIANGLES_GLSL_PROGRAM
Used by uniform grid construction, creates an array with triangles to which cell bounds point. -
DISTANCE_RAY_CASTING_GLSL_PROGRAM
Ray-casting distance measurement between two meshes using already created uniform grid.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getShaders
-
getUniformLocations
-