openModeller
Version 1.5.0
|
#include <openmodeller/om.hh>
#include "getopts/getopts.h"
#include "om_cmd_utils.hh"
#include "graph/graphic.hh"
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdexcept>
#include <string>
Go to the source code of this file.
Functions | |
GColor | _bg (0, 140, 150) |
void | draw () |
void | draw_niche (GGraph *graph) |
void | draw_occur (GGraph *graph, const OccurrencesPtr &oc, GColor color) |
int | main (int argc, char **argv) |
Variables | |
float | _zoom |
int | _redraw = 1 |
int | _last_draw = 0 |
int | _scale = 1 |
int | _nmap |
Map ** | _maps |
OccurrencesPtr | _presences |
OccurrencesPtr | _absences |
OpenModeller | _om |
GImage * | _cnv |
GImage * | _pm |
GGraph * | _graph |
GColor _bg | ( | 0 | , |
140 | , | ||
150 | |||
) |
Referenced by main().
void draw | ( | ) |
Definition at line 219 of file om_niche.cpp.
References _cnv, _graph, _redraw, draw_niche(), and draw_occur().
Referenced by main().
void draw_niche | ( | GGraph * | graph | ) |
Definition at line 237 of file om_niche.cpp.
References _cnv, _scale, and OpenModeller::getValue().
Referenced by draw().
void draw_occur | ( | GGraph * | graph, |
const OccurrencesPtr & | oc, | ||
GColor | color | ||
) |
Definition at line 271 of file om_niche.cpp.
References OpenModeller::getEnvironment(), and Sample::size().
Referenced by draw().
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 72 of file om_niche.cpp.
References _bg(), _cnv, _graph, _pm, _scale, _zoom, draw(), Log::error(), OpenModeller::getAlgorithm(), OpenModeller::getEnvironment(), getLogLevel(), OpenModeller::getSampler(), OpenModeller::getVersion(), Log::instance(), min(), Configuration::readXml(), AlgorithmFactory::searchDefaultDirs(), Log::setLevel(), OpenModeller::setModelConfiguration(), and setupExternalResources().
OccurrencesPtr _absences |
Definition at line 55 of file om_niche.cpp.
GImage* _cnv |
Definition at line 58 of file om_niche.cpp.
Referenced by draw(), draw_niche(), and main().
GGraph* _graph |
Definition at line 60 of file om_niche.cpp.
int _last_draw = 0 |
Definition at line 46 of file om_niche.cpp.
Map** _maps |
Definition at line 52 of file om_niche.cpp.
int _nmap |
Definition at line 51 of file om_niche.cpp.
OpenModeller _om |
Definition at line 57 of file om_niche.cpp.
GImage* _pm |
Definition at line 59 of file om_niche.cpp.
Referenced by main().
OccurrencesPtr _presences |
Definition at line 54 of file om_niche.cpp.
int _redraw = 1 |
Definition at line 45 of file om_niche.cpp.
Referenced by draw().
int _scale = 1 |
Definition at line 47 of file om_niche.cpp.
Referenced by draw_niche(), and main().
float _zoom |
Definition at line 44 of file om_niche.cpp.
Referenced by main().