BRL-CAD
Loading...
Searching...
No Matches

#include <geom.h>

Collaboration diagram for rt_bot_internal:
[legend]

Data Fields

uint32_t magic
 
unsigned char mode
 
unsigned char orientation
 
unsigned char bot_flags
 flags, (indicates surface normals available, for example)
 
size_t num_faces
 
int * faces
 array of ints for faces [num_faces*3]
 
size_t num_vertices
 
fastf_tvertices
 array of floats for vertices [num_vertices*3]
 
fastf_tthickness
 array of plate mode thicknesses (corresponds to array of faces) NULL for modes RT_BOT_SURFACE and RT_BOT_SOLID.
 
struct bu_bitvface_mode
 a flag for each face indicating thickness is appended to hit point in ray direction (if bit is set), otherwise thickness is centered about hit point (NULL for modes RT_BOT_SURFACE and RT_BOT_SOLID).
 
size_t num_normals
 
fastf_tnormals
 array of unit surface normals [num_normals*3]
 
size_t num_face_normals
 current size of the face_normals array below (number of faces in the array)
 
int * face_normals
 array of indices into the "normals" array, one per face vertex [num_face_normals*3]
 
size_t num_uvs
 current size of the vertex uv mappings (corresponds to number of vertices)
 
fastf_tuvs
 array of floats for uv texturing coordinates [num_uvs*3]
 
size_t num_face_uvs
 current size of the face_uvs array below (number of faces in the array)
 
int * face_uvs
 array of indices into the "uvs" array, one per face vertex [num_uvs*3]
 
voidtie
 

Detailed Description

Definition at line 792 of file geom.h.

Field Documentation

◆ magic

uint32_t magic

Definition at line 794 of file geom.h.

◆ mode

unsigned char mode

Definition at line 795 of file geom.h.

◆ orientation

unsigned char orientation

Definition at line 796 of file geom.h.

◆ bot_flags

unsigned char bot_flags

flags, (indicates surface normals available, for example)

Definition at line 797 of file geom.h.

◆ num_faces

size_t num_faces

Definition at line 801 of file geom.h.

◆ faces

int* faces

array of ints for faces [num_faces*3]

Definition at line 802 of file geom.h.

◆ num_vertices

size_t num_vertices

Definition at line 806 of file geom.h.

◆ vertices

fastf_t* vertices

array of floats for vertices [num_vertices*3]

Definition at line 807 of file geom.h.

◆ thickness

fastf_t* thickness

array of plate mode thicknesses (corresponds to array of faces) NULL for modes RT_BOT_SURFACE and RT_BOT_SOLID.

Definition at line 811 of file geom.h.

◆ face_mode

struct bu_bitv* face_mode

a flag for each face indicating thickness is appended to hit point in ray direction (if bit is set), otherwise thickness is centered about hit point (NULL for modes RT_BOT_SURFACE and RT_BOT_SOLID).

Definition at line 816 of file geom.h.

◆ num_normals

size_t num_normals

Definition at line 825 of file geom.h.

◆ normals

fastf_t* normals

array of unit surface normals [num_normals*3]

Definition at line 826 of file geom.h.

◆ num_face_normals

size_t num_face_normals

current size of the face_normals array below (number of faces in the array)

Definition at line 830 of file geom.h.

◆ face_normals

int* face_normals

array of indices into the "normals" array, one per face vertex [num_face_normals*3]

Definition at line 834 of file geom.h.

◆ num_uvs

size_t num_uvs

current size of the vertex uv mappings (corresponds to number of vertices)

Definition at line 839 of file geom.h.

◆ uvs

fastf_t* uvs

array of floats for uv texturing coordinates [num_uvs*3]

Definition at line 843 of file geom.h.

◆ num_face_uvs

size_t num_face_uvs

current size of the face_uvs array below (number of faces in the array)

Definition at line 847 of file geom.h.

◆ face_uvs

int* face_uvs

array of indices into the "uvs" array, one per face vertex [num_uvs*3]

Definition at line 851 of file geom.h.

◆ tie

void* tie

Definition at line 855 of file geom.h.


The documentation for this struct was generated from the following file: