Classes | Macros | Typedefs | Functions
pgmhandling.h File Reference
#include "sick_scan/sick_scan_base.h"
Include dependency graph for pgmhandling.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _PGMData
 

Macros

#define PGMHANDLING_H
 

Typedefs

typedef struct _PGMData PGMData
 

Functions

int ** allocate_dynamic_matrix (int row, int col)
 
void deallocate_dynamic_matrix (int **matrix, int row)
 
void freePGM (const PGMData *data)
 
PGMDatainitPgm (int rows, int cols)
 
void PGMDrawCross (PGMData *data, int x0, int y0, unsigned char ucColor, int halfLen, int width)
 
void PGMEllipse (const PGMData *data, float xc, float yc, float *vecArr, unsigned char ucColor)
 
unsigned char PGMGetPixel (PGMData *data, int x0, int y0)
 
void PGMLine (PGMData *data, int x1, int y1, int x2, int y2, unsigned char ucColor)
 
void PGMPutText (PGMData *data, char *szText, int xPos, int yPos, unsigned char ucColor)
 
void PGMSet (PGMData *data, unsigned char ucColor)
 
void PGMSetPixel (PGMData *data, int x0, int y0, unsigned char ucColor)
 
PGMDatareadPGM (PGMData *data, const char *file_name)
 
void writePGM (const PGMData *data, const char *filename)
 

Macro Definition Documentation

◆ PGMHANDLING_H

#define PGMHANDLING_H

Definition at line 3 of file pgmhandling.h.

Typedef Documentation

◆ PGMData

typedef struct _PGMData PGMData

Function Documentation

◆ allocate_dynamic_matrix()

int** allocate_dynamic_matrix ( int  row,
int  col 
)

Definition at line 89 of file pmghandling.c.

◆ deallocate_dynamic_matrix()

void deallocate_dynamic_matrix ( int **  matrix,
int  row 
)

Definition at line 111 of file pmghandling.c.

◆ freePGM()

void freePGM ( const PGMData data)

Definition at line 231 of file pmghandling.c.

◆ initPgm()

PGMData* initPgm ( int  rows,
int  cols 
)

Definition at line 236 of file pmghandling.c.

◆ PGMDrawCross()

void PGMDrawCross ( PGMData data,
int  x0,
int  y0,
unsigned char  ucColor,
int  halfLen,
int  width 
)

Definition at line 28 of file pmghandling.c.

◆ PGMEllipse()

void PGMEllipse ( const PGMData data,
float  xc,
float  yc,
float *  vecArr,
unsigned char  ucColor 
)

Definition at line 276 of file pmghandling.c.

◆ PGMGetPixel()

unsigned char PGMGetPixel ( PGMData data,
int  x0,
int  y0 
)

Definition at line 23 of file pmghandling.c.

◆ PGMLine()

void PGMLine ( PGMData data,
int  x1,
int  y1,
int  x2,
int  y2,
unsigned char  ucColor 
)

Definition at line 71 of file pmghandling.c.

◆ PGMPutText()

void PGMPutText ( PGMData data,
char *  szText,
int  xPos,
int  yPos,
unsigned char  ucColor 
)

Definition at line 248 of file pmghandling.c.

◆ PGMSet()

void PGMSet ( PGMData data,
unsigned char  ucColor 
)

Definition at line 12 of file pmghandling.c.

◆ PGMSetPixel()

void PGMSetPixel ( PGMData data,
int  x0,
int  y0,
unsigned char  ucColor 
)

Definition at line 51 of file pmghandling.c.

◆ readPGM()

PGMData* readPGM ( PGMData data,
const char *  file_name 
)

Definition at line 142 of file pmghandling.c.

◆ writePGM()

void writePGM ( const PGMData data,
const char *  filename 
)

Definition at line 192 of file pmghandling.c.



sick_scan_xd
Author(s): Michael Lehning , Jochen Sprickerhof , Martin Günther
autogenerated on Fri Oct 25 2024 02:47:13