Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.trapezium.chisel.reorganizers
Class DEFToInline  view DEFToInline download DEFToInline.java

java.lang.Object
  extended bycom.trapezium.chisel.Optimizer
      extended bycom.trapezium.chisel.reorganizers.InlineCreator
          extended bycom.trapezium.chisel.reorganizers.DEFToInline
All Implemented Interfaces:
java.util.EventListener, com.trapezium.chisel.NodeLocatorListener, com.trapezium.chisel.OptionHolder

public class DEFToInline
extends InlineCreator

Chisel to convert top level DEF nodes into Inlines


Nested Class Summary
 
Nested classes inherited from class com.trapezium.chisel.reorganizers.InlineCreator
InlineCreator.InlineInfo
 
Field Summary
 
Fields inherited from class com.trapezium.chisel.reorganizers.InlineCreator
inlineNo
 
Fields inherited from class com.trapezium.chisel.Optimizer
baseFileName, baseFilePath, dataSource
 
Constructor Summary
DEFToInline()
          Class constructor, indicate DEF nodes are to be converted
 
Method Summary
 void attemptOptimization(com.trapezium.vrml.node.Node n)
          Only convert top level Nodes in a Scene
 boolean isDEFlistener()
          Override Optimizer base class template method to indicate this is to be called for any DEF node.
 
Methods inherited from class com.trapezium.chisel.reorganizers.InlineCreator
optimize
 
Methods inherited from class com.trapezium.chisel.Optimizer
addAdditionalNode, attemptOptimization, booleanToOptionValue, eofTokens, getActionMessage, getAdditionalName, getNodeName, getNumberAdditionalNames, getNumberOptions, getOptionClass, getOptionConstraints, getOptionLabel, getOptionValue, hasFinalCode, intToOptionValue, isDEFUSElistener, isPROTOlistener, isROUTElistener, nodeFound, optimizePossible, optionValueToBoolean, optionValueToInt, printFinalCode, printNumbers, replaceIndexFaceMultiple, replaceRange, replaceStartEnd, replaceValueNodeFaceMultiple, reset, routeFound, setBaseFileName, setBaseFilePath, setDataSource, setNodeName, setOptionConstraints, setOptionValue, setRangeReplacer, summarize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DEFToInline

public DEFToInline()
Class constructor, indicate DEF nodes are to be converted

Method Detail

isDEFlistener

public boolean isDEFlistener()
Override Optimizer base class template method to indicate this is to be called for any DEF node.


attemptOptimization

public void attemptOptimization(com.trapezium.vrml.node.Node n)
Only convert top level Nodes in a Scene

Overrides:
attemptOptimization in class InlineCreator