Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

control_frame.C File Reference

#include "geom/gl_view.H"
#include "mesh/lpatch.H"
#include "mesh/mi.H"
#include "std/config.H"
#include "control_frame.H"

Include dependency graph for control_frame.C:

Go to the source code of this file.

Functions

static CCOLOR orange_pencil_l (255.0/255, 204.0/255, 51.0/255)
static CCOLOR orange_pencil_m (255.0/255, 153.0/255, 11.0/255)
static CCOLOR orange_pencil_d (243.0/255, 102.0/255, 0.0/255)
Patchget_sub_patch (Patch *p, int k)
void get_cur_sub_faces (Patch *p, Bface *f, Bface_list &ret)
void draw_face (Bface *f)
void get_cur_sub_edges (Patch *p, Bedge *e, Bedge_list &ret)
void draw_edge (Bedge *e)
Patchget_patch (CBvert *v)
void get_cur_sub_vert (Patch *p, Bvert *v, Bvert_list &ret)

Variables

static bool debug = Config::get_var_bool("DEBUG_CONTROL_FRAME",false,true)
static const double SELECTED_SIMPLEX_ALPHA
static const GLfloat SELECTED_EDGE_WIDTH


Function Documentation

void draw_edge Bedge e  )  [inline]
 

Definition at line 248 of file control_frame.C.

References glVertex3dv(), Bvert::loc(), Bedge::v1(), and Bedge::v2().

Referenced by ControlFrameTexture::draw_selected_edges().

void draw_face Bface f  )  [inline]
 

Definition at line 188 of file control_frame.C.

References glVertex3dv(), Bvert::loc(), Bface::v1(), Bface::v2(), and Bface::v3().

Referenced by ControlFrameTexture::draw_selected_faces().

void get_cur_sub_edges Patch p,
Bedge e,
Bedge_list ret
[inline]
 

Definition at line 233 of file control_frame.C.

References Patch::ctrl_patch(), Bsimplex::mesh(), Bedge::patch(), and BMESH::rel_cur_level().

Referenced by ControlFrameTexture::draw_selected_edges().

void get_cur_sub_faces Patch p,
Bface f,
Bface_list ret
[inline]
 

Definition at line 173 of file control_frame.C.

References Patch::ctrl_patch(), Bsimplex::mesh(), Bface::patch(), and BMESH::rel_cur_level().

Referenced by ControlFrameTexture::draw_selected_faces().

void get_cur_sub_vert Patch p,
Bvert v,
Bvert_list ret
[inline]
 

Definition at line 301 of file control_frame.C.

References Patch::ctrl_patch(), get_patch(), Bsimplex::mesh(), and BMESH::rel_cur_level().

Referenced by ControlFrameTexture::draw_selected_verts().

Patch* get_patch CBvert v  )  [inline]
 

Definition at line 290 of file control_frame.C.

References Bvert::get_face(), and Bface::patch().

Referenced by PatchEdgeFilter::accept(), get_ctrl_patch(), get_cur_sub_vert(), VisRefImage::get_patch(), and get_patch().

Patch* get_sub_patch Patch p,
int  k
[inline]
 

Definition at line 103 of file control_frame.C.

Referenced by ControlFrameTexture::build_strip().

static CCOLOR orange_pencil_d 243.0/  255,
102.0/  255,
0.0/  255
[static]
 

static CCOLOR orange_pencil_l 255.0/  255,
204.0/  255,
51.0/  255
[static]
 

static CCOLOR orange_pencil_m 255.0/  255,
153.0/  255,
11.0/  255
[static]
 


Variable Documentation

bool debug = Config::get_var_bool("DEBUG_CONTROL_FRAME",false,true) [static]
 

Definition at line 10 of file control_frame.C.

const GLfloat SELECTED_EDGE_WIDTH [static]
 

Initial value:

 (GLfloat)
Config::get_var_dbl("SELECTED_EDGE_WIDTH",4)

Definition at line 15 of file control_frame.C.

Referenced by ControlFrameTexture::draw_selected_edges().

const double SELECTED_SIMPLEX_ALPHA [static]
 

Initial value:

Config::get_var_dbl("SELECTED_SIMPLEX_ALPHA",0.5)

Definition at line 12 of file control_frame.C.

Referenced by ControlFrameTexture::draw_selected_edges(), ControlFrameTexture::draw_selected_faces(), and ControlFrameTexture::draw_selected_verts().


Generated on Mon Sep 18 11:40:12 2006 for jot by  doxygen 1.4.4