This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Defines | |
#define | MAX_FILENAME 240 |
#define | MAX_FILE_LINE 8092 |
#define | FALSE 0 |
#define | TRUE 1 |
#define | WARNING(code) {code;} |
#define | FATAL_ERROR(string) |
#define | MAX(a, b) (((a) > (b)) ? (a) : (b)) |
#define | MIN(a, b) (((a) < (b)) ? (a) : (b)) |
Typedefs | |
typedef double | Micron |
typedef double | Degrees |
Try to keep things out of here, unless they should be included in every single file.
This is a good place to put error reporting macros.
This is a bad place to put constants/misc. parameters for algorithms.
Definition in file globals.h.
#define FALSE 0 |
Definition at line 21 of file globals.h.
Referenced by QBSpline::get_edge_cps(), MeshInput::Node::Node(), MeshInput::read_bezier_edge_data(), MeshInput::read_bezier_triangle_data(), MeshInput::read_boundary_edge_data(), MeshInput::read_boundary_face_data(), MeshInput::read_boundary_vertex_data(), Visualization::write_jpeg(), Visualization::write_ppm(), and Visualization::write_tiff().
#define FATAL_ERROR | ( | string | ) |
Value:
do { \ std::cout << "[ FATAL ERROR ] " << string << std::endl; \ WARNING(assert(0 == #string)); /* abort if debugging */\ exit(-1); \ } while (0)
Definition at line 35 of file globals.h.
Referenced by CellComplex< Vertex, Edge, Face, Tuple >::add_face(), QBSpline::add_knot(), CellComplex< Vertex, Edge, Face, Tuple >::add_vertex(), CellComplex< Vertex, Edge, Face, Tuple >::delete_edge(), CellComplex< Vertex, Edge, Face, Tuple >::delete_face(), CellComplex< Vertex, Edge, Face, Tuple >::delete_vertex(), CellComplex< Vertex, Edge, Face, Tuple >::get_opposite_face(), CellComplex< Vertex, Edge, Face, Tuple >::get_tuple(), and Cleaner::read_cfg_file().
#define MAX | ( | a, | |||
b | ) | (((a) > (b)) ? (a) : (b)) |
#define MAX_FILE_LINE 8092 |
Definition at line 18 of file globals.h.
Referenced by MeshInput::read(), MeshInput::read_bezier_edge_data(), MeshInput::read_bezier_triangle_data(), MeshInput::read_boundary_edge_data(), MeshInput::read_boundary_face_data(), and MeshInput::read_boundary_vertex_data().
#define MAX_FILENAME 240 |
Definition at line 17 of file globals.h.
Referenced by MeshInput::read(), MeshOutput::write(), Visualization::write_jpeg(), Visualization::write_ppm(), and Visualization::write_tiff().
#define TRUE 1 |
Definition at line 24 of file globals.h.
Referenced by MeshOutput::bdry_face_to_file(), MeshOutput::bdry_vert_to_file(), MeshOutput::edge_to_file(), MeshOutput::ele_to_file(), QBSpline::get_edge_cps(), MeshOutput::node_to_file(), MeshInput::read_bezier_edge_data(), MeshInput::read_bezier_triangle_data(), MeshInput::read_boundary_edge_data(), MeshInput::read_boundary_face_data(), and MeshInput::read_boundary_vertex_data().
#define WARNING | ( | code | ) | {code;} |
Definition at line 31 of file globals.h.
Referenced by BezierMesh::clean_insert_edge_midpoint(), BezierMesh::debug_smooth(), BezierMesh::flip(), BezierMesh::smooth_edge(), and BezierMesh::smooth_point().