mantaflow
0.10
A framework for fluid simulation
|
Painter object for Meshes. More...
#include <meshpainter.h>
Public Types | |
enum | DisplayMode { ModeTrans =0, ModeLines, ModePoints, ModeFlatShade, ModeInvisible, Num_DisplayModes } |
enum | BackgroundMode { BModeNormal =0, BModeTrans, BModeInvisible, Num_BackgroundModes } |
enum | VorticityMode { VModeFull =0, VModeSmoothed, VModeDiff, VModeSmoke, VModeTex, VModeNone, Num_VorticityModes } |
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 | |
void | setBackgroundMesh (Mesh *bgr) |
Public Slots inherited from Manta::Painter |
Public Member Functions | |
MeshPainter (QWidget *par=0) | |
void | paint () |
void | attachWidget (QLayout *layout) |
Public Member Functions inherited from Manta::LockedObjPainter | |
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) |
Protected Member Functions | |
std::string | getID () |
void | update () |
void | updateText () |
void | processKeyEvent (PainterEvent e, int param) |
void | processSpecificKeyEvent (PainterEvent e, int param) |
void | setupLights (bool specular) |
Protected Member Functions inherited from Manta::LockedObjPainter | |
void | nextObject () |
Protected Attributes | |
Real | mColorScale |
DisplayMode | mMode |
VorticityMode | mVorticityMode |
BackgroundMode | mBackgroundMode |
Mesh * | mLocalMesh |
Mesh * | mBackground |
QLabel * | mInfo |
bool | mHide |
Protected Attributes inherited from Manta::LockedObjPainter | |
bool | mRequestUpdate |
PbClass * | mObject |
int | mObjIndex |
Additional Inherited Members | |
Signals inherited from Manta::Painter | |
void | setViewport (const Vec3i &gridsize) |
Painter object for Meshes.