java.lang.Object
com.trapezium.chisel.Optimizer
com.trapezium.chisel.reducers.IFS_SpaceStructureLoader
com.trapezium.chisel.reducers.IFS_PolygonRemover
- All Implemented Interfaces:
- java.util.EventListener, com.trapezium.chisel.NodeLocatorListener, com.trapezium.chisel.OptionHolder
- public class IFS_PolygonRemover
- extends IFS_SpaceStructureLoader
This is a polygon reduction tool, removes smallest triangles
in an IndexedFaceSet.
| 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 |
minNumberFaces
int minNumberFaces
percentThreshold
int percentThreshold
preserveColorBoundaries
boolean preserveColorBoundaries
MINFACE
static final int MINFACE
- See Also:
- Constant Field Values
PERCENT
static final int PERCENT
- See Also:
- Constant Field Values
PRESERVE_COLOR_BOUNDARIES
static final int PRESERVE_COLOR_BOUNDARIES
- See Also:
- Constant Field Values
IFS_PolygonRemover
public IFS_PolygonRemover()
replaceCoord
public void replaceCoord(com.trapezium.chisel.TokenPrinter tp,
com.trapezium.vrml.node.space.SpaceStructure ss,
int startTokenOffset,
int endTokenOffset)
- Specified by:
replaceCoord in class IFS_SpaceStructureLoader
getNumberOptions
public int getNumberOptions()
- Description copied from class:
com.trapezium.chisel.Optimizer
- Get the number of control options available for this chisel.
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