rtserver.h File Reference

header file for the rtserver More...

Go to the source code of this file.

Data Structures

struct  rtserver_job
struct  ray_hit
struct  ray_result
struct  rtserver_result
struct  rtserver_rti
struct  rtserver_geometry

Functions

void get_model_extents (int sessionid, point_t min, point_t max)
rtserver_resultrts_submit_job_and_wait (struct rtserver_job *ajob)
rtserver_resultrts_get_any_waiting_result (int sessionid)
rtserver_jobrts_get_rtserver_job ()
xrayrts_get_xray ()
int get_max_working_threads ()


Detailed Description

header file for the rtserver

Author:
: John R. Anderson
In order to use the rtserver, the BRL-CAD model must include an opaque binary object named "rtserver_data" This object must contain ASCII data consisting of lines of the form: assembly_name1 { object1 object2 object3 ...} key1 value1 key2 value2 ... Where assembly names are names of assemblies to be used for raytracing or articulation and the list of objects for each assembly specifies the BRL-CAD objects in that assembly. The assembly names do not need to be names of objects that already exist in the BRL-CAD model. At least one assembly named "rtserver_tops" must exist (this will be used for raytracing when no articulation is to be done. Each assembly must appear on its own line and must have at least one object in its list of objects. If the assembly name has embedded spaces, it must be surrounded by "{" and "}". Each line is a series of key/value pairs with the first key being the assembly name. optional keys are: key_pt - value is the center of rotation for this assembly xrotate - values are the rotation limits (max min initial) about the x-axis (degrees). Default is no rotation allowed yrotate - values are the rotation limits (max min initial) about the y-axis (degrees). Default is no rotation allowed zrotate - values are the rotation limits (max min initial) about the z-axis (degrees). Default is no rotation allowed xtranslate - values are the limits (max min) of translation along the x-axis (mm). Default is no translation allowed. ytranslate - values are the limits (max min) of translation along the y-axis (mm). Default is no translation allowed. ztranslate - values are the limits (max min) of translation along the z-axis (mm). Default is no translation allowed. children - values are other assemblies that are rigidly attached to this assembly (The children will move with their parent).

An empty value for the translation keys implies unlimited translation is allowed.

Definition in file rtserver.h.


Generated on Mon Sep 18 01:25:00 2006 for BRL-CAD by  doxygen 1.4.6