openModeller  Version 1.5.0
om_niche.cpp File Reference
#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>
Include dependency graph for om_niche.cpp:

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
 

Function Documentation

GColor _bg ( ,
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().

Here is the call graph for this function:

void draw_niche ( GGraph *  graph)

Definition at line 237 of file om_niche.cpp.

References _cnv, _scale, and OpenModeller::getValue().

Referenced by draw().

Here is the call graph for this function:

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().

Here is the call graph for this function:

Variable Documentation

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.

Referenced by draw(), and main().

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.

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().