mantaflow
0.10
A framework for fluid simulation
|
Base clas for all painters that require access to a locked PbClass. More...
#include <painter.h>
Public Member Functions | |
LockedObjPainter (QWidget *par=0) | |
void | doEvent (int e, int param=0) |
Public Member Functions inherited from Manta::Painter | |
Painter (QWidget *par=0) | |
virtual std::string | clickLine (const Vec3 &p0, const Vec3 &p1) |
virtual void | attachWidget (QLayout *layout) |
Protected Member Functions | |
void | nextObject () |
virtual std::string | getID ()=0 |
virtual void | update ()=0 |
virtual void | processKeyEvent (PainterEvent e, int param)=0 |
Protected Attributes | |
bool | mRequestUpdate |
PbClass * | mObject |
int | mObjIndex |
Additional Inherited Members | |
Public Types inherited from Manta::Painter | |
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 inherited from Manta::Painter | |
virtual void | paint ()=0 |
Signals inherited from Manta::Painter | |
void | setViewport (const Vec3i &gridsize) |
Base clas for all painters that require access to a locked PbClass.
Derived classes have to implement paint, update, getID, processKeyEvent. doEvent is handled in this class