BRL-CAD

This structure is the only parameter to rt_shootray() and holds information about how the ray-casting should be performed. More...

Collaboration diagram for The Application Structure:

Files

file  application.h
 

Data Structures

struct  application
 
struct  application_bundle
 

Macros

#define RT_APPLICATION_NULL   ((struct application *)0)
 
#define RT_AFN_NULL   ((int (*)(struct application *, struct partition *, struct region *, struct region *, struct partition *))NULL)
 
#define RT_CK_AP(_p)   BU_CKMAG(_p, RT_AP_MAGIC, "struct application")
 
#define RT_CK_APPLICATION(_p)   BU_CKMAG(_p, RT_AP_MAGIC, "struct application")
 
#define RT_APPLICATION_INIT(_p)
 
#define RT_AP_CHECK(_ap)
 

Detailed Description

This structure is the only parameter to rt_shootray() and holds information about how the ray-casting should be performed.

Macro Definition Documentation

◆ RT_APPLICATION_NULL

#define RT_APPLICATION_NULL   ((struct application *)0)

Definition at line 190 of file application.h.

◆ RT_AFN_NULL

#define RT_AFN_NULL   ((int (*)(struct application *, struct partition *, struct region *, struct region *, struct partition *))NULL)

Definition at line 191 of file application.h.

◆ RT_CK_AP

#define RT_CK_AP (   _p)    BU_CKMAG(_p, RT_AP_MAGIC, "struct application")

Definition at line 192 of file application.h.

◆ RT_CK_APPLICATION

#define RT_CK_APPLICATION (   _p)    BU_CKMAG(_p, RT_AP_MAGIC, "struct application")

Definition at line 193 of file application.h.

◆ RT_APPLICATION_INIT

#define RT_APPLICATION_INIT (   _p)
Value:
{ \
memset((char *)(_p), 0, sizeof(struct application)); \
(_p)->a_magic = RT_AP_MAGIC; \
}
#define RT_AP_MAGIC
Definition: magic.h:168

Definition at line 194 of file application.h.

◆ RT_AP_CHECK

#define RT_AP_CHECK (   _ap)
Value:
{if ((_ap)->a_zero1||(_ap)->a_zero2) \
bu_bomb("corrupt application struct"); }

Definition at line 203 of file application.h.