Package com.openinventor.ldm
Enum SoLDMGlobalResourceParameters.VisualFeedbackParams
- java.lang.Object
-
- java.lang.Enum<SoLDMGlobalResourceParameters.VisualFeedbackParams>
-
- com.openinventor.ldm.SoLDMGlobalResourceParameters.VisualFeedbackParams
-
- All Implemented Interfaces:
IntegerValuedEnum
,java.io.Serializable
,java.lang.Comparable<SoLDMGlobalResourceParameters.VisualFeedbackParams>
- Enclosing class:
- SoLDMGlobalResourceParameters
public static enum SoLDMGlobalResourceParameters.VisualFeedbackParams extends java.lang.Enum<SoLDMGlobalResourceParameters.VisualFeedbackParams> implements IntegerValuedEnum
Visual feedback modes. Used withsetVisualFeedbackParam()
method.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DRAW_SLICES_TEX
Use texturing forSoOrthoSlice
,SoObliqueSlice
, and SoVolumeGeometry primitives.DRAW_TILE_OUTLINE
Draw tile outlines for all primitives.DRAW_TILES
Draw the tiles ofSoVolumeRender
orSoVolumeSkin
primitives.DRAW_TOPOLOGY
Show tiles loaded in main memory.SHOW_LOAD_UNLOAD_TILES
Show tiles loaded (in red) and unloaded (in blue) in texture memory.SHOW_TILES_VALUATED
Show tiles visited by the Tile Visitor.USE_FAKE_DATA
Use fake data instead of the real data during loading into main memory.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getValue()
Returns the integer value of the enum constant.static SoLDMGlobalResourceParameters.VisualFeedbackParams
valueOf(int val)
Returns the enum constant of this type with the specified integer valuestatic SoLDMGlobalResourceParameters.VisualFeedbackParams
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SoLDMGlobalResourceParameters.VisualFeedbackParams[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DRAW_TILES
public static final SoLDMGlobalResourceParameters.VisualFeedbackParams DRAW_TILES
Draw the tiles ofSoVolumeRender
orSoVolumeSkin
primitives. They are drawn by default.
-
DRAW_SLICES_TEX
public static final SoLDMGlobalResourceParameters.VisualFeedbackParams DRAW_SLICES_TEX
Use texturing forSoOrthoSlice
,SoObliqueSlice
, and SoVolumeGeometry primitives. They are used by default.
-
DRAW_TOPOLOGY
public static final SoLDMGlobalResourceParameters.VisualFeedbackParams DRAW_TOPOLOGY
Show tiles loaded in main memory. This implies showing the multiresolution topology. The tile outlines of tiles of full resolution are drawn with a brighter yellow. The topology is not drawn by default.
-
DRAW_TILE_OUTLINE
public static final SoLDMGlobalResourceParameters.VisualFeedbackParams DRAW_TILE_OUTLINE
Draw tile outlines for all primitives. The tile outline of tiles of full resolution are drawn with a brighter gray for the volume, and a brighter green for the slices. Outlines are not drawn by default.
-
SHOW_TILES_VALUATED
public static final SoLDMGlobalResourceParameters.VisualFeedbackParams SHOW_TILES_VALUATED
Show tiles visited by the Tile Visitor. They are not shown by default.For the default LDM implementation, displays an octree representation showing traversal of the octree. Red dots are tiles that have been valuated. Blue indicates the minimum and maximum resolution thresholds. Yellow shows the octree itself.
-
SHOW_LOAD_UNLOAD_TILES
public static final SoLDMGlobalResourceParameters.VisualFeedbackParams SHOW_LOAD_UNLOAD_TILES
Show tiles loaded (in red) and unloaded (in blue) in texture memory. They are not shown by default.
-
USE_FAKE_DATA
public static final SoLDMGlobalResourceParameters.VisualFeedbackParams USE_FAKE_DATA
Use fake data instead of the real data during loading into main memory. The fake data is programmatically generated and is designed to illustrate features of Large Data Management. Fake data is not used by default.
-
-
Method Detail
-
values
public static SoLDMGlobalResourceParameters.VisualFeedbackParams[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SoLDMGlobalResourceParameters.VisualFeedbackParams c : SoLDMGlobalResourceParameters.VisualFeedbackParams.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SoLDMGlobalResourceParameters.VisualFeedbackParams valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
valueOf
public static SoLDMGlobalResourceParameters.VisualFeedbackParams valueOf(int val)
Returns the enum constant of this type with the specified integer value- Returns:
- the enum constant of this type with the specified integer value.
-
getValue
public int getValue()
Description copied from interface:IntegerValuedEnum
Returns the integer value of the enum constant.- Specified by:
getValue
in interfaceIntegerValuedEnum
- Returns:
- the integer value of the enum constant.
-
-