mantaflow
0.10
A framework for fluid simulation
|
Base class for all painter. More...
#include <painter.h>
Public Types | |
enum | PainterEvent { EventNone = 0, UpdateRequest, UpdateFull, UpdateStep, EventScaleVecUpSm, EventScaleVecDownSm, EventScaleVecUp, EventScaleVecDown, EventNextRealDisplayMode, EventScaleRealUp, EventScaleRealDown, EventScaleRealUpSm, EventScaleRealDownSm, EventChangePlane, EventSetPlane, EventSetDim, EventNextInt, EventNextReal, EventNextVec, EventNextVecDisplayMode, EventNextMesh, EventMeshMode, EventToggleGridDisplay, EventScaleMeshUp, EventScaleMeshDown, EventMeshColorMode, EventNextSystem, EventToggleParticles, EventNextParticleDisplayMode, EventToggleBackgroundMesh, EventSetMax, EventScalePdataDown, EventScalePdataUp } |
enum | RealDisplayModes { RealDispOff =0, RealDispStd, RealDispLevelset, RealDispShadeVol, RealDispShadeSurf, NumRealDispModes } |
display modes, note - 0=off,1=std are shared for real & vec grids! same semantics | |
enum | VecDisplayModes { VecDispOff =0, VecDispCentered, VecDispStaggered, VecDispUv, NumVecDispModes } |
Public Slots | |
virtual void | paint ()=0 |
virtual void | doEvent (int e, int param=0)=0 |
Signals | |
void | setViewport (const Vec3i &gridsize) |
Public Member Functions | |
Painter (QWidget *par=0) | |
virtual std::string | clickLine (const Vec3 &p0, const Vec3 &p1) |
virtual void | attachWidget (QLayout *layout) |
Base class for all painter.
Derived classes have to implement paint, doEvent