1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
|
package tim.prune.function;
import tim.prune.App;
import tim.prune.GenericFunction;
/**
* Abstract superclass for pov and svg export functions
*/
public abstract class Export3dFunction extends GenericFunction
{
/** altitude exaggeration factor */
protected double _altFactor = 50.0;
/**
* Required constructor
* @param inApp App object
*/
public Export3dFunction(App inApp) {
super(inApp);
}
/**
* Set the coordinates for the camera
* @param inX X coordinate of camera
* @param inY Y coordinate of camera
* @param inZ Z coordinate of camera
*/
public abstract void setCameraCoordinates(double inX, double inY, double inZ);
/**
* @param inFactor exaggeration factor
*/
public void setAltitudeExaggeration(double inFactor)
{
if (inFactor >= 1.0) {
_altFactor = inFactor;
}
}
}
|