java.lang.Object
com.trapezium.chisel.Optimizer
com.trapezium.chisel.reducers.IFS_SpaceStructureLoader
com.trapezium.chisel.reducers.IFS_MeshRemover
- All Implemented Interfaces:
- java.util.EventListener, com.trapezium.chisel.NodeLocatorListener, com.trapezium.chisel.OptionHolder
- public class IFS_MeshRemover
- extends IFS_SpaceStructureLoader
This is a polygon reduction tool, merges parallel edges into single edges.
|
Method Summary |
int |
getNumberOptions()
Get the number of control options available for this chisel. |
java.lang.Class |
getOptionClass(int offset)
Get the class for an option |
java.lang.Object |
getOptionConstraints(int offset)
Get current option value |
java.lang.String |
getOptionLabel(int offset)
Get a specific control option label |
java.lang.Object |
getOptionValue(int offset)
Get current option value |
void |
replaceCoord(com.trapezium.chisel.TokenPrinter tp,
com.trapezium.vrml.node.space.SpaceStructure ss,
int startTokenOffset,
int endTokenOffset)
|
void |
replaceCoordIndex(com.trapezium.chisel.TokenPrinter tp,
com.trapezium.vrml.node.space.SpaceStructure ss,
int startTokenOffset,
int endTokenOffset)
|
void |
replaceTexCoordIndex(com.trapezium.chisel.TokenPrinter tp,
com.trapezium.vrml.node.space.SpaceStructure ss,
int startTokenOffset,
int endTokenOffset)
|
void |
setOptionValue(int offset,
java.lang.Object value)
Set option value |
| 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 |
denominator
int denominator
IFS_MeshRemover
public IFS_MeshRemover()
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
replaceCoordIndex
public void replaceCoordIndex(com.trapezium.chisel.TokenPrinter tp,
com.trapezium.vrml.node.space.SpaceStructure ss,
int startTokenOffset,
int endTokenOffset)
- Overrides:
replaceCoordIndex in class IFS_SpaceStructureLoader
replaceTexCoordIndex
public void replaceTexCoordIndex(com.trapezium.chisel.TokenPrinter tp,
com.trapezium.vrml.node.space.SpaceStructure ss,
int startTokenOffset,
int endTokenOffset)
- Overrides:
replaceTexCoordIndex 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