BRL-CAD
Loading...
Searching...
No Matches
prep.h File Reference
#include "common.h"
#include "vmath.h"
#include "bu/ptbl.h"
#include "rt/defines.h"
#include "rt/tree.h"
#include "rt/rt_instance.h"
Include dependency graph for prep.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  rt_reprep_obj_list
 

Functions

int rt_unprep (struct rt_i *rtip, struct rt_reprep_obj_list *objs)
 
int rt_reprep (struct rt_i *rtip, struct rt_reprep_obj_list *objs)
 
void rt_dynamic_add_solid (struct rt_i *rtip, struct soltab *stp)
 

Function Documentation

◆ rt_unprep()

int rt_unprep ( struct rt_i rtip,
struct rt_reprep_obj_list objs 
)
extern

◆ rt_reprep()

int rt_reprep ( struct rt_i rtip,
struct rt_reprep_obj_list objs 
)
extern

◆ rt_dynamic_add_solid()

void rt_dynamic_add_solid ( struct rt_i rtip,
struct soltab stp 
)
extern

Add a pre-prepped soltab into the rt_i space-partitioning structures.

The caller must have already:

  • allocated and initialised stp
  • set stp->st_bit = rtip->stats.nsolids++ (before calling ft_prep)
  • called ft_prep on stp

This function updates rti_Solids and inserts stp into rti_CutHead, hiding those internal rt_i details from callers.