VAPOR3 3.9.4
Public Member Functions | List of all members
VAPoR::TranslateStretchManip Class Reference

A Manip subclass for manipulators that stretch and translate. More...

#include <Manip.h>

Inheritance diagram for VAPoR::TranslateStretchManip:
VAPoR::Manip

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
 
- Public Member Functions inherited from VAPoR::Manip
 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

- Protected Member Functions inherited from VAPoR::Manip
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
 
- Protected Attributes inherited from VAPoR::Manip
GLManager_glManager
 
int _buttonNum
 
int _selectedHandle
 
double _dragDistance
 
double _handleMid [3]
 
double _selection [6]
 
double _extents [6]
 
double _cameraPosition [3]
 
- Static Protected Attributes inherited from VAPoR::Manip
static const float _faceSelectionColor [4]
 
static const float _unselectedFaceColor [4]
 

Detailed Description

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

Author
Alan Norton, Scott Pearse
Version
3.0
Date
July 2015, June 2018

Definition at line 147 of file Manip.h.

Constructor & Destructor Documentation

◆ TranslateStretchManip()

VAPoR::TranslateStretchManip::TranslateStretchManip ( GLManager glManager)

◆ ~TranslateStretchManip()

virtual VAPoR::TranslateStretchManip::~TranslateStretchManip ( )
inlinevirtual

Definition at line 150 of file Manip.h.

Member Function Documentation

◆ GetBox()

virtual void VAPoR::TranslateStretchManip::GetBox ( std::vector< double > &  llc,
std::vector< double > &  urc 
) const
virtual

Implements VAPoR::Manip.

◆ MouseEvent()

virtual bool VAPoR::TranslateStretchManip::MouseEvent ( int  buttonNum,
std::vector< double >  screenCoords,
double  handleMidpoint[3],
bool  release = false 
)
virtual

Implements VAPoR::Manip.

◆ Render()

virtual void VAPoR::TranslateStretchManip::Render ( )
virtual

Pure virtual function renders the geometry of the Manip.

Implements VAPoR::Manip.

◆ Update()

virtual void VAPoR::TranslateStretchManip::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

Implements VAPoR::Manip.


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