~ubuntu-branches/ubuntu/utopic/gpsprune/utopic

« back to all changes in this revision

Viewing changes to tim/prune/function/Export3dFunction.java

  • Committer: Package Import Robot
  • Author(s): David Paleino
  • Date: 2014-07-03 10:26:09 UTC
  • mfrom: (1.2.1) (13.1.1 experimental)
  • Revision ID: package-import@ubuntu.com-20140703102609-mtkt1enup5wfsok8
Tags: 16.2-1
* Upload to unstable.
* New upstream release.
* Switch Recommends from gnuplot to gnuplot-x11, bug reported by upstream (!)
* Bump B-D on libmetadata-extractor-java (>= 2.6.4), which was in
  experimental until now

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
import tim.prune.App;
4
4
import tim.prune.GenericFunction;
 
5
import tim.prune.threedee.ImageDefinition;
 
6
import tim.prune.threedee.TerrainDefinition;
5
7
 
6
8
/**
7
9
 * Abstract superclass for pov and svg export functions
10
12
{
11
13
        /** altitude exaggeration factor */
12
14
        protected double _altFactor = 5.0;
 
15
        /** definition of terrain */
 
16
        protected TerrainDefinition _terrainDef = null;
 
17
        /** definition of base image */
 
18
        protected ImageDefinition _imageDef = null;
13
19
 
14
20
        /**
15
21
         * Required constructor
36
42
                        _altFactor = inFactor;
37
43
                }
38
44
        }
 
45
 
 
46
        /**
 
47
         * @param inDefinition terrain definition, or null
 
48
         */
 
49
        public void setTerrainDefinition(TerrainDefinition inDefinition)
 
50
        {
 
51
                _terrainDef = inDefinition;
 
52
        }
 
53
 
 
54
        /**
 
55
         * @param inDefinition image definition, or null
 
56
         */
 
57
        public void setImageDefinition(ImageDefinition inDefinition)
 
58
        {
 
59
                _imageDef = inDefinition;
 
60
        }
39
61
}