Main Page | Modules | Data Structures | File List | Data Fields | Globals | Related Pages

object_prototypes.h File Reference

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Functions

public void coalesce_object_points (int *n_points, Point *points[], int n_indices, int indices[])
public void separate_object_points (int *new_n_points, Point *points[], int n_indices, int indices[], Colour_flags colour_flag, Colour *colours[])
public void get_default_surfprop (Surfprop *surfprop)
public BOOLEAN lookup_colour (STRING colour_name, Colour *col)
public BOOLEAN lookup_colour_name (Colour col, STRING *colour_name)
public void rgb_to_hsl (Real r, Real g, Real b, Real *h, Real *s, Real *l)
public void hsl_to_rgb (Real h, Real sl, Real l, Real *r, Real *g, Real *b)
public void convert_colour_to_hsl (Colour rgb, Colour *hsl)
public void convert_colour_to_rgb (Colour hsl, Colour *rgb)
public BOOLEAN equal_colours (Colour col1, Colour col2)
public STRING convert_colour_to_string (Colour col)
public Colour convert_string_to_colour (STRING string)
public int get_colour_distance (int r, int g, int b, Colour c2)
public int find_closest_colour (int r, int g, int b, int n_colours, Colour colours[])
public int get_Colour_luminance (Colour colour)
public Colour scale_colour (Colour colour, Real factor)
public Status input_graphics_file (STRING filename, File_formats *format, int *n_objects, object_struct ***object_list)
public Status output_graphics_file (STRING filename, File_formats format, int n_objects, object_struct *object_list[])
public Status input_objects_any_format (Volume volume, STRING filename, Colour marker_colour, Real marker_size, Marker_types marker_type, int *n_objects, object_struct **object_list[])
public STRING get_default_landmark_file_suffix (void)
public Status input_landmark_file (Volume volume, STRING filename, Colour colour, Real size, Marker_types type, int *n_objects, object_struct **object_list[])
public Status io_tag_point (FILE *file, IO_types io_direction, Volume volume, Real size, marker_struct *marker)
public void initialize_lines (lines_struct *lines, Colour col)
public void initialize_lines_with_size (lines_struct *lines, Colour col, int size, BOOLEAN closed)
public void delete_lines (lines_struct *lines)
public void start_new_line (lines_struct *lines)
public void add_point_to_line (lines_struct *lines, Point *point)
public void get_line_segment_index (lines_struct *lines, int obj_index, int *line, int *seg)
public void set_bintree_delete_function (void(*func)(bintree_struct_ptr *))
public void delete_bintree_if_any (bintree_struct_ptr *bintree)
public Real get_lines_length (lines_struct *lines)
public void get_lines_arc_point (lines_struct *lines, Real arc_length, Point *point)
public void initialize_marker (marker_struct *marker, Marker_types type, Colour colour)
public void delete_marker (marker_struct *marker)
public void initialize_model (model_struct *model)
public void delete_model (model_struct *model)
public void assign_model_extra_ptr (model_struct *model, void *ptr)
public void * get_model_extra_ptr (model_struct *model)
public void add_object_to_list (int *n_objects, object_struct ***object_list, object_struct *new_object)
public void remove_object_from_list (int *n_objects, object_struct **object_list[], int obj_index)
public void delete_object_list (int n_objects, object_struct *object_list[])
public int find_object_index_in_model (model_struct *model, object_struct *object)
public void add_object_to_model (model_struct *model, object_struct *new_object)
public void insert_object_in_model (model_struct *model, object_struct *new_object, int obj_index)
public void remove_ith_object_from_model (model_struct *model, int obj_index)
public void remove_object_from_model (model_struct *model, object_struct *object)
public Status io_lines (FILE *file, IO_types io_flag, File_formats format, lines_struct *lines)
public Status io_marker (FILE *file, IO_types io_flag, File_formats format, marker_struct *marker)
public Status io_model (FILE *file, IO_types io_flag, File_formats format, model_struct *model)
public Status io_pixels (FILE *file, IO_types io_flag, File_formats format, pixels_struct *pixels)
public void set_use_compressed_polygons_flag (BOOLEAN value)
public BOOLEAN get_use_compressed_polygons_flag (void)
public Status io_polygons (FILE *file, IO_types io_flag, File_formats format, polygons_struct *polygons)
public Status io_quadmesh (FILE *file, IO_types io_flag, File_formats format, quadmesh_struct *quadmesh)
 Read or write quadmesh structure.

public Status io_text (FILE *file, IO_types io_flag, File_formats format, text_struct *text)
public Status io_point (FILE *file, IO_types io_flag, File_formats format, Point *point)
public Status io_vector (FILE *file, IO_types io_flag, File_formats format, Vector *v)
public Status io_colour (FILE *file, IO_types io_flag, File_formats format, Colour *colour)
public Status io_colours (FILE *file, IO_types io_flag, File_formats format, Colour_flags *colour_flag, int n_items, int n_points, Colour **colours)
public Status io_surfprop (FILE *file, IO_types io_flag, File_formats format, Surfprop *surfprop)
public Status io_object_type (FILE *file, IO_types io_flag, File_formats format, Object_types type)
public Status input_object_type (FILE *file, Object_types *type, File_formats *format, BOOLEAN *eof)
public Status io_pixel_colours (FILE *file, IO_types io_flag, File_formats format, int n, Colour *pixel_colours[])
public Status io_pixel_colour (FILE *file, IO_types io_flag, File_formats format, Colour *pixel_colour)
public Status input_object (STRING directory, FILE *file, File_formats *format, object_struct **object, BOOLEAN *eof)
public Status output_object (FILE *file, File_formats format, object_struct *object)
public object_structcreate_object (Object_types object_type)
public Object_types get_object_type (object_struct *object)
public BOOLEAN get_object_visibility (object_struct *object)
public void set_object_visibility (object_struct *object, BOOLEAN visibility)
public lines_structget_lines_ptr (object_struct *object)
public marker_structget_marker_ptr (object_struct *object)
public model_structget_model_ptr (object_struct *object)
public pixels_structget_pixels_ptr (object_struct *object)
public polygons_structget_polygons_ptr (object_struct *object)
public quadmesh_structget_quadmesh_ptr (object_struct *object)
public text_structget_text_ptr (object_struct *object)
public void delete_object (object_struct *object)
public int get_object_points (object_struct *object, Point *points[])
public int get_object_normals (object_struct *object, Vector *normals[])
public Colour_flagsget_object_colours (object_struct *object, Colour *colours[])
public void set_object_colours (object_struct *object, Colour colours[])
public Surfprop * get_object_surfprop (object_struct *object)
public STRING get_object_name (object_struct *object)
public void initialize_object_traverse (object_traverse_struct *object_traverse, BOOLEAN visible_ones_only, int n_objects, object_struct *object_list[])
public BOOLEAN get_next_object_traverse (object_traverse_struct *object_traverse, object_struct **object)
public void terminate_object_traverse (object_traverse_struct *object_traverse)
public BOOLEAN get_range_of_object (object_struct *object, BOOLEAN visible_ones_only, Point *min_corner, Point *max_corner)
public void reverse_object_normals (object_struct *object)
public BOOLEAN get_object_colour (object_struct *object, Colour *colour)
public void set_object_colour (object_struct *object, Colour col)
public void set_object_surfprop (object_struct *object, Surfprop *spr)
public void free_colours (Colour_flags colour_flag, Colour colours[], int n_points, int n_items)
public BOOLEAN objects_are_same_topology (int n_points1, int n_items1, int *end_indices1, int *indices1, int n_points2, int n_items2, int *end_indices2, int *indices2)
public int get_n_colours (Colour_flags colour_flag, int n_points, int n_items)
public void initialize_pixels (pixels_struct *pixels, int x_position, int y_position, int x_size, int y_size, Real x_zoom, Real y_zoom, Pixel_types pixel_type)
public void delete_pixels (pixels_struct *pixels)
public void modify_pixels_size (int *n_pixels_alloced, pixels_struct *pixels, int x_size, int y_size, Pixel_types pixel_type)
public void convert_pixels24_to_pixels8 (pixels_struct *pixels_rgb, pixels_struct *pixels_8)
public void convert_pixels24_to_index8 (pixels_struct *pixels_rgb, pixels_struct *pixels_8, int n_colours, Colour colour_table[])
public void convert_index8_to_pixels24 (pixels_struct *pixels_8, Colour colour_table[], pixels_struct *pixels_rgb)
public void convert_pixels24_to_gray_scale (pixels_struct *pixels_rgb, pixels_struct *pixels_8)
public void convert_pixels24_to_dithered (pixels_struct *pixels_rgb, pixels_struct *pixels_8, int n_colours, Colour colour_table[])
public void resample_pixels (pixels_struct *pixels, Transform_2d *transform, int n_samples, pixels_struct *new_pixels, Colour background_colour)
public void copy_pixel_region (pixels_struct *pixels, int x_min, int x_max, int y_min, int y_max, pixels_struct *new_pixels)
public void check_polygons_neighbours_computed (polygons_struct *polygons)
public void delete_polygon_point_neighbours (polygons_struct *polygons, int n_point_neighbours[], int *point_neighbours[], Smallest_int interior_flags[], int *point_polygons[])
public void create_polygon_point_neighbours (polygons_struct *polygons, BOOLEAN across_polygons_flag, int *n_point_neighbours_ptr[], int **point_neighbours_ptr[], Smallest_int *interior_flags_ptr[], int **point_polygons_ptr[])
public void initialize_polygons (polygons_struct *polygons, Colour col, Surfprop *spr)
 generate empty set of polygons

public void initialize_polygons_with_size (polygons_struct *polygons, Colour col, Surfprop *spr, int n_points, int n_polygons, int size)
 generate polygons with fixed-size facets

public void free_polygon_neighbours (polygons_struct *polygons)
public void delete_polygons (polygons_struct *polygons)
public void copy_polygons (polygons_struct *src, polygons_struct *dest)
public void set_polygon_per_item_colours (polygons_struct *polygons)
public void create_polygons_visibilities (polygons_struct *polygons)
public void set_polygons_visibilities (polygons_struct *polygons, BOOLEAN state)
public void start_new_polygon (polygons_struct *polygons)
public void add_point_to_polygon (polygons_struct *polygons, Point *point, Vector *normal)
public int get_polygon_points (polygons_struct *polygons, int poly, Point points[])
public void get_polygon_centroid (polygons_struct *polygons, int poly, Point *centroid)
public int find_vertex_index (polygons_struct *polygons, int poly, int point_index)
public int find_edge_index (polygons_struct *polygons, int poly, int point_index1, int point_index2)
public BOOLEAN find_polygon_with_edge (polygons_struct *polygons, int point_index1, int point_index2, int *poly_containing_edge, int *edge_index)
public BOOLEAN find_polygon_with_vertex (polygons_struct *polygons, int point_index, int *poly_index, int *vertex_index)
public BOOLEAN lookup_polygon_vertex (polygons_struct *polygons, Point *point, int *point_index)
public BOOLEAN find_next_edge_around_point (polygons_struct *polygons, int poly, int index_1, int index_2, int *next_poly, int *next_index_1, int *next_index_2)
public int get_neighbours_of_point (polygons_struct *polygons, int poly, int vertex_index, int neighbours[], int max_neighbours, BOOLEAN *interior_point)
public int get_polygons_around_vertex (polygons_struct *polygons, int poly, int vertex_index, int poly_indices[], int n_polys_alloced, BOOLEAN *closed_flag)
public void compute_polygon_normal (polygons_struct *polygons, int poly, Vector *normal)
public void compute_polygon_normals (polygons_struct *polygons)
public void average_polygon_normals (polygons_struct *polygons, int n_iters, Real neighbour_weight)
public BOOLEAN get_plane_polygon_intersection (Vector *normal, Real d, polygons_struct *polygons, int poly, Point intersection_points[])
public BOOLEAN get_plane_segment_intersection (Vector *normal, Real d, Point *p1, Point *p2, Point *intersection_point)
public void reverse_polygons_vertices (polygons_struct *polygons)
public void make_polygons_front_facing (polygons_struct *polygons)
public BOOLEAN polygon_is_back_facing (polygons_struct *polygons, int poly)
public void compute_points_centroid_and_normal (polygons_struct *polygons, int point_index, int n_neighbours, int neighbours[], Point *centroid, Vector *normal, Real *base_length, Real *curvature)
public void compute_polygon_point_centroid (polygons_struct *polygons, int poly, int vertex_index, int point_index, Point *centroid, Vector *normal, Real *base_length, Real *curvature)
public Real compute_polygon_vertex_curvature (polygons_struct *polygons, int point_index)
public Real get_polygon_edge_angle (polygons_struct *polygons, int poly, int edge)
public BOOLEAN polygons_are_same_topology (polygons_struct *p1, polygons_struct *p2)
public void initialize_quadmesh (quadmesh_struct *quadmesh, Colour col, Surfprop *spr, int m, int n)
 Initialize a quadmesh to given size.

public void delete_quadmesh (quadmesh_struct *quadmesh)
 Delete quadmesh structure.

public void set_quadmesh_point (quadmesh_struct *quadmesh, int i, int j, Point *point, Vector *normal)
 Set one point and normal in quadmesh.

public BOOLEAN get_quadmesh_point (const quadmesh_struct *quadmesh, int i, int j, Point *point)
 Get coordinates of one point in quadmesh.

public void get_quadmesh_n_objects (const quadmesh_struct *quadmesh, int *m, int *n)
public void compute_quadmesh_normals (quadmesh_struct *quadmesh)
public void get_quadmesh_patch_indices (const quadmesh_struct *quadmesh, int i, int j, int indices[])
 Compute the indices of points for patch.

public void get_quadmesh_patch (const quadmesh_struct *quadmesh, int i, int j, Point points[])
 Get coordinates of patch corners.

public void reverse_quadmesh_vertices (quadmesh_struct *quadmesh)
 Flip columns around centre.

public Colour * get_8bit_rgb_pixel_lookup (void)
public int convert_rgb_pixel_to_8bit_lookup (Colour colour)
public Status input_tag_objects_file (STRING filename, Colour marker_colour, Real default_size, Marker_types default_type, int *n_objects, object_struct **object_list[])
public void initialize_text (text_struct *text, Point *position, Colour colour, Font_types text_font, Real size)
public void delete_text (text_struct *text)
public Status output_texture_values (STRING filename, File_formats format, int n_values, Real values[])
 Write a set of real values to file.

public Status input_texture_values (STRING filename, int *n_values, Real *values[])
 Read a set of real values from file.


Function Documentation

public void add_object_to_list int *  n_objects,
object_struct ***  object_list,
object_struct new_object
 

Definition at line 129 of file Objects/models.c.

Referenced by add_object_to_model(), input_graphics_file(), input_landmark_file(), and input_tag_objects_file().

public void add_object_to_model model_struct model,
object_struct new_object
 

Definition at line 235 of file Objects/models.c.

References add_object_to_list(), model_struct::n_objects, and model_struct::objects.

public void add_point_to_line lines_struct lines,
Point *  point
 

Definition at line 149 of file lines.c.

References lines_struct::end_indices, lines_struct::indices, lines_struct::n_items, lines_struct::n_points, lines_struct::points, and start_new_line().

Referenced by create_histogram_line(), and create_line_spline().

public void assign_model_extra_ptr model_struct model,
void *  ptr
 

Definition at line 88 of file Objects/models.c.

References model_struct::extra_ptr.

public void check_polygons_neighbours_computed polygons_struct polygons  ) 
 

Definition at line 42 of file poly_neighs.c.

References create_polygon_neighbours(), polygons_struct::end_indices, polygons_struct::n_items, and polygons_struct::neighbours.

Referenced by compute_polygons_model_info(), and smooth_polygon().

public void coalesce_object_points int *  n_points,
Point *  points[],
int  n_indices,
int  indices[]
 

Definition at line 51 of file coalesce.c.

References get_box_index(), get_range_points(), MIN_N_BOXES, N_BOX_RATIO, box_struct::n_points, and box_struct::point_indices.

public void convert_colour_to_hsl Colour  rgb,
Colour *  hsl
 

Definition at line 797 of file colours.c.

References rgb_to_hsl().

public void convert_colour_to_rgb Colour  hsl,
Colour *  rgb
 

Definition at line 824 of file colours.c.

References hsl_to_rgb().

public STRING convert_colour_to_string Colour  col  ) 
 

Definition at line 875 of file colours.c.

References lookup_colour_name().

Referenced by get_global_variable().

public void convert_index8_to_pixels24 pixels_struct pixels_8,
Colour  colour_table[],
pixels_struct pixels_rgb
 

Definition at line 277 of file pixels.c.

References initialize_pixels(), PIXEL_COLOUR_INDEX_8, PIXEL_RGB_COLOUR, RGB_PIXEL, pixels_struct::x_position, pixels_struct::x_size, pixels_struct::x_zoom, y, pixels_struct::y_position, pixels_struct::y_size, and pixels_struct::y_zoom.

public void convert_pixels24_to_dithered pixels_struct pixels_rgb,
pixels_struct pixels_8,
int  n_colours,
Colour  colour_table[]
 

Definition at line 347 of file pixels.c.

References COLOUR_INDEX_8BIT_PIXEL, find_closest_colour(), initialize_pixels(), PIXEL_COLOUR_INDEX_8, PIXEL_RGB_COLOUR, pixels_struct::x_size, y, and pixels_struct::y_size.

public void convert_pixels24_to_gray_scale pixels_struct pixels_rgb,
pixels_struct pixels_8
 

Definition at line 311 of file pixels.c.

References COLOUR_INDEX_8BIT_PIXEL, get_Colour_luminance(), initialize_pixels(), PIXEL_COLOUR_INDEX_8, PIXEL_RGB_COLOUR, pixels_struct::x_size, y, and pixels_struct::y_size.

public void convert_pixels24_to_index8 pixels_struct pixels_rgb,
pixels_struct pixels_8,
int  n_colours,
Colour  colour_table[]
 

Definition at line 234 of file pixels.c.

References COLOUR_INDEX_8BIT_PIXEL, find_closest_colour(), initialize_pixels(), PIXEL_COLOUR_INDEX_8, PIXEL_RGB_COLOUR, pixels_struct::x_position, pixels_struct::x_size, pixels_struct::x_zoom, y, pixels_struct::y_position, pixels_struct::y_size, and pixels_struct::y_zoom.

public void convert_pixels24_to_pixels8 pixels_struct pixels_rgb,
pixels_struct pixels_8
 

Definition at line 196 of file pixels.c.

References COLOUR_INDEX_8BIT_PIXEL, convert_rgb_pixel_to_8bit_lookup(), initialize_pixels(), PIXEL_COLOUR_INDEX_8, PIXEL_RGB_COLOUR, pixels_struct::x_position, pixels_struct::x_size, pixels_struct::x_zoom, y, pixels_struct::y_position, pixels_struct::y_size, and pixels_struct::y_zoom.

public int convert_rgb_pixel_to_8bit_lookup Colour  colour  ) 
 

Definition at line 81 of file rgb_lookup.c.

Referenced by convert_pixels24_to_pixels8().

public Colour convert_string_to_colour STRING  string  ) 
 

Definition at line 909 of file colours.c.

References lookup_colour().

Referenced by input_user_defined_colour_coding(), and set_global_variable().

public void copy_pixel_region pixels_struct pixels,
int  x_min,
int  x_max,
int  y_min,
int  y_max,
pixels_struct new_pixels
 

Definition at line 557 of file pixels.c.

References COLOUR_INDEX_16BIT_PIXEL, COLOUR_INDEX_8BIT_PIXEL, initialize_pixels(), PIXEL_COLOUR_INDEX_16, PIXEL_COLOUR_INDEX_8, PIXEL_RGB_COLOUR, pixels_struct::pixel_type, RGB_PIXEL, pixels_struct::x_position, pixels_struct::x_size, pixels_struct::x_zoom, y, pixels_struct::y_position, pixels_struct::y_size, and pixels_struct::y_zoom.

public object_struct* create_object Object_types  object_type  ) 
 

Definition at line 39 of file objects.c.

References object_struct::object_type, TRUE, and object_struct::visibility.

Referenced by check_correct_parametric_lines(), check_correct_parametric_polygons(), check_correct_subsampled_polygons(), create_lsq_hypersurface_float(), input_landmark_file(), input_object(), input_tag_objects_file(), and polygon_transform_points().

public void create_polygon_point_neighbours polygons_struct polygons,
BOOLEAN  across_polygons_flag,
int *  n_point_neighbours_ptr[],
int **  point_neighbours_ptr[],
Smallest_int *  interior_flags_ptr[],
int **  point_polygons_ptr[]
 

Definition at line 157 of file poly_neighs.c.

References polygons_struct::end_indices, FALSE, GET_OBJECT_SIZE, polygons_struct::indices, insert_neighbours(), MAX_POINTS_PER_POLYGON, polygons_struct::n_items, polygons_struct::n_points, and POINT_INDEX.

Referenced by create_polygon_neighbours(), and subdivide_polygons().

public void delete_bintree_if_any bintree_struct_ptr bintree  ) 
 

Definition at line 246 of file lines.c.

Referenced by delete_lines(), delete_polygons(), and delete_quadmesh().

public void delete_lines lines_struct lines  ) 
 

Definition at line 94 of file lines.c.

References lines_struct::bintree, lines_struct::colour_flag, lines_struct::colours, delete_bintree_if_any(), lines_struct::end_indices, free_colours(), lines_struct::indices, lines_struct::n_items, lines_struct::n_points, and lines_struct::points.

Referenced by delete_lines_object(), general_subdivide_lines(), and smooth_lines().

public void delete_marker marker_struct marker  ) 
 

Definition at line 62 of file markers.c.

References marker_struct::label.

Referenced by delete_marker_object().

public void delete_model model_struct model  ) 
 

Definition at line 56 of file Objects/models.c.

References delete_object(), model_struct::extra_ptr, model_struct::filename, model_struct::n_objects, and model_struct::objects.

Referenced by delete_model_object().

public void delete_object object_struct object  ) 
 

Definition at line 1192 of file objects.c.

References object_functions_list::delete_function, and object_struct::object_type.

Referenced by create_lsq_hypersurface_float(), delete_deform_model(), delete_model(), and delete_object_list().

public void delete_object_list int  n_objects,
object_struct object_list[]
 

Definition at line 175 of file Objects/models.c.

References delete_object().

Referenced by input_original_positions().

public void delete_pixels pixels_struct pixels  ) 
 

Definition at line 81 of file pixels.c.

References COLOUR_INDEX_16BIT_PIXEL, COLOUR_INDEX_8BIT_PIXEL, pixels_struct::data, pixels_struct::pixel_type, RGB_PIXEL, pixels_struct::x_size, and pixels_struct::y_size.

Referenced by delete_pixels_object(), and modify_pixels_size().

public void delete_polygon_point_neighbours polygons_struct polygons,
int  n_point_neighbours[],
int *  point_neighbours[],
Smallest_int  interior_flags[],
int *  point_polygons[]
 

Definition at line 52 of file poly_neighs.c.

References polygons_struct::n_points.

Referenced by create_polygon_neighbours(), and subdivide_polygons().

public void delete_text text_struct text  ) 
 

Definition at line 68 of file text.c.

References text_struct::string.

Referenced by delete_text_object().

public BOOLEAN equal_colours Colour  col1,
Colour  col2
 

Definition at line 852 of file colours.c.

public int find_closest_colour int  r,
int  g,
int  b,
int  n_colours,
Colour  colours[]
 

Definition at line 982 of file colours.c.

References get_colour_distance().

Referenced by convert_pixels24_to_dithered(), and convert_pixels24_to_index8().

public int find_object_index_in_model model_struct model,
object_struct object
 

Definition at line 206 of file Objects/models.c.

References model_struct::n_objects, and model_struct::objects.

Referenced by remove_object_from_model().

public void free_colours Colour_flags  colour_flag,
Colour  colours[],
int  n_points,
int  n_items
 

Definition at line 1709 of file objects.c.

References FALSE, ONE_COLOUR, PER_ITEM_COLOURS, PER_VERTEX_COLOURS, and TRUE.

Referenced by delete_lines(), delete_polygons(), and delete_quadmesh().

public Colour* get_8bit_rgb_pixel_lookup void   ) 
 

Definition at line 37 of file rgb_lookup.c.

References FALSE, initialized, NUM_PIXELS8, and TRUE.

public int get_colour_distance int  r,
int  g,
int  b,
Colour  c2
 

Definition at line 949 of file colours.c.

Referenced by find_closest_colour().

public int get_Colour_luminance Colour  colour  ) 
 

Definition at line 1020 of file colours.c.

Referenced by convert_pixels24_to_gray_scale().

public STRING get_default_landmark_file_suffix void   ) 
 

Definition at line 36 of file landmark_file.c.

Referenced by input_landmark_file(), and input_objects_any_format().

public void get_default_surfprop Surfprop *  surfprop  ) 
 

Definition at line 502 of file colours.c.

Referenced by create_slice_quadmesh(), create_tube(), initialize_polygons(), and initialize_quadmesh().

public void get_line_segment_index lines_struct lines,
int  obj_index,
int *  line,
int *  seg
 

Definition at line 179 of file lines.c.

References lines_struct::end_indices, and lines_struct::n_items.

Referenced by get_point_line_segment_distance_sq(), and intersect_ray_tube_segment().

public void get_lines_arc_point lines_struct lines,
Real  arc_length,
Point *  point
 

Definition at line 303 of file lines.c.

References distance_between_points(), lines_struct::end_indices, FALSE, GET_OBJECT_SIZE, lines_struct::indices, lines_struct::n_items, POINT_INDEX, lines_struct::points, and TRUE.

public Real get_lines_length lines_struct lines  ) 
 

Definition at line 266 of file lines.c.

References distance_between_points(), lines_struct::end_indices, GET_OBJECT_SIZE, lines_struct::indices, lines_struct::n_items, POINT_INDEX, and lines_struct::points.

public lines_struct* get_lines_ptr object_struct object  ) 
 

Definition at line 124 of file objects.c.

References LINES, object_struct::object_type, and object_struct::specific.

Referenced by check_correct_general_lines(), check_correct_parametric_lines(), colour_code_object(), delete_lines_object(), find_closest_point_on_object(), get_lines_colours(), get_lines_name(), get_lines_points(), get_point_object_distance_sq(), input_object(), input_original_positions(), intersect_ray_object(), intersect_ray_with_object(), output_object(), scan_object_to_volume(), and set_lines_colours().

public marker_struct* get_marker_ptr object_struct object  ) 
 

Definition at line 149 of file objects.c.

References MARKER, object_struct::object_type, and object_struct::specific.

Referenced by delete_marker_object(), get_marker_colours(), get_marker_name(), get_marker_points(), get_point_object_distance_sq(), input_landmark_file(), input_object(), input_tag_objects_file(), intersect_ray_object(), output_object(), and scan_object_to_volume().

public void* get_model_extra_ptr model_struct model  ) 
 

Definition at line 108 of file Objects/models.c.

References model_struct::extra_ptr.

public model_struct* get_model_ptr object_struct object  ) 
 

Definition at line 174 of file objects.c.

References MODEL, object_struct::object_type, and object_struct::specific.

Referenced by advance_object_traverse(), delete_model_object(), get_model_name(), input_object(), and output_object().

public int get_n_colours Colour_flags  colour_flag,
int  n_points,
int  n_items
 

Definition at line 1799 of file objects.c.

References ONE_COLOUR, PER_ITEM_COLOURS, and PER_VERTEX_COLOURS.

Referenced by copy_polygons().

public BOOLEAN get_next_object_traverse object_traverse_struct object_traverse,
object_struct **  object
 

Definition at line 1407 of file objects.c.

References advance_object_traverse(), FALSE, object_stack_struct::index, object_stack_struct::object_list, object_traverse_struct::stack, terminate_object_traverse(), object_traverse_struct::top_of_stack, and TRUE.

Referenced by get_range_of_object(), reverse_object_normals(), and scan_object_to_volume().

public BOOLEAN get_object_colour object_struct object,
Colour *  colour
 

Definition at line 1605 of file objects.c.

References Colour_flags, FALSE, get_object_colours(), ONE_COLOUR, and TRUE.

public Colour_flags* get_object_colours object_struct object,
Colour *  colours[]
 

Definition at line 1254 of file objects.c.

References Colour_flags, object_functions_list::get_colours_function, and object_struct::object_type.

Referenced by get_object_colour(), and set_object_colour().

public STRING get_object_name object_struct object  ) 
 

Definition at line 1316 of file objects.c.

References object_functions_list::get_name_function, and object_struct::object_type.

Referenced by print_deform_model().

public int get_object_normals object_struct object,
Vector *  normals[]
 

Definition at line 1233 of file objects.c.

References object_functions_list::get_normals_function, and object_struct::object_type.

Referenced by reverse_object_normals().

public int get_object_points object_struct object,
Point *  points[]
 

Definition at line 1212 of file objects.c.

References object_functions_list::get_points_function, and object_struct::object_type.

Referenced by find_closest_vertex_on_object(), and get_range_of_object().

public Surfprop* get_object_surfprop object_struct object  ) 
 

Definition at line 1296 of file objects.c.

References object_functions_list::get_surfprop_function, and object_struct::object_type.

Referenced by set_object_surfprop().

public Object_types get_object_type object_struct object  ) 
 

Definition at line 65 of file objects.c.

References object_struct::object_type, and Object_types.

Referenced by find_closest_point_on_object(), find_closest_vertex_on_object(), get_point_object_distance_sq(), get_point_object_vertex_distance(), intersect_ray_object(), intersect_ray_with_object(), and scan_object_to_volume().

public BOOLEAN get_object_visibility object_struct object  ) 
 

Definition at line 84 of file objects.c.

References object_struct::visibility.

Referenced by advance_object_traverse(), and initialize_object_traverse().

public pixels_struct* get_pixels_ptr object_struct object  ) 
 

Definition at line 199 of file objects.c.

References object_struct::object_type, PIXELS, and object_struct::specific.

Referenced by delete_pixels_object(), get_pixels_name(), input_object(), and output_object().

public polygons_struct* get_polygons_ptr object_struct object  ) 
 

Definition at line 224 of file objects.c.

References object_struct::object_type, POLYGONS, and object_struct::specific.

Referenced by check_correct_general_polygons(), check_correct_parametric_polygons(), check_correct_subsampled_polygons(), colour_code_object(), delete_polygons_object(), find_closest_point_on_object(), find_closest_vertex_on_object(), get_point_object_distance_sq(), get_point_object_vertex_distance(), get_polygons_colours(), get_polygons_name(), get_polygons_normals(), get_polygons_points(), get_polygons_surfprop(), get_subsampled_neighbours_of_point(), input_object(), input_original_positions(), intersect_ray_object(), intersect_ray_with_object(), output_object(), polygon_transform_point(), polygon_transform_points(), scan_object_to_volume(), and set_polygons_colours().

public quadmesh_struct* get_quadmesh_ptr object_struct object  ) 
 

Definition at line 249 of file objects.c.

References object_struct::object_type, QUADMESH, and object_struct::specific.

Referenced by colour_code_object(), create_lsq_hypersurface_float(), delete_quadmesh_object(), find_closest_point_on_object(), get_point_object_distance_sq(), get_quadmesh_colours(), get_quadmesh_name(), get_quadmesh_normals(), get_quadmesh_points(), get_quadmesh_surfprop(), input_object(), intersect_ray_object(), intersect_ray_with_object(), output_object(), scan_object_to_volume(), and set_quadmesh_colours().

public BOOLEAN get_range_of_object object_struct object,
BOOLEAN  visible_ones_only,
Point *  min_corner,
Point *  max_corner
 

Definition at line 1521 of file objects.c.

References expand_min_and_max_points(), FALSE, get_next_object_traverse(), get_object_points(), get_range_points(), initialize_object_traverse(), and TRUE.

public text_struct* get_text_ptr object_struct object  ) 
 

Definition at line 274 of file objects.c.

References object_struct::object_type, object_struct::specific, and TEXT.

Referenced by delete_text_object(), get_text_colours(), get_text_name(), get_text_points(), input_object(), and output_object().

public BOOLEAN get_use_compressed_polygons_flag void   ) 
 

Definition at line 484 of file object_io.c.

References use_compressed_polygons().

public void hsl_to_rgb Real  h,
Real  sl,
Real  l,
Real *  r,
Real *  g,
Real *  b
 

Definition at line 732 of file colours.c.

Referenced by convert_colour_to_rgb(), and interpolate_colours().

public void initialize_lines lines_struct lines,
Colour  col
 

Definition at line 36 of file lines.c.

References lines_struct::bintree, lines_struct::colour_flag, lines_struct::colours, lines_struct::line_thickness, lines_struct::n_items, lines_struct::n_points, and ONE_COLOUR.

Referenced by create_histogram_line(), create_line_circle(), create_line_spline(), initialize_lines_with_size(), intersect_planes_with_polygons(), intersect_planes_with_quadmesh(), and io_lines().

public void initialize_lines_with_size lines_struct lines,
Colour  col,
int  size,
BOOLEAN  closed
 

Definition at line 52 of file lines.c.

References lines_struct::end_indices, lines_struct::indices, initialize_lines(), lines_struct::n_items, lines_struct::n_points, and lines_struct::points.

public void initialize_marker marker_struct marker,
Marker_types  type,
Colour  colour
 

Definition at line 36 of file markers.c.

References marker_struct::colour, marker_struct::label, marker_struct::patient_id, marker_struct::size, marker_struct::structure_id, and marker_struct::type.

public void initialize_model model_struct model  ) 
 

Definition at line 35 of file Objects/models.c.

References model_struct::extra_ptr, model_struct::filename, and model_struct::n_objects.

public void initialize_object_traverse object_traverse_struct object_traverse,
BOOLEAN  visible_ones_only,
int  n_objects,
object_struct object_list[]
 

Definition at line 1365 of file objects.c.

References get_object_visibility(), object_stack_struct::index, MAX_OBJECT_TRAVERSE, object_stack_struct::n_objects, object_traverse_struct::n_stack_alloced, object_stack_struct::object_list, push_object_stack(), object_traverse_struct::stack, object_traverse_struct::static_stack, object_traverse_struct::top_of_stack, and object_traverse_struct::visible_ones_only.

Referenced by get_range_of_object(), reverse_object_normals(), and scan_object_to_volume().

public void initialize_pixels pixels_struct pixels,
int  x_position,
int  y_position,
int  x_size,
int  y_size,
Real  x_zoom,
Real  y_zoom,
Pixel_types  pixel_type
 

Definition at line 43 of file pixels.c.

References modify_pixels_size(), pixels_struct::pixel_type, pixels_struct::x_position, pixels_struct::x_size, pixels_struct::x_zoom, pixels_struct::y_position, pixels_struct::y_size, and pixels_struct::y_zoom.

Referenced by convert_index8_to_pixels24(), convert_pixels24_to_dithered(), convert_pixels24_to_gray_scale(), convert_pixels24_to_index8(), convert_pixels24_to_pixels8(), copy_pixel_region(), crop_pixels(), and input_rgb_file().

public void initialize_text text_struct text,
Point *  position,
Colour  colour,
Font_types  text_font,
Real  size
 

Definition at line 38 of file text.c.

References text_struct::colour, text_struct::font, text_struct::origin, text_struct::size, and text_struct::string.

public Status input_graphics_file STRING  filename,
File_formats *  format,
int *  n_objects,
object_struct ***  object_list
 

Definition at line 37 of file graphics_io.c.

References add_object_to_list(), and input_object().

Referenced by add_deformation_model(), input_object(), input_objects_any_format(), and input_original_positions().

public Status input_landmark_file Volume  volume,
STRING  filename,
Colour  colour,
Real  size,
Marker_types  type,
int *  n_objects,
object_struct **  object_list[]
 

Definition at line 59 of file landmark_file.c.

References add_object_to_list(), marker_struct::colour, create_object(), get_default_landmark_file_suffix(), get_marker_ptr(), io_tag_point(), MARKER, and marker_struct::type.

Referenced by input_objects_any_format().

public Status input_object STRING  directory,
FILE *  file,
File_formats *  format,
object_struct **  object,
BOOLEAN *  eof
 

Definition at line 1507 of file object_io.c.

References create_object(), model_struct::filename, get_lines_ptr(), get_marker_ptr(), get_model_ptr(), get_pixels_ptr(), get_polygons_ptr(), get_quadmesh_ptr(), get_text_ptr(), input_graphics_file(), input_object_type(), io_lines(), io_marker(), io_model(), io_pixels(), io_polygons(), io_quadmesh(), io_text(), LINES, MARKER, MODEL, model_struct::n_objects, Object_types, model_struct::objects, PIXELS, POLYGONS, QUADMESH, and TEXT.

Referenced by input_graphics_file().

public Status input_object_type FILE *  file,
Object_types type,
File_formats *  format,
BOOLEAN *  eof
 

Definition at line 1244 of file object_io.c.

References FALSE, LINES, MARKER, MODEL, PIXELS, POLYGONS, QUADMESH, TEXT, and TRUE.

Referenced by input_object().

public Status input_objects_any_format Volume  volume,
STRING  filename,
Colour  marker_colour,
Real  marker_size,
Marker_types  marker_type,
int *  n_objects,
object_struct **  object_list[]
 

Definition at line 140 of file graphics_io.c.

References get_default_landmark_file_suffix(), input_graphics_file(), input_landmark_file(), and input_tag_objects_file().

public Status input_tag_objects_file STRING  filename,
Colour  marker_colour,
Real  default_size,
Marker_types  default_type,
int *  n_objects,
object_struct **  object_list[]
 

Definition at line 39 of file tag_objects.c.

References add_object_to_list(), marker_struct::colour, create_object(), get_marker_ptr(), marker_struct::label, MARKER, marker_struct::patient_id, marker_struct::position, marker_struct::size, marker_struct::structure_id, and marker_struct::type.

Referenced by input_objects_any_format().

public Status input_texture_values STRING  filename,
int *  n_values,
Real *  values[]
 

Read a set of real values from file.

Reading a BINARY_FORMAT file that was created on another system will produce undefined behaviour.

Definition at line 166 of file texture_values.c.

References input_texture_values_ascii(), and input_texture_values_binary().

public void insert_object_in_model model_struct model,
object_struct new_object,
int  obj_index
 

Definition at line 257 of file Objects/models.c.

References model_struct::n_objects, and model_struct::objects.

public Status io_colour FILE *  file,
IO_types  io_flag,
File_formats  format,
Colour *  colour
 

Definition at line 876 of file object_io.c.

Referenced by io_colours(), io_marker(), and io_text().

public Status io_colours FILE *  file,
IO_types  io_flag,
File_formats  format,
Colour_flags colour_flag,
int  n_items,
int  n_points,
Colour **  colours
 

Definition at line 953 of file object_io.c.

References io_colour(), ONE_COLOUR, PER_ITEM_COLOURS, and PER_VERTEX_COLOURS.

Referenced by io_lines(), io_polygons(), and io_quadmesh().

public Status io_lines FILE *  file,
IO_types  io_flag,
File_formats  format,
lines_struct lines
 

Definition at line 210 of file object_io.c.

References lines_struct::colour_flag, lines_struct::colours, lines_struct::end_indices, lines_struct::indices, initialize_lines(), io_colours(), io_end_indices(), io_line_thickness(), io_object_type(), io_points(), lines_struct::line_thickness, LINES, lines_struct::n_items, lines_struct::n_points, NUMBER_INDICES, lines_struct::points, and WHITE.

Referenced by input_object(), and output_object().

public Status io_marker FILE *  file,
IO_types  io_flag,
File_formats  format,
marker_struct marker
 

Definition at line 302 of file object_io.c.

References marker_struct::colour, io_colour(), io_object_type(), io_point(), marker_struct::label, MARKER, marker_struct::patient_id, marker_struct::position, marker_struct::size, marker_struct::structure_id, and marker_struct::type.

Referenced by input_object(), and output_object().

public Status io_model FILE *  file,
IO_types  io_flag,
File_formats  format,
model_struct model
 

Definition at line 359 of file object_io.c.

References model_struct::filename, io_object_type(), and MODEL.

Referenced by input_object(), and output_object().

public Status io_object_type FILE *  file,
IO_types  io_flag,
File_formats  format,
Object_types  type
 

Definition at line 1186 of file object_io.c.

References LINES, MARKER, MODEL, PIXELS, POLYGONS, QUADMESH, and TEXT.

Referenced by io_lines(), io_marker(), io_model(), io_pixels(), io_polygons(), io_quadmesh(), and io_text().

public Status io_pixel_colour FILE *  file,
IO_types  io_flag,
File_formats  format,
Colour *  pixel_colour
 

Definition at line 1418 of file object_io.c.

Referenced by io_pixel_colours().

public Status io_pixel_colours FILE *  file,
IO_types  io_flag,
File_formats  format,
int  n,
Colour *  pixel_colours[]
 

Definition at line 1317 of file object_io.c.

References BUFFER_SIZE, io_pixel_colour(), and PIXELS_PER_LINE.

Referenced by io_pixels().

public Status io_pixels FILE *  file,
IO_types  io_flag,
File_formats  format,
pixels_struct pixels
 

Definition at line 394 of file object_io.c.

References COLOUR_INDEX_16BIT_PIXEL, COLOUR_INDEX_8BIT_PIXEL, pixels_struct::data, io_object_type(), io_pixel_colours(), pixels_struct::pixel_type, PIXELS, RGB_PIXEL, pixels_struct::x_position, pixels_struct::x_size, pixels_struct::x_zoom, pixels_struct::y_position, pixels_struct::y_size, and pixels_struct::y_zoom.

Referenced by input_object(), and output_object().

public Status io_point FILE *  file,
IO_types  io_flag,
File_formats  format,
Point *  point
 

Definition at line 787 of file object_io.c.

Referenced by io_marker(), io_points(), io_tag_point(), and io_text().

public Status io_polygons FILE *  file,
IO_types  io_flag,
File_formats  format,
polygons_struct polygons
 

Definition at line 505 of file object_io.c.

References polygons_struct::colour_flag, polygons_struct::colours, compute_polygon_normals(), create_tetrahedral_sphere(), polygons_struct::end_indices, FALSE, polygons_struct::indices, initialize_polygons(), io_colours(), io_end_indices(), io_object_type(), io_points(), io_surfprop(), io_vectors(), is_this_tetrahedral_topology(), polygons_struct::line_thickness, polygons_struct::n_items, polygons_struct::n_points, polygons_struct::normals, NUMBER_INDICES, polygons_struct::points, POLYGONS, polygons_struct::surfprop, TRUE, use_compressed_polygons(), and WHITE.

Referenced by input_object(), and output_object().

public Status io_quadmesh FILE *  file,
IO_types  io_flag,
File_formats  format,
quadmesh_struct quadmesh
 

Read or write quadmesh structure.

Parameters:
io_flag one of READ_FILE or WRITE_FILE
format one of ASCII_FORMAT or BINARY_FORMAT

Definition at line 654 of file object_io.c.

References quadmesh_struct::colour_flag, quadmesh_struct::colours, initialize_quadmesh(), io_colours(), io_object_type(), io_points(), io_surfprop(), io_vectors(), quadmesh_struct::m, quadmesh_struct::m_closed, quadmesh_struct::n, quadmesh_struct::n_closed, quadmesh_struct::normals, quadmesh_struct::points, QUADMESH, quadmesh_struct::surfprop, and WHITE.

Referenced by input_object(), and output_object().

public Status io_surfprop FILE *  file,
IO_types  io_flag,
File_formats  format,
Surfprop *  surfprop
 

Definition at line 1014 of file object_io.c.

Referenced by io_polygons(), and io_quadmesh().

public Status io_tag_point FILE *  file,
IO_types  io_direction,
Volume  volume,
Real  size,
marker_struct marker
 

Definition at line 114 of file landmark_file.c.

References BOX_MARKER, marker_struct::colour, convert_talairach_to_voxel(), convert_voxel_to_talairach(), io_point(), marker_struct::label, marker_struct::patient_id, marker_struct::position, marker_struct::size, marker_struct::structure_id, marker_struct::type, WHITE, and y.

Referenced by input_landmark_file(), and input_landmarks_as_labels().

public Status io_text FILE *  file,
IO_types  io_flag,
File_formats  format,
text_struct text
 

Definition at line 740 of file object_io.c.

References text_struct::colour, text_struct::font, io_colour(), io_object_type(), io_point(), text_struct::origin, text_struct::size, text_struct::string, and TEXT.

Referenced by input_object(), and output_object().

public Status io_vector FILE *  file,
IO_types  io_flag,
File_formats  format,
Vector *  v
 

Definition at line 832 of file object_io.c.

Referenced by io_vectors().

public BOOLEAN lookup_colour STRING  colour_name,
Colour *  col
 

Definition at line 526 of file colours.c.

References check_initialize_colours(), colours_struct::colour, colour_lookup, FALSE, strings_equivalent(), and TRUE.

Referenced by convert_string_to_colour().

public BOOLEAN lookup_colour_name Colour  col,
STRING *  colour_name
 

Definition at line 564 of file colours.c.

References check_initialize_colours(), colours_struct::colour, colour_lookup, FALSE, and TRUE.

Referenced by convert_colour_to_string().

public void modify_pixels_size int *  n_pixels_alloced,
pixels_struct pixels,
int  x_size,
int  y_size,
Pixel_types  pixel_type
 

Definition at line 122 of file pixels.c.

References COLOUR_INDEX_16BIT_PIXEL, COLOUR_INDEX_8BIT_PIXEL, pixels_struct::data, delete_pixels(), pixels_struct::pixel_type, RGB_PIXEL, pixels_struct::x_size, and pixels_struct::y_size.

Referenced by create_volume_slice(), initialize_pixels(), set_pixel_range(), and set_volume_slice_pixel_range().

public BOOLEAN objects_are_same_topology int  n_points1,
int  n_items1,
int *  end_indices1,
int *  indices1,
int  n_points2,
int  n_items2,
int *  end_indices2,
int *  indices2
 

Definition at line 1758 of file objects.c.

References FALSE, and TRUE.

Referenced by polygons_are_same_topology().

public Status output_graphics_file STRING  filename,
File_formats  format,
int  n_objects,
object_struct object_list[]
 

Definition at line 93 of file graphics_io.c.

References output_object().

Referenced by create_lsq_hypersurface_float().

public Status output_object FILE *  file,
File_formats  format,
object_struct object
 

Definition at line 1601 of file object_io.c.

References get_lines_ptr(), get_marker_ptr(), get_model_ptr(), get_pixels_ptr(), get_polygons_ptr(), get_quadmesh_ptr(), get_text_ptr(), io_lines(), io_marker(), io_model(), io_pixels(), io_polygons(), io_quadmesh(), io_text(), LINES, MARKER, MODEL, object_struct::object_type, PIXELS, POLYGONS, QUADMESH, and TEXT.

Referenced by output_graphics_file().

public Status output_texture_values STRING  filename,
File_formats  format,
int  n_values,
Real  values[]
 

Write a set of real values to file.

The file will be created, if necessary. BINARY_FORMAT files will not be portable.

Definition at line 144 of file texture_values.c.

References output_texture_values_ascii(), and output_texture_values_binary().

public void remove_ith_object_from_model model_struct model,
int  obj_index
 

Definition at line 286 of file Objects/models.c.

References model_struct::n_objects, model_struct::objects, and remove_object_from_list().

Referenced by remove_object_from_model().

public void remove_object_from_list int *  n_objects,
object_struct **  object_list[],
int  obj_index
 

Definition at line 153 of file Objects/models.c.

Referenced by remove_ith_object_from_model().

public void remove_object_from_model model_struct model,
object_struct object
 

Definition at line 307 of file Objects/models.c.

References find_object_index_in_model(), and remove_ith_object_from_model().

public void resample_pixels pixels_struct pixels,
Transform_2d *  transform,
int  n_samples,
pixels_struct new_pixels,
Colour  background_colour
 

Definition at line 456 of file pixels.c.

References get_inverse_transform_2d(), PIXEL_RGB_COLOUR, pixels_struct::pixel_type, RGB_PIXEL, transform_point_2d(), pixels_struct::x_size, y, and pixels_struct::y_size.

public void reverse_object_normals object_struct object  ) 
 

Definition at line 1575 of file objects.c.

References FALSE, get_next_object_traverse(), get_object_normals(), initialize_object_traverse(), and reverse_vectors().

public void rgb_to_hsl Real  r,
Real  g,
Real  b,
Real *  h,
Real *  s,
Real *  l
 

Definition at line 653 of file colours.c.

References check_initialize_colours().

Referenced by convert_colour_to_hsl(), and interpolate_colours().

public Colour scale_colour Colour  colour,
Real  factor
 

Definition at line 1043 of file colours.c.

public void separate_object_points int *  new_n_points,
Point *  points[],
int  n_indices,
int  indices[],
Colour_flags  colour_flag,
Colour *  colours[]
 

Definition at line 154 of file coalesce.c.

References PER_VERTEX_COLOURS.

public void set_bintree_delete_function void(*  func)(bintree_struct_ptr *)  ) 
 

Definition at line 227 of file lines.c.

Referenced by check_install_bintree_delete_function().

public void set_object_colour object_struct object,
Colour  col
 

Definition at line 1643 of file objects.c.

References Colour_flags, get_object_colours(), ONE_COLOUR, and set_object_colours().

public void set_object_colours object_struct object,
Colour  colours[]
 

Definition at line 1276 of file objects.c.

References object_struct::object_type, and object_functions_list::set_colours_function.

Referenced by set_object_colour().

public void set_object_surfprop object_struct object,
Surfprop *  spr
 

Definition at line 1681 of file objects.c.

References get_object_surfprop().

public void set_object_visibility object_struct object,
BOOLEAN  visibility
 

Definition at line 104 of file objects.c.

References object_struct::visibility.

public void set_use_compressed_polygons_flag BOOLEAN  value  ) 
 

Definition at line 477 of file object_io.c.

References TRUE.

public void start_new_line lines_struct lines  ) 
 

Definition at line 125 of file lines.c.

References lines_struct::end_indices, lines_struct::n_items, and NUMBER_INDICES.

Referenced by add_point_to_line(), create_line_spline(), intersect_planes_with_polygons(), and intersect_planes_with_quadmesh().

public void terminate_object_traverse object_traverse_struct object_traverse  ) 
 

Definition at line 1499 of file objects.c.

References object_traverse_struct::alloced_stack, MAX_OBJECT_TRAVERSE, and object_traverse_struct::n_stack_alloced.

Referenced by get_next_object_traverse().


Generated on Wed Jul 28 09:11:12 2004 for BICPL by doxygen 1.3.7