com.vwp.j3d.loaders
Class DXFObjects

java.lang.Object
  extended by java.lang.Thread
      extended by com.vwp.j3d.loaders.Objects
          extended by com.vwp.j3d.loaders.DXFObjects
All Implemented Interfaces:
Runnable

public class DXFObjects
extends Objects

This class is a loader for AutoCad DXF 3D models.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class com.vwp.j3d.loaders.Objects
ALLOW_ATTRIBUTES_READ, ALLOW_COLOR_WRITE, ALLOW_MATERIAL_COMPONENT_WRITE, ALLOW_MATERIAL_READ, ALLOW_POLYGONATTRIBUTES_MODE_WRITE, ALLOW_TEXTURE_ACCESS, ALLOW_TRANSFORM_WRITE, FASTEST, MEDIUM, MyMsgPipe, NICEST, Quality, TextureQuality, UserData
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
DXFObjects(int Quality, double imgScaleFactor)
          Constructs a new DXFObjects loader class with an DownloadCacheManager and a texture searchpath
DXFObjects(int Quality, double imgScaleFactor, DownloadCacheManager DXFDownCache)
          Constructs a new DXFObjects loader class with an DownloadCacheManager and a texture searchpath
DXFObjects(int Quality, double imgScaleFactor, DownloadCacheManager DXFDownCache, String RelativeTexturePath)
          Constructs a new DXFObjects loader class with an DownloadCacheManager and a texture searchpath
DXFObjects(int Quality, double imgScaleFactor, DownloadCacheManager DXFDownCache, String RelativeTexturePath, Object UserData)
          Constructs a new DXFObjects loader class with an DownloadCacheManager and a texture searchpath
DXFObjects(int Quality, double imgScaleFactor, DownloadCacheManager DXFDownCache, String RelativeTexturePath, String RelativeDataPath, Object UserData)
          Constructs a new DXFObjects loader class with an DownloadCacheManager and a texture searchpath
 
Method Summary
 
Methods inherited from class com.vwp.j3d.loaders.Objects
createAppearance, getCapabilityFlags, getDataFile, getFileName, getQuality, getTransformList, getUserData, loadDataFile, loadFile, loadFile, loadFile, loadFileInBackground, run, setCapabilityFlags, setDownloadCacheManager, setMessagePipe, setQuality, setRelativeTexturePath, setTexture, setTextureQuality, setUserData, stopThread
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DXFObjects

public DXFObjects(int Quality,
                  double imgScaleFactor)
Constructs a new DXFObjects loader class with an DownloadCacheManager and a texture searchpath

Parameters:
Quality - quality setting for all subsequent objects
imgScaleFactor - specifies by which the textures have to be prescaled, values > 0.0 and <= 1.0 are meaningful here to save graphics memory on systems with less powerful hardware

DXFObjects

public DXFObjects(int Quality,
                  double imgScaleFactor,
                  DownloadCacheManager DXFDownCache)
Constructs a new DXFObjects loader class with an DownloadCacheManager and a texture searchpath

Parameters:
Quality - quality setting for all subsequent objects
imgScaleFactor - specifies by which the textures have to be prescaled, values > 0.0 and <= 1.0 are meaningful here to save graphics memory on systems with less powerful hardware
DXFDownCache - specifies a caching manager object which handles caching of XBranchGroup objects which are downloaded from network and not directly from a local disk

DXFObjects

public DXFObjects(int Quality,
                  double imgScaleFactor,
                  DownloadCacheManager DXFDownCache,
                  String RelativeTexturePath)
Constructs a new DXFObjects loader class with an DownloadCacheManager and a texture searchpath

Parameters:
Quality - quality setting for all subsequent objects
imgScaleFactor - specifies by which the textures have to be prescaled, values > 0.0 and <= 1.0 are meaningful here to save graphics memory on systems with less powerful hardware
DXFDownCache - specifies a caching manager object which handles caching of XBranchGroup objects which are downloaded from network and not directly from a local disk
RelativeTexturePath - specifies where textures of downloaded XBranchGroup objects can be found relative to the location of the object, default is "tex/"

DXFObjects

public DXFObjects(int Quality,
                  double imgScaleFactor,
                  DownloadCacheManager DXFDownCache,
                  String RelativeTexturePath,
                  Object UserData)
Constructs a new DXFObjects loader class with an DownloadCacheManager and a texture searchpath

Parameters:
Quality - quality setting for all subsequent objects
imgScaleFactor - specifies by which the textures have to be prescaled, values > 0.0 and <= 1.0 are meaningful here to save graphics memory on systems with less powerful hardware
DXFDownCache - specifies a caching manager object which handles caching of XBranchGroup objects which are downloaded from network and not directly from a local disk
RelativeTexturePath - specifies where textures of downloaded XBranchGroup objects can be found relative to the location of the object, default is "tex/"
UserData - special user data which are appended to the new object

DXFObjects

public DXFObjects(int Quality,
                  double imgScaleFactor,
                  DownloadCacheManager DXFDownCache,
                  String RelativeTexturePath,
                  String RelativeDataPath,
                  Object UserData)
Constructs a new DXFObjects loader class with an DownloadCacheManager and a texture searchpath

Parameters:
Quality - quality setting for all subsequent objects
imgScaleFactor - specifies by which the textures have to be prescaled, values > 0.0 and <= 1.0 are meaningful here to save graphics memory on systems with less powerful hardware
DXFDownCache - specifies a caching manager object which handles caching of XBranchGroup objects which are downloaded from network and not directly from a local disk
RelativeTexturePath - specifies where textures of downloaded XBranchGroup objects can be found relative to the location of the object, default is "tex/"
RelativeDataPath - specifies where special data like animation information, material libs etc. for the downloaded 3D objects can be found relative to the location of the object, default is "dat/"
UserData - special user data which are appended to the new object