camera3d.action
Class DumpEdgesAction

java.lang.Object
  extended bycamera3d.action.VcAction
      extended bycamera3d.action.GUIAction
          extended bycamera3d.action.DumpEdgesAction

public class DumpEdgesAction
extends GUIAction

Action that creates a text file with the list of edges of a VcContent object.

Version:
1.0
Author:
Fábio Roberto de Miranda e Carlos da Silva dos Santos

Field Summary
 
Fields inherited from class camera3d.action.VcAction
MULTIPLE_OBJECT_ACTION, SINGLE_OBJECT_ACTION
 
Constructor Summary
DumpEdgesAction(VcContent content)
           
DumpEdgesAction(VcContent content, java.lang.String fileName)
           
 
Method Summary
 java.lang.String askUserForFile()
           
 void debugln(java.lang.String s)
          Prints a debug message.
 void doAction(ActionExecutor executor)
          Performs the action.
 void dumpGeometryArray(javax.media.j3d.GeometryArray geom, javax.media.j3d.Transform3D t3D)
           
 void dumpIndexedGeometryArray(javax.media.j3d.IndexedGeometryArray geom, javax.media.j3d.Transform3D t3D)
           
 void scan(javax.media.j3d.Node n)
           
 void traverseGeometry(javax.media.j3d.Shape3D shape)
           
 
Methods inherited from class camera3d.action.VcAction
getMultiplicityType, isUndoable, setMultiplicityType, undoAction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DumpEdgesAction

public DumpEdgesAction(VcContent content,
                       java.lang.String fileName)

DumpEdgesAction

public DumpEdgesAction(VcContent content)
Method Detail

doAction

public void doAction(ActionExecutor executor)
Description copied from class: VcAction
Performs the action.

Specified by:
doAction in class VcAction
Parameters:
executor - provides any resource necessary for the action execution, such as references to other objects.

askUserForFile

public java.lang.String askUserForFile()

scan

public void scan(javax.media.j3d.Node n)

traverseGeometry

public void traverseGeometry(javax.media.j3d.Shape3D shape)

dumpIndexedGeometryArray

public void dumpIndexedGeometryArray(javax.media.j3d.IndexedGeometryArray geom,
                                     javax.media.j3d.Transform3D t3D)

dumpGeometryArray

public void dumpGeometryArray(javax.media.j3d.GeometryArray geom,
                              javax.media.j3d.Transform3D t3D)

debugln

public void debugln(java.lang.String s)
Description copied from class: VcAction
Prints a debug message. Its execution is controlled by debugflag and GUIControl.debugflag.

Overrides:
debugln in class VcAction


Copyright © 2001-2003 F.R. Miranda, C.S. Santos, J.E. Kogler Jr.. All Rights Reserved.