mantaflow  0.10
A framework for fluid simulation
Public Types | Public Slots | Signals | Public Member Functions | List of all members
Manta::Painter Class Referenceabstract

Base class for all painter. More...

#include <painter.h>

Inheritance diagram for Manta::Painter:
Manta::LockedObjPainter Manta::GridPainter< int > Manta::GridPainter< T > Manta::MeshPainter Manta::ParticlePainter

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)
 

Detailed Description

Base class for all painter.

Derived classes have to implement paint, doEvent


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