NumeRe v1.1.4
NumeRe: Framework für Numerische Rechnungen
mglCanvasWX Class Reference
Inheritance diagram for mglCanvasWX:
Collaboration diagram for mglCanvasWX:

Public Member Functions

 mglCanvasWX ()
 
virtual ~mglCanvasWX ()
 
void Window (int argc, char **argv, int(*draw)(mglBase *gr, void *p), const char *title, void *par=NULL, void(*reload)(void *p)=NULL, bool maximize=false)
 Create a window for plotting. Now implemeted only for GLUT. More...
 
void ToggleAlpha ()
 Switch on/off transparency (do not overwrite switches in user drawing function) More...
 
void ToggleLight ()
 Switch on/off lighting (do not overwrite switches in user drawing function) More...
 
void ToggleRotate ()
 Switch on/off rotation by mouse. More...
 
void ToggleZoom ()
 Switch on/off zooming by mouse. More...
 
void ToggleNo ()
 Switch off all zooming and rotation. More...
 
void Update ()
 Update picture by calling user drawing function. More...
 
void Adjust ()
 Adjust size of bitmap to window size. More...
 
void GotoFrame (int d)
 Show arbitrary frame (use relative step) More...
 
void Animation ()
 Run animation (I'm too lasy to change it) More...
 

Public Attributes

int sshow
 Current state of animation switch (toggle button) More...
 
wxMGLWMGL
 Control which draw graphics. More...
 
wxWindow * Wnd
 Pointer to window. More...
 

Protected Member Functions

void MakeMenu ()
 Create menu, toolbar and popup menu. More...
 

Protected Attributes

wxScrolledWindow * scroll
 Scrolling area. More...
 
wxMenu * popup
 Popup menu. More...
 

Friends

class wxMGL
 

Detailed Description

Definition at line 52 of file wx.cpp.

Constructor & Destructor Documentation

◆ mglCanvasWX()

mglCanvasWX::mglCanvasWX ( )

◆ ~mglCanvasWX()

virtual mglCanvasWX::~mglCanvasWX ( )
virtual

Member Function Documentation

◆ Adjust()

void mglCanvasWX::Adjust ( )

Adjust size of bitmap to window size.

◆ Animation()

void mglCanvasWX::Animation ( )

Run animation (I'm too lasy to change it)

◆ GotoFrame()

void mglCanvasWX::GotoFrame ( int  d)

Show arbitrary frame (use relative step)

◆ MakeMenu()

void mglCanvasWX::MakeMenu ( )
protected

Create menu, toolbar and popup menu.

◆ ToggleAlpha()

void mglCanvasWX::ToggleAlpha ( )

Switch on/off transparency (do not overwrite switches in user drawing function)

◆ ToggleLight()

void mglCanvasWX::ToggleLight ( )

Switch on/off lighting (do not overwrite switches in user drawing function)

◆ ToggleNo()

void mglCanvasWX::ToggleNo ( )

Switch off all zooming and rotation.

◆ ToggleRotate()

void mglCanvasWX::ToggleRotate ( )

Switch on/off rotation by mouse.

◆ ToggleZoom()

void mglCanvasWX::ToggleZoom ( )

Switch on/off zooming by mouse.

◆ Update()

void mglCanvasWX::Update ( )

Update picture by calling user drawing function.

◆ Window()

void mglCanvasWX::Window ( int  argc,
char **  argv,
int(*)(mglBase *gr, void *p)  draw,
const char *  title,
void *  par = NULL,
void(*)(void *p)  reload = NULL,
bool  maximize = false 
)

Create a window for plotting. Now implemeted only for GLUT.

Friends And Related Function Documentation

◆ wxMGL

friend class wxMGL
friend

Definition at line 54 of file wx.cpp.

Member Data Documentation

◆ popup

wxMenu* mglCanvasWX::popup
protected

Popup menu.

Definition at line 80 of file wx.cpp.

◆ scroll

wxScrolledWindow* mglCanvasWX::scroll
protected

Scrolling area.

Definition at line 79 of file wx.cpp.

◆ sshow

int mglCanvasWX::sshow

Current state of animation switch (toggle button)

Definition at line 56 of file wx.cpp.

◆ WMGL

wxMGL* mglCanvasWX::WMGL

Control which draw graphics.

Definition at line 57 of file wx.cpp.

◆ Wnd

wxWindow* mglCanvasWX::Wnd

Pointer to window.

Definition at line 58 of file wx.cpp.


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