plastimatch
Loading...
Searching...
No Matches
rasterize_slice.h
Go to the documentation of this file.
1/* -----------------------------------------------------------------------
2 See COPYRIGHT.TXT and LICENSE.TXT for copyright and license information
3 ----------------------------------------------------------------------- */
4#ifndef _rasterize_slice_h_
5#define _rasterize_slice_h_
6
7#include "plmbase_config.h"
8#include "plm_int.h"
9
11
13 unsigned char* acc_img,
15 size_t num_vertices,
16 const float* x_in, /* polygon vertices in mm */
17 const float* y_in,
18 const float* z_in
19);
20
22 const float* x_in, /* polygon vertices in mm */
23 const float* y_in, /* polygon vertices in mm */
24 size_t num_vertices,
25 float x_test,
26 float y_test
27);
28
29#endif
The Plm_image_header class defines the geometry of an image. It defines image origin,...
Definition plm_image_header.h:24
#define PLMBASE_C_API
Definition plmbase_config.h:18
bool point_in_polygon(const float *x_in, const float *y_in, size_t num_vertices, float x_test, float y_test)
EXTERNC void rasterize_slice(unsigned char *acc_img, Plm_image_header *pih, size_t num_vertices, const float *x_in, const float *y_in, const float *z_in)
Definition rasterize_slice.cxx:115