15 #ifndef _MESHPAINTER_H_ 16 #define _MESHPAINTER_H_ 28 enum DisplayMode { ModeTrans=0, ModeLines, ModePoints, ModeFlatShade, ModeInvisible, Num_DisplayModes };
29 enum BackgroundMode { BModeNormal=0, BModeTrans, BModeInvisible, Num_BackgroundModes };
30 enum VorticityMode { VModeFull=0, VModeSmoothed, VModeDiff, VModeSmoke, VModeTex, VModeNone, Num_VorticityModes };
36 void attachWidget(QLayout* layout);
39 void setBackgroundMesh(
Mesh* bgr);
45 void processKeyEvent(PainterEvent e,
int param);
46 void processSpecificKeyEvent(PainterEvent e,
int param);
47 void setupLights(
bool specular);
51 VorticityMode mVorticityMode;
52 BackgroundMode mBackgroundMode;
53 Mesh* mLocalMesh, *mBackground;
Definition: commonkernels.h:22
Base clas for all painters that require access to a locked PbClass.
Definition: painter.h:61
Triangle mesh class.
Definition: mesh.h:126
Painter object for Meshes.
Definition: meshpainter.h:25