artofillusion
Class TextureMappingDialog

java.lang.Object
  extended by buoy.event.EventSource
      extended by buoy.widget.Widget
          extended by buoy.widget.WidgetContainer
              extended by buoy.widget.WindowWidget
                  extended by buoy.widget.BDialog
                      extended by artofillusion.TextureMappingDialog

public class TextureMappingDialog
extends buoy.widget.BDialog

This class implements the dialog box which is used to choose texture mappings for objects. It presents a list of all mappings which can be used with the current object and material, and allows the user to select one.


Constructor Summary
TextureMappingDialog(buoy.widget.BFrame parent, Object3D obj, int layer)
          Create a dialog for editing the texture mapping for a particular object.
 
Method Summary
 void setPreviewMapping(TextureMapping newmap)
          Set the texture mapping for the preview and, if necessary, copy over texture coordinates.
 
Methods inherited from class buoy.widget.BDialog
getChildCount, getChildren, getComponent, getMenuBar, getTitle, isModal, isResizable, pack, remove, removeAll, setMenuBar, setModal, setResizable, setTitle
 
Methods inherited from class buoy.widget.WindowWidget
dispose, getContent, getDefaultButton, isVisible, layoutChildren, setBounds, setContent, setDefaultButton, setVisible, toBack, toFront
 
Methods inherited from class buoy.widget.WidgetContainer
isOpaque, setOpaque
 
Methods inherited from class buoy.widget.Widget
addEventLink, dispatchEvent, getBackground, getBounds, getCursor, getFont, getMaximumSize, getMinimumSize, getName, getParent, getPreferredSize, hasFocus, isEnabled, isFocusable, repaint, requestFocus, setBackground, setCursor, setEnabled, setFocusable, setFont, setName
 
Methods inherited from class buoy.event.EventSource
addEventLink, addEventLink, removeEventLink
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextureMappingDialog

public TextureMappingDialog(buoy.widget.BFrame parent,
                            Object3D obj,
                            int layer)
Create a dialog for editing the texture mapping for a particular object. If the object has a layered texture, then layer is the layer number to edit. Otherwise, layer is ignored.

Method Detail

setPreviewMapping

public void setPreviewMapping(TextureMapping newmap)
Set the texture mapping for the preview and, if necessary, copy over texture coordinates.



Copyright © 1999-2008 by Peter Eastman.