mantaflow  0.10
A framework for fluid simulation
Public Types | Public Slots | Signals | Public Member Functions | Protected Attributes | List of all members
Manta::MainWnd Class Reference
Inheritance diagram for Manta::MainWnd:

Public Types

enum  EventType {
  EventFullUpdate = QEvent::User, EventGuiShow, EventStepUpdate, EventFinalUpdate,
  EventInstantKill, EventSet2DCam
}
 

Public Slots

void pause ()
 
void play ()
 
void step ()
 
void showHelp ()
 
void addControl (void *ctrl)
 
void screenshot (QString file)
 
void clickLine (QPoint pos, float p0, float p1, float p2, float q0, float q1, float q2)
 
void nextRealGrid ()
 
void nextVec3Grid ()
 
void nextMesh ()
 
void nextParts ()
 
void nextPdata ()
 
void nextVec3Display ()
 
void nextPartDisplay ()
 
void nextMeshDisplay ()
 
void toggleHideGrids ()
 
void setCamPos (float x, float y, float z)
 
void setCamRot (float x, float y, float z)
 
void windowSize (int w, int h)
 

Signals

void painterEvent (int e, int param=0)
 
void wakeMain ()
 
void setBackgroundMesh (Mesh *bgr)
 
void killMain ()
 
void exitApp ()
 

Public Member Functions

bool event (QEvent *e)
 
void keyPressEvent (QKeyEvent *e)
 
void keyReleaseEvent (QKeyEvent *e)
 
bool pauseRequest ()
 
bool closeRequest ()
 
void setPauseStatus (bool v)
 
void stepReset (bool fullUpdate)
 
void requestClose ()
 
void setStep (int f, float time)
 
void setBackground (Mesh *m)
 

Protected Attributes

bool mPaused
 
bool mRequestPause
 
bool mRequestClose
 
int mStep
 
GLWidgetmGlWidget
 
QAction * mAcPlay
 
QAction * mAcPause
 
std::vector< Painter * > mPainter
 
std::vector< CustomControl * > mCtrls
 
QLabel * mInfo
 
QVBoxLayout * mPainterLayout
 
QAction * mAcHelp
 
QGraphicsScene * mKbwScene
 
QGraphicsView * mKbwView
 
QGraphicsPixmapItem * mKbwPixmap
 
QMenu * mMenuBar
 

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