VAPOR3 3.9.4
|
A Manip subclass for manipulators that stretch and translate. More...
#include <Manip.h>
Public Member Functions | |
TranslateStretchManip (GLManager *glManager) | |
virtual | ~TranslateStretchManip () |
virtual void | Render () |
Pure virtual function renders the geometry of the Manip. | |
virtual void | Update (std::vector< double > llc, std::vector< double > urc, std::vector< double > minExtents, std::vector< double > maxExtents, VAPoR::Transform *rpTransform, VAPoR::Transform *dmTransform, bool constrain) |
virtual bool | MouseEvent (int buttonNum, std::vector< double > screenCoords, double handleMidpoint[3], bool release=false) |
virtual void | GetBox (std::vector< double > &llc, std::vector< double > &urc) const |
![]() | |
Manip (GLManager *glManager) | |
virtual | ~Manip () |
virtual void | Render ()=0 |
Pure virtual function renders the geometry of the Manip. | |
virtual void | Update (std::vector< double > llc, std::vector< double > urc, std::vector< double > minExtents, std::vector< double > maxExtents, VAPoR::Transform *rpTransform, VAPoR::Transform *dmTransform, bool constrain)=0 |
virtual bool | MouseEvent (int buttonNum, std::vector< double > screenCoords, double handleMidpoint[3], bool release=false)=0 |
virtual void | GetBox (std::vector< double > &llc, std::vector< double > &urc) const =0 |
Additional Inherited Members | |
![]() | |
virtual int | _mouseIsOverHandle (const double screenCoords[2], double handleMid[3]) const =0 |
void | _drawCubeFaces (double *extents, bool isSelected) |
virtual void | _mousePress (double screenCoords[2], double handleMidpoint[3], int buttonNum)=0 |
virtual void | _mouseDrag (double screenCoords[2], double handleMidpoint[3])=0 |
virtual void | _mouseRelease (double screenCoords[2])=0 |
param[in] screenCoords - coordinates of the cursor upon mose release | |
virtual void | _stretchCorners (double corners[8][3]) const =0 |
![]() | |
GLManager * | _glManager |
int | _buttonNum |
int | _selectedHandle |
double | _dragDistance |
double | _handleMid [3] |
double | _selection [6] |
double | _extents [6] |
double | _cameraPosition [3] |
![]() | |
static const float | _faceSelectionColor [4] |
static const float | _unselectedFaceColor [4] |
A Manip subclass for manipulators that stretch and translate.
This subclass handles translation and stretching manip. Works with ArrowParams (rake). When you slide a handle with the right mouse it stretches the region
VAPoR::TranslateStretchManip::TranslateStretchManip | ( | GLManager * | glManager | ) |
|
inlinevirtual |
|
virtual |
Implements VAPoR::Manip.
|
virtual |
Implements VAPoR::Manip.
|
virtual |
Pure virtual function renders the geometry of the Manip.
Implements VAPoR::Manip.
|
virtual |
Implements VAPoR::Manip.