java.lang.Object
com.trapezium.chisel.Optimizer
com.trapezium.chisel.condensers.ResolutionAdjuster
com.trapezium.chisel.condensers.ResolutionMaker
- All Implemented Interfaces:
- java.util.EventListener, com.trapezium.chisel.NodeLocatorListener, com.trapezium.chisel.OptionHolder
- public class ResolutionMaker
- extends ResolutionAdjuster
This adjusts coordinate resolution to a specific number of places
beyond the decimal point.
| Methods inherited from class com.trapezium.chisel.Optimizer |
addAdditionalNode, attemptOptimization, booleanToOptionValue, eofTokens, getActionMessage, getAdditionalName, getNodeName, getNumberAdditionalNames, hasFinalCode, intToOptionValue, isDEFlistener, isDEFUSElistener, isPROTOlistener, isROUTElistener, nodeFound, optimizePossible, optionValueToBoolean, optionValueToInt, printFinalCode, printNumbers, replaceIndexFaceMultiple, replaceRange, replaceStartEnd, replaceValueNodeFaceMultiple, reset, routeFound, setBaseFileName, setBaseFilePath, setDataSource, setNodeName, setOptionConstraints, setRangeReplacer, summarize |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
coordResolution
int coordResolution
colorResolution
int colorResolution
texCoordResolution
int texCoordResolution
normalResolution
int normalResolution
elevationGridResolution
int elevationGridResolution
extrusionResolution
int extrusionResolution
COORD_RESOLUTION
static final int COORD_RESOLUTION
- See Also:
- Constant Field Values
COLOR_RESOLUTION
static final int COLOR_RESOLUTION
- See Also:
- Constant Field Values
TEXCOORD_RESOLUTION
static final int TEXCOORD_RESOLUTION
- See Also:
- Constant Field Values
NORMAL_RESOLUTION
static final int NORMAL_RESOLUTION
- See Also:
- Constant Field Values
ELEVATION_GRID_RESOLUTION
static final int ELEVATION_GRID_RESOLUTION
- See Also:
- Constant Field Values
EXTRUSION_RESOLUTION
static final int EXTRUSION_RESOLUTION
- See Also:
- Constant Field Values
ResolutionMaker
public ResolutionMaker()
attemptOptimization
public void attemptOptimization(com.trapezium.vrml.node.Node n)
- Description copied from class:
com.trapezium.chisel.Optimizer
- template, subclasses override this if they modify Nodes
getNumberOptions
public int getNumberOptions()
- control over 6 resolution levels
getOptionClass
public java.lang.Class getOptionClass(int offset)
- Get the class for an option
getOptionLabel
public java.lang.String getOptionLabel(int offset)
- Description copied from class:
com.trapezium.chisel.Optimizer
- Get a specific control option label
getOptionValue
public java.lang.Object getOptionValue(int offset)
- Description copied from class:
com.trapezium.chisel.Optimizer
- Get current option value
setOptionValue
public void setOptionValue(int offset,
java.lang.Object value)
- Description copied from class:
com.trapezium.chisel.Optimizer
- Set option value
getOptionConstraints
public java.lang.Object getOptionConstraints(int offset)
- Description copied from class:
com.trapezium.chisel.Optimizer
- Get current option value