| Home >> All >> com >> trapezium >> [ chisel Javadoc ] |
com.trapezium.chisel: Javadoc index of package com.trapezium.chisel.
Package Samples:
com.trapezium.chisel.cleaners
com.trapezium.chisel.codeveloper
com.trapezium.chisel.condensers
com.trapezium.chisel.gui
com.trapezium.chisel.help
com.trapezium.chisel.mutators
com.trapezium.chisel.reducers
com.trapezium.chisel.reorganizers
Classes:
Chisel: Main class for Chisel. The Chisel class manages the data, the processing of the data, and the user interface. Data is contained in an array of ProcessedFile objects. Processing is controlled by an array of chisel descriptors. The user interface is implemented in an interior class called FrontEnd, which owns gui components created by ComponentFactory. Chisel also is the central hub for event traffic. Commands from any source are dispatched by Chisel. The ChiselFileTable handles all events from file processing, and forwards some of these to Chisel.
KeyValueRemover: The KeyValueRemover removes keys and corresponding keyValues if the following conditions are encountered: 1. a key of the form: ... a a a .... ^ this middle value (one or more) and corresponding keyValue entries are removed. 2. a keyValue of the form ... a a a .... ^ this middle keyValue (one or more) and corresponding key entries are removed.
ChiselAWTAction: class ChiselJAction extends DefaultAction implements ActionImpl { ActionListener owner; public ChiselJAction(ActionListener owner, String name) { super(name); this.owner = owner; } public void actionPerformed(ActionEvent e) { owner.actionPerformed(e); } public String getName() { return getText(NAME); } public void setName(String name) { setText(NAME, name); } }
IFS_DupCoordDetector: Detects and removes unnecessarily duplicated values in a coord, texCoord, color, or normal node. These are not removed if the Coordinate/TextureCoordinate/Color/ Normal node are DEFfed and USEd by a ROUTE. This is based on the assumption that the ROUTE changes the values, therefore editting these affects the corresponding "index" field, which exists for ROUTEd values and not for the pre-existing values.
TitleBar: A title bar control for a movable window. The title bar displays a title, moves the window which owns it. By default it assumes its parent is the window to move, but any ancestor can be specified. The title bar can also contain up to three buttons (minimize, maximize and close) as specified in the style parameter. The default is a maximize and a close button.
RangeReplacer: The RangeReplacer handles replacement of sequences of tokens. Each sequence to be replaced is registered for replacement, along with the Optimizer object handling the replacement and a parameter that gets passed to the Optimizer object. NOTE: this does not handle embedded replacements. Only the first replacement range found is handled.
IFS_ColorToDiffuseColor: This Chisel takes any single colored IFS within a Shape, and modifies it so that the color is indicated by the "diffuseColor" field of the material node of the appearance. The single color is detected if the IFS colorPerVertex is false, and the color node contains only one color, or if the colorIndex contains only one index value.
GuiAdapter: GuiAdapters separate the specific gui implementation from the gui logic. This is how we accomplish our own variation on pluggable look & feel, which is between JFC and AWT with our own custom l&f. An adapter class is necessary because the implementation classes are different for JFC vs. AWT.
ChiselSet: This class keeps track of a set of chisels. There are some standard sets: VALIDATORS, FORMATTER, CLEANERS, CONDENSORS, REDUCERS, REORGANIZERS, and any number of extension sets. Each set exists in its own package, and each package comes with a text file that is used to create the GUI for that set.
NameShortener: This chisels shortens DEF names and adjusts all ROUTEs accordingly (later version should do the same for PROTO field names, but this gets a little tricky due to unknown EXTERNPROTO references). (or could just shorten Script node field names, but this too gets tricky due to javascript parsing).
NodeRemover: This removes useless nodes: Interpolators with zero or one key, IS assignments are unaffected Any ROUTEs related to the removed nodes are also removed. If a DEF node field in a removed segment is USEd, then the first USE is converted into a DEF.
WorkspaceEvent: WorkspaceEvent extends WindowEvent because that's what it really should be, except that WindowEvents only work for Windows which are heavyweight components we'd rather not have to use. WorkspaceEvent works for any component.
IFS_SpaceStructureLoader: This is the abstract base class for any Optimizer which relies on the trapezium.vrml.node.space package. It creates a space structure, then registers the coord node and coordIndex field for replacement.
ChiselTableStack: The ChiselTableStack is a main component of the Chisel front end. It contains five components: file info window, validation control window, cleanup control window, optimizer control window, and save window.
ActionConnector: This static class connects command strings with ActionListeners, allowing user interface elements such as buttons initialize themselves without having to know who is listening to them.
IntegerConstraints: Constraints for an integer option value. Used by objects implementing the OptionHolder interface to deal with options that take integer values with minimum and maximum values.
ROUTEMover: The ROUTEMover moves bad routes to the end of the file. Some VRML generators include ROUTE statements within children nodes, this chisel is meant to correct that problem.
ShapeColorJoiner: This chisel joins all Shapes containing a single color in the "diffuseColor" field. Shapes with the same parent and same color are joined together into a single shape.
ScrollablePane: The base container for our own gui implementation. This class includes commonly needed functionality such as double buffering, background texture and border.
ChiselCommandList: ChiselCommandList takes an HTML report, and turns it into a set of chisel operations, complete with option settings. Each line of the HTML report is processed.
ChiselAWTPane: The base container for our own gui implementation. This class includes commonly needed functionality such as background texture and border.
ProcessedFile: a ProcessedFile object is a FactoryData object that knows how to load itself, reload itself from its original source, and save itself.
IFS_Masher: This is an implementation of Michael's polygon reduction algorithm, rebuilds space structure by breaking into cubes, then reconnecting.
| Home | Contact Us | Privacy Policy | Terms of Service |