rt_functab Struct Reference
[librt geometry, raytracing]

#include <raytrace.h>

Collaboration diagram for rt_functab:

Collaboration graph
[legend]

Public Member Functions

int ft_prep BU_ARGS ((struct soltab *, struct rt_db_internal *, struct rt_i *))
int ft_shot BU_ARGS ((struct soltab *, struct xray *, struct application *, struct seg *))
void ft_print BU_ARGS ((const struct soltab *))
void ft_norm BU_ARGS ((struct hit *, struct soltab *, struct xray *))
int ft_piece_shot BU_ARGS ((struct rt_piecestate *, struct rt_piecelist *, double, struct xray *, struct application *, struct seg *))
 used only for PLATE mode hits
void ft_piece_hitsegs BU_ARGS ((struct rt_piecestate *, struct seg *, struct application *))
 has resource
void ft_uv BU_ARGS ((struct application *, struct soltab *, struct hit *, struct uvcoord *))
void ft_curve BU_ARGS ((struct curvature *, struct hit *, struct soltab *))
int ft_classify BU_ARGS ((const struct soltab *, const vect_t, const vect_t, const struct bn_tol *))
void ft_free BU_ARGS ((struct soltab *))
int ft_plot BU_ARGS ((struct bu_list *, struct rt_db_internal *, const struct rt_tess_tol *, const struct bn_tol *))
void ft_vshot BU_ARGS ((struct soltab *[], struct xray *[], struct seg[], int, struct application *))
int ft_tessellate BU_ARGS ((struct nmgregion **, struct model *, struct rt_db_internal *, const struct rt_tess_tol *, const struct bn_tol *))
int ft_tnurb BU_ARGS ((struct nmgregion **, struct model *, struct rt_db_internal *, const struct bn_tol *))
int ft_import5 BU_ARGS ((struct rt_db_internal *, const struct bu_external *, const mat_t, const struct db_i *, struct resource *, const int minor_type))
int ft_export5 BU_ARGS ((struct bu_external *, const struct rt_db_internal *, double, const struct db_i *, struct resource *, const int minor_type))
int ft_import BU_ARGS ((struct rt_db_internal *, const struct bu_external *, const mat_t, const struct db_i *, struct resource *))
int ft_export BU_ARGS ((struct bu_external *, const struct rt_db_internal *, double, const struct db_i *, struct resource *))
void ft_ifree BU_ARGS ((struct rt_db_internal *, struct resource *))
int ft_describe BU_ARGS ((struct bu_vls *, const struct rt_db_internal *, int, double, struct resource *, struct db_i *))
int ft_xform BU_ARGS ((struct rt_db_internal *, const mat_t, struct rt_db_internal *, int, struct db_i *, struct resource *))
int ft_tclget BU_ARGS ((Tcl_Interp *, const struct rt_db_internal *, const char *item))
int ft_tcladjust BU_ARGS ((Tcl_Interp *, struct rt_db_internal *, int, char **, struct resource *))
int ft_tclform BU_ARGS ((const struct rt_functab *, Tcl_Interp *))
void ft_make BU_ARGS ((const struct rt_functab *, struct rt_db_internal *, double))

Data Fields

long magic
char ft_name [16]
char ft_label [8]
int ft_use_rpp
const struct bu_structparseft_parsetab
 rt_xxx_parse
size_t ft_internal_size
 sizeof(struct rt_xxx_internal)
unsigned long ft_internal_magic
 RT_XXX_INTERNAL_MAGIC.

Detailed Description

R T _ F U N C T A B

Object-oriented interface to BRL-CAD geometry.

These are the methods for a notional object class "brlcad_solid". The data for each instance is found separately in struct soltab. This table is indexed by ID_xxx value of particular solid found in st_id, or directly pointed at by st_meth.

This needs to be at the end of the raytrace.h header file, so that all the structure names are known. The "union record" and "struct nmgregion" pointers are problematic, so generic pointers are used when those header files have not yet been seen.

XXX On SGI, can not use identifiers in prototypes inside structure!

Definition at line 1988 of file raytrace.h.


Member Function Documentation

int ft_prep BU_ARGS (struct soltab *, struct rt_db_internal *, struct rt_i *)   ) 
 

int ft_shot BU_ARGS (struct soltab *, struct xray *, struct application *, struct seg *)   ) 
 

void ft_print BU_ARGS (const struct soltab *)   ) 
 

void ft_norm BU_ARGS (struct hit *, struct soltab *, struct xray *)   ) 
 

int ft_piece_shot BU_ARGS (struct rt_piecestate *, struct rt_piecelist *, double, struct xray *, struct application *, struct seg *)   ) 
 

used only for PLATE mode hits

void ft_piece_hitsegs BU_ARGS (struct rt_piecestate *, struct seg *, struct application *)   ) 
 

has resource

void ft_uv BU_ARGS (struct application *, struct soltab *, struct hit *, struct uvcoord *)   ) 
 

void ft_curve BU_ARGS (struct curvature *, struct hit *, struct soltab *)   ) 
 

int ft_classify BU_ARGS (const struct soltab *, const vect_t, const vect_t, const struct bn_tol *)   ) 
 

void ft_free BU_ARGS (struct soltab *)   ) 
 

int ft_plot BU_ARGS (struct bu_list *, struct rt_db_internal *, const struct rt_tess_tol *, const struct bn_tol *)   ) 
 

void ft_vshot BU_ARGS (struct soltab *[], struct xray *[], struct seg[], int, struct application *)   ) 
 

int ft_tessellate BU_ARGS (struct nmgregion **, struct model *, struct rt_db_internal *, const struct rt_tess_tol *, const struct bn_tol *)   ) 
 

int ft_tnurb BU_ARGS (struct nmgregion **, struct model *, struct rt_db_internal *, const struct bn_tol *)   ) 
 

int ft_import5 BU_ARGS (struct rt_db_internal *, const struct bu_external *, const mat_t, const struct db_i *, struct resource *, const int minor_type)   ) 
 

int ft_export5 BU_ARGS (struct bu_external *, const struct rt_db_internal *, double, const struct db_i *, struct resource *, const int minor_type)   ) 
 

int ft_import BU_ARGS (struct rt_db_internal *, const struct bu_external *, const mat_t, const struct db_i *, struct resource *)   ) 
 

int ft_export BU_ARGS (struct bu_external *, const struct rt_db_internal *, double, const struct db_i *, struct resource *)   ) 
 

void ft_ifree BU_ARGS (struct rt_db_internal *, struct resource *)   ) 
 

int ft_describe BU_ARGS (struct bu_vls *, const struct rt_db_internal *, int, double, struct resource *, struct db_i *)   ) 
 

int ft_xform BU_ARGS (struct rt_db_internal *, const mat_t, struct rt_db_internal *, int, struct db_i *, struct resource *)   ) 
 

int ft_tclget BU_ARGS (Tcl_Interp *, const struct rt_db_internal *, const char *item)   ) 
 

int ft_tcladjust BU_ARGS (Tcl_Interp *, struct rt_db_internal *, int, char **, struct resource *)   ) 
 

int ft_tclform BU_ARGS (const struct rt_functab *, Tcl_Interp *)   ) 
 

void ft_make BU_ARGS (const struct rt_functab *, struct rt_db_internal *, double)   ) 
 


Field Documentation

long magic
 

Definition at line 1989 of file raytrace.h.

Referenced by rt_get_functab_by_label().

char ft_name[16]
 

Definition at line 1990 of file raytrace.h.

Referenced by rt_submodel_wireframe_leaf().

char ft_label[8]
 

Definition at line 1991 of file raytrace.h.

Referenced by rt_get_functab_by_label(), rt_parsetab_tcladjust(), rt_parsetab_tclform(), and rt_parsetab_tclget().

int ft_use_rpp
 

Definition at line 1992 of file raytrace.h.

const struct bu_structparse* ft_parsetab
 

rt_xxx_parse

Definition at line 2082 of file raytrace.h.

Referenced by rt_parsetab_tcladjust(), rt_parsetab_tclform(), and rt_parsetab_tclget().

size_t ft_internal_size
 

sizeof(struct rt_xxx_internal)

Definition at line 2083 of file raytrace.h.

Referenced by rt_generic_make().

unsigned long ft_internal_magic
 

RT_XXX_INTERNAL_MAGIC.

Definition at line 2084 of file raytrace.h.

Referenced by rt_generic_make().


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