GRASS GIS 7 Programmer's Manual  7.5.svn(2018)-r72846
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
scCats Struct Reference

#include <imagery.h>

Collaboration diagram for scCats:

Data Fields

int type
 
int n_cats
 
int n_bands
 
int n_scatts
 
int n_a_cats
 
intcats_ids
 
intcats_idxs
 
struct scScatts ** cats_arr
 

Detailed Description

Holds list of all categories. It can contain selected areas for scatter plots (SC_SCATT_CONDITIONS type) or computed scatter plots (SC_SCATT_DATA type).

Definition at line 149 of file imagery.h.

Field Documentation

struct scScatts** scCats::cats_arr

array of pointers to struct scScatts

Definition at line 165 of file imagery.h.

Referenced by I_sc_add_cat(), I_sc_free_cats(), I_sc_init_cats(), and I_sc_insert_scatt_data().

int* scCats::cats_ids

(cat_idx->cat_id) array index is internal idx (position in cats_arr) and id is saved in it's position

Definition at line 160 of file imagery.h.

Referenced by I_compute_scatts(), I_sc_add_cat(), I_sc_free_cats(), and I_sc_init_cats().

int* scCats::cats_idxs

(cat_id->cat_idx) array index is id and internal idx is saved in it's position

Definition at line 162 of file imagery.h.

Referenced by I_sc_add_cat(), I_sc_free_cats(), I_sc_init_cats(), and I_sc_insert_scatt_data().

int scCats::n_a_cats

number of used/active categories

Definition at line 159 of file imagery.h.

Referenced by I_compute_scatts(), I_sc_add_cat(), I_sc_free_cats(), and I_sc_init_cats().

int scCats::n_bands

number of analyzed bands

Definition at line 156 of file imagery.h.

Referenced by I_compute_scatts(), I_sc_free_cats(), I_sc_init_cats(), and I_sc_insert_scatt_data().

int scCats::n_cats

number of allocated categories

Definition at line 154 of file imagery.h.

Referenced by I_sc_add_cat(), I_sc_free_cats(), I_sc_init_cats(), and I_sc_insert_scatt_data().

int scCats::n_scatts

number of possible scattter plots, which can be created from bands

Definition at line 157 of file imagery.h.

Referenced by I_sc_add_cat(), I_sc_free_cats(), I_sc_init_cats(), and I_sc_insert_scatt_data().

int scCats::type

SC_SCATT_DATA -> computed scatter plots, SC_SCATT_CONDITIONS -> set conditions for scatter plots to be computed

Definition at line 151 of file imagery.h.

Referenced by I_sc_free_cats(), I_sc_init_cats(), and I_sc_insert_scatt_data().


The documentation for this struct was generated from the following file: