GRASS GIS 8 Programmer's Manual  8.2.2dev(2023)-3d2c704037
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
 
int * cats_ids
 
int * cats_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 151 of file imagery.h.

Field Documentation

◆ cats_arr

struct scScatts** scCats::cats_arr

array of pointers to struct scScatts

Definition at line 167 of file imagery.h.

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

◆ cats_ids

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 162 of file imagery.h.

Referenced by I_sc_add_cat(), and I_sc_free_cats().

◆ cats_idxs

int* scCats::cats_idxs

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

Definition at line 164 of file imagery.h.

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

◆ n_a_cats

int scCats::n_a_cats

number of used/active categories

Definition at line 161 of file imagery.h.

Referenced by I_sc_add_cat(), and I_sc_free_cats().

◆ n_bands

int scCats::n_bands

number of analyzed bands

Definition at line 158 of file imagery.h.

Referenced by I_sc_free_cats(), and I_sc_insert_scatt_data().

◆ n_cats

int scCats::n_cats

number of allocated categories

Definition at line 156 of file imagery.h.

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

◆ n_scatts

int scCats::n_scatts

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

Definition at line 159 of file imagery.h.

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

◆ type

int scCats::type

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

Definition at line 153 of file imagery.h.

Referenced by I_sc_free_cats(), and I_sc_insert_scatt_data().


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