plastimatch
|
#include "plm_config.h"
#include <math.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "itk_point.h"
#include "plm_image_header.h"
#include "rasterize_slice.h"
Typedefs | |
typedef struct edge | Edge |
Functions | |
void | remove_old_edges (Edge **head, int y) |
void | insert_ordered_by_x (Edge **head, Edge *c) |
void | print_edges (Edge *p) |
bool | point_in_polygon (const float *x_in, const float *y_in, int num_vertices, float x_test, float y_test) |
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) |
typedef struct edge Edge |
bool point_in_polygon | ( | const float * | x_in, |
const float * | y_in, | ||
int | num_vertices, | ||
float | x_test, | ||
float | y_test ) |
void print_edges | ( | Edge * | p | ) |
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 ) |
void remove_old_edges | ( | Edge ** | head, |
int | y ) |