camera3d
Class DimensionsManager

java.lang.Object
  extended bycamera3d.DimensionsManager

public class DimensionsManager
extends java.lang.Object

This class concentrates methods for calculating the correct value of some quantities subject to variation according to the dimensions of loaded object, such as the size of avatars, the increment of translation sliders, and so on.

Version:
1.0
Author:
Fábio Roberto de Miranda

Method Summary
 void computeTranslationControlsIncrement(VcObject vcObject)
          Sets the increment step for the translation controls, based on the length of the diagonal of the bounding box of an object.
static DimensionsManager getDimensionsManager()
           
 double getTranslationIncrement()
           
 void setTranslationIncrement()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getDimensionsManager

public static DimensionsManager getDimensionsManager()

getTranslationIncrement

public double getTranslationIncrement()

setTranslationIncrement

public void setTranslationIncrement()

computeTranslationControlsIncrement

public void computeTranslationControlsIncrement(VcObject vcObject)
Sets the increment step for the translation controls, based on the length of the diagonal of the bounding box of an object.



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