nmg_visit_handlers Struct Reference
[N-Manifold Geometry]

#include <nmg.h>


Public Member Functions

void bef_model NMG_ARGS ((long *, genptr_t, int))
void aft_model NMG_ARGS ((long *, genptr_t, int))
void bef_region NMG_ARGS ((long *, genptr_t, int))
void aft_region NMG_ARGS ((long *, genptr_t, int))
void vis_region_a NMG_ARGS ((long *, genptr_t, int))
void bef_shell NMG_ARGS ((long *, genptr_t, int))
void aft_shell NMG_ARGS ((long *, genptr_t, int))
void vis_shell_a NMG_ARGS ((long *, genptr_t, int))
void bef_faceuse NMG_ARGS ((long *, genptr_t, int))
void aft_faceuse NMG_ARGS ((long *, genptr_t, int))
void vis_face NMG_ARGS ((long *, genptr_t, int))
void vis_face_g NMG_ARGS ((long *, genptr_t, int))
void bef_loopuse NMG_ARGS ((long *, genptr_t, int))
void aft_loopuse NMG_ARGS ((long *, genptr_t, int))
void vis_loop NMG_ARGS ((long *, genptr_t, int))
void vis_loop_g NMG_ARGS ((long *, genptr_t, int))
void bef_edgeuse NMG_ARGS ((long *, genptr_t, int))
void aft_edgeuse NMG_ARGS ((long *, genptr_t, int))
void vis_edge NMG_ARGS ((long *, genptr_t, int))
void vis_edge_g NMG_ARGS ((long *, genptr_t, int))
void bef_vertexuse NMG_ARGS ((long *, genptr_t, int))
void aft_vertexuse NMG_ARGS ((long *, genptr_t, int))
void vis_vertexuse_a NMG_ARGS ((long *, genptr_t, int))
void vis_vertex NMG_ARGS ((long *, genptr_t, int))
void vis_vertex_g NMG_ARGS ((long *, genptr_t, int))


Detailed Description

Function table, for use with nmg_visit() Indended to have same generally the organization as nmg_struct_counts. The handler's args are long* to allow generic handlers to be written, in which case the magic number at long* specifies the object type.

The "vis_" prefix means the handler is visited only once. The "bef_" and "aft_" prefixes are called (respectively) before and after recursing into subsidiary structures. The 3rd arg is 0 for a "bef_" call, and 1 for an "aft_" call, to allow generic handlers to be written, if desired.

Definition at line 825 of file nmg.h.


Member Function Documentation

void bef_model NMG_ARGS (long *, genptr_t, int)   ) 
 

void aft_model NMG_ARGS (long *, genptr_t, int)   ) 
 

void bef_region NMG_ARGS (long *, genptr_t, int)   ) 
 

void aft_region NMG_ARGS (long *, genptr_t, int)   ) 
 

void vis_region_a NMG_ARGS (long *, genptr_t, int)   ) 
 

void bef_shell NMG_ARGS (long *, genptr_t, int)   ) 
 

void aft_shell NMG_ARGS (long *, genptr_t, int)   ) 
 

void vis_shell_a NMG_ARGS (long *, genptr_t, int)   ) 
 

void bef_faceuse NMG_ARGS (long *, genptr_t, int)   ) 
 

void aft_faceuse NMG_ARGS (long *, genptr_t, int)   ) 
 

void vis_face NMG_ARGS (long *, genptr_t, int)   ) 
 

void vis_face_g NMG_ARGS (long *, genptr_t, int)   ) 
 

void bef_loopuse NMG_ARGS (long *, genptr_t, int)   ) 
 

void aft_loopuse NMG_ARGS (long *, genptr_t, int)   ) 
 

void vis_loop NMG_ARGS (long *, genptr_t, int)   ) 
 

void vis_loop_g NMG_ARGS (long *, genptr_t, int)   ) 
 

void bef_edgeuse NMG_ARGS (long *, genptr_t, int)   ) 
 

void aft_edgeuse NMG_ARGS (long *, genptr_t, int)   ) 
 

void vis_edge NMG_ARGS (long *, genptr_t, int)   ) 
 

void vis_edge_g NMG_ARGS (long *, genptr_t, int)   ) 
 

void bef_vertexuse NMG_ARGS (long *, genptr_t, int)   ) 
 

void aft_vertexuse NMG_ARGS (long *, genptr_t, int)   ) 
 

void vis_vertexuse_a NMG_ARGS (long *, genptr_t, int)   ) 
 

void vis_vertex NMG_ARGS (long *, genptr_t, int)   ) 
 

void vis_vertex_g NMG_ARGS (long *, genptr_t, int)   ) 
 


The documentation for this struct was generated from the following file:
Generated on Mon Sep 18 01:25:13 2006 for BRL-CAD by  doxygen 1.4.6