-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
jason
committed
Oct 19, 2001
1 parent
bb90cb7
commit 7c2a9cf
Showing
2 changed files
with
70 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
#ifndef DEF_mi_label_prototypes | ||
#define DEF_mi_label_prototypes | ||
|
||
public BOOLEAN get_label_lookup_var( | ||
int minc_id, | ||
int *label_var ); | ||
|
||
public BOOLEAN read_label_lookup( | ||
int minc_id, | ||
int *n_labels, | ||
int *values[], | ||
STRING *labels[] ); | ||
|
||
public BOOLEAN write_label_lookup( | ||
int minc_id, | ||
int n_labels, | ||
int values[], | ||
STRING labels[] ); | ||
|
||
public void add_label_to_list( | ||
int *n_labels, | ||
int *values[], | ||
STRING *labels[], | ||
int value_to_add, | ||
STRING label_to_add ); | ||
|
||
public BOOLEAN delete_label_from_list( | ||
int *n_labels, | ||
int *values[], | ||
STRING *labels[], | ||
int value_to_delete ); | ||
|
||
public BOOLEAN lookup_value_for_label( | ||
int n_labels, | ||
int values[], | ||
STRING labels[], | ||
STRING label, | ||
int *value ); | ||
|
||
public BOOLEAN lookup_label_for_value( | ||
int n_labels, | ||
int values[], | ||
STRING labels[], | ||
int value, | ||
STRING *label ); | ||
|
||
public void print_label( | ||
int value, | ||
STRING label ); | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#ifndef DEF_SPECIAL_GEOMETRY | ||
#define DEF_SPECIAL_GEOMETRY | ||
|
||
#include <bicpl.h> | ||
#include <interval.h> | ||
#include <tri_mesh.h> | ||
|
||
#ifndef public | ||
#define public extern | ||
#define public_was_defined_here | ||
#endif | ||
|
||
#include <sp_geom_prototypes.h> | ||
|
||
#ifdef public_was_defined_here | ||
#undef public | ||
#undef public_was_defined_here | ||
#endif | ||
|
||
#endif |