23 void Push(
double r,
double g,
double b,
double a=1.0 )
31 glColor4f( col.
r, col.
g, col.
b, col.
a );
37 PRINT_WARN1(
"Attempted to ColorStack.Pop() but ColorStack %p is empty",
43 glColor4f( old.
r, old.
g, old.
b, old.
a );
72 void RecordRay(
double x1,
double y1,
double x2,
double y2 );
123 virtual int handle(
int event );
124 void resize(
int X,
int Y,
int W,
int H);
127 double *wx,
double *wy,
double* wz );
141 void PushColor(
double r,
double g,
double b,
double a )
160 (fabs( camera.
pitch() ) < 0.1) ); }
The Stage library uses its own namespace.
std::list< Model * > models_sorted
void setDirtyBuffer(void)
virtual int handle(int event)
void createMenuItems(Fl_Menu_Bar *menu, std::string path)
Canvas(WorldGui *world, int x, int y, int width, int height)
PerspectiveCamera perspective_camera
void PushColor(Color col)
std::map< std::string, Option * > _custom_options
void FixViewport(int W, int H)
int screenshot_frame_skip
std::stack< Color > colorstack
void CanvasToWorld(int px, int py, double *wx, double *wy, double *wz)
void RemoveModel(Model *mod)
bool dirtyBuffer(void) const
void Push(double r, double g, double b, double a=1.0)
Model * getModel(int x, int y)
void AddModel(Model *mod)
static void perspectiveCb(Fl_Widget *w, void *p)
void Save(Worldfile *wf, int section)
void PushColor(double r, double g, double b, double a)
std::list< Model * > selected_models
void Load(Worldfile *wf, int section)
unsigned long frames_rendered_count
msec_t interval
(even if it is now unselected).
bool selected(Model *mod)
void resize(int X, int Y, int W, int H)
virtual void renderFrame()
#define PRINT_WARN1(m, a)
void RecordRay(double x1, double y1, double x2, double y2)
static void TimerCallback(Canvas *canvas)
void InvertView(uint32_t invertflags)
void unSelect(Model *mod)