mantaflow  0.10
A framework for fluid simulation
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Manta::GridPainter< T > Class Template Reference

Painter object for int,Real,Vec3 grids. More...

#include <painter.h>

Inheritance diagram for Manta::GridPainter< T >:
Manta::LockedObjPainter Manta::Painter

Public Member Functions

 GridPainter (FlagGrid **flags=NULL, QWidget *par=0)
 
void paint ()
 
void attachWidget (QLayout *layout)
 
Grid< T > ** getGridPtr ()
 
int getPlane ()
 
int getDim ()
 
int getMax ()
 
virtual std::string clickLine (const Vec3 &p0, const Vec3 &p1)
 
template<>
string clickLine (const Vec3 &p0, const Vec3 &p1)
 
template<>
string clickLine (const Vec3 &p0, const Vec3 &p1)
 
template<>
string clickLine (const Vec3 &p0, const Vec3 &p1)
 
template<>
void paint ()
 
template<>
void paint ()
 
template<>
void paint ()
 
- 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)
 

Protected Member Functions

std::string getID ()
 
Real getScale ()
 
void setScale (Real v)
 
int getDispMode ()
 
void setDispMode (int dm)
 
void update ()
 
void updateText ()
 
void processKeyEvent (PainterEvent e, int param)
 
void processSpecificKeyEvent (PainterEvent e, int param)
 
template<>
string getID ()
 
template<>
string getID ()
 
template<>
string getID ()
 
template<>
void processSpecificKeyEvent (PainterEvent e, int param)
 
template<>
void processSpecificKeyEvent (PainterEvent e, int param)
 
template<>
void processSpecificKeyEvent (PainterEvent e, int param)
 
template<>
void updateText ()
 
template<>
void updateText ()
 
template<>
void updateText ()
 
- Protected Member Functions inherited from Manta::LockedObjPainter
void nextObject ()
 

Protected Attributes

Real mMaxVal
 
int mDim
 stats
 
int mPlane
 
int mMax
 
Grid< T > * mLocalGrid
 
FlagGrid ** mFlags
 currently selected grid
 
QLabel * mInfo
 flag grid (can influence display of selected grid)
 
bool mHide
 info string
 
bool mHideLocal
 hide all grids?
 
std::map< void *, int > mDispMode
 hide only this type?
 
std::map< std::pair< void *, int >, Real > mValScale
 display modes , for each object
 
- Protected Attributes inherited from Manta::LockedObjPainter
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
- Signals inherited from Manta::Painter
void setViewport (const Vec3i &gridsize)
 

Detailed Description

template<class T>
class Manta::GridPainter< T >

Painter object for int,Real,Vec3 grids.


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