BRL-CAD
Collaboration diagram for Metaball:

Files

file  metaball.h
 

Data Structures

struct  rt_metaball_internal
 
struct  wdb_metaball_pnt
 

Macros

#define RT_METABALL_CK_MAGIC(_p)   BU_CKMAG(_p, RT_METABALL_INTERNAL_MAGIC, "rt_metaball_internal")
 
#define WDB_METABALLPT_TYPE_POINT   0x0
 
#define WDB_METABALLPT_TYPE_LINE   0x1
 
#define WDB_METABALL_PNT_NULL   ((struct wdb_metaball_pnt *)0)
 

Functions

void rt_vls_metaball_pnt (struct bu_vls *vp, const int pt_no, const struct rt_db_internal *ip, const double mm2local)
 
void rt_metaball_pnt_print (const struct wdb_metaball_pnt *metaball, double mm2local)
 
int rt_metaball_ck (const struct bu_list *headp)
 
fastf_t rt_metaball_point_value (const point_t *p, const struct rt_metaball_internal *mb)
 
int rt_metaball_point_inside (const point_t *p, const struct rt_metaball_internal *mb)
 
int rt_metaball_lookup_type_id (const char *name)
 
const char * rt_metaball_lookup_type_name (const int id)
 
int rt_metaball_add_point (struct rt_metaball_internal *, const point_t *loc, const fastf_t fldstr, const fastf_t goo)
 

Detailed Description

Macro Definition Documentation

◆ RT_METABALL_CK_MAGIC

#define RT_METABALL_CK_MAGIC (   _p)    BU_CKMAG(_p, RT_METABALL_INTERNAL_MAGIC, "rt_metaball_internal")

Definition at line 168 of file geom.h.

◆ WDB_METABALLPT_TYPE_POINT

#define WDB_METABALLPT_TYPE_POINT   0x0

Definition at line 177 of file geom.h.

◆ WDB_METABALLPT_TYPE_LINE

#define WDB_METABALLPT_TYPE_LINE   0x1

Definition at line 178 of file geom.h.

◆ WDB_METABALL_PNT_NULL

#define WDB_METABALL_PNT_NULL   ((struct wdb_metaball_pnt *)0)

Definition at line 179 of file geom.h.

Function Documentation

◆ rt_vls_metaball_pnt()

void rt_vls_metaball_pnt ( struct bu_vls vp,
const int  pt_no,
const struct rt_db_internal ip,
const double  mm2local 
)

◆ rt_metaball_pnt_print()

void rt_metaball_pnt_print ( const struct wdb_metaball_pnt metaball,
double  mm2local 
)

◆ rt_metaball_ck()

int rt_metaball_ck ( const struct bu_list headp)

◆ rt_metaball_point_value()

fastf_t rt_metaball_point_value ( const point_t p,
const struct rt_metaball_internal mb 
)

◆ rt_metaball_point_inside()

int rt_metaball_point_inside ( const point_t p,
const struct rt_metaball_internal mb 
)

◆ rt_metaball_lookup_type_id()

int rt_metaball_lookup_type_id ( const char *  name)

◆ rt_metaball_lookup_type_name()

const char * rt_metaball_lookup_type_name ( const int  id)

◆ rt_metaball_add_point()

int rt_metaball_add_point ( struct rt_metaball_internal ,
const point_t loc,
const fastf_t  fldstr,
const fastf_t  goo 
)