Public Types | Public Member Functions | Protected Member Functions | List of all members
icalibgui::CPerspectiveCalibrationShape Class Reference

Shape object for perspective calibration. More...

#include <CPerspectiveCalibrationShape.h>

Inheritance diagram for icalibgui::CPerspectiveCalibrationShape:
icalibgui::CNoneCalibrationShape iview::CShapeBase imod::CSingleModelObserverBase iview::IShape imod::IObserver imod::IObserver iview::IVisualizable iview::ITouchable istd::IPolymorphic istd::IPolymorphic istd::IPolymorphic istd::IPolymorphic

Public Types

typedef CNoneCalibrationShape BaseClass
- Public Types inherited from icalibgui::CNoneCalibrationShape
typedef iview::CShapeBase BaseClass

Public Member Functions

virtual void Invalidate ()
virtual void Draw (QPainter &drawContext) const
- Public Member Functions inherited from icalibgui::CNoneCalibrationShape
virtual TouchState IsTouched (istd::CIndex2d position) const
virtual bool OnMouseButton (istd::CIndex2d position, Qt::MouseButton buttonType, bool downFlag)
virtual bool OnMouseMove (istd::CIndex2d position)
- Public Member Functions inherited from iview::CShapeBase
virtual bool OnModelAttached (imod::IModel *modelPtr, istd::IChangeable::ChangeSet &changeMask)
- Public Member Functions inherited from imod::IObserver
virtual bool IsModelAttached (const IModel *modelPtr=NULL) const =0
virtual bool OnModelDetached (IModel *modelPtr)=0
virtual void BeforeUpdate (IModel *modelPtr)=0
virtual void AfterUpdate (IModel *modelPtr, const istd::IChangeable::ChangeSet &changeSet)=0

Protected Member Functions

bool GetLineScreenPosition (const i2d::ICalibration2d &calib, const i2d::CLine2d &logLine, int gridSize, QPointF &point1, QPointF &point2) const
- Protected Member Functions inherited from icalibgui::CNoneCalibrationShape
virtual const i2d::ICalibration2dGetCalibration () const
 Get access to calibration. More...
virtual void BeginLogDrag (const i2d::CVector2d &reference)
virtual void SetLogDragPosition (const i2d::CVector2d &position)
virtual i2d::CRect CalcBoundingBox () const

Detailed Description

Shape object for perspective calibration.

You need this shape to visualize calibration of type icalibgui::CPerspectiveCalibration on the shape view.

Definition at line 16 of file CPerspectiveCalibrationShape.h.

Member Typedef Documentation

Definition at line 19 of file CPerspectiveCalibrationShape.h.

Member Function Documentation

virtual void icalibgui::CPerspectiveCalibrationShape::Draw ( QPainter &  drawContext) const

Reimplemented from icalibgui::CNoneCalibrationShape.

bool icalibgui::CPerspectiveCalibrationShape::GetLineScreenPosition ( const i2d::ICalibration2d calib,
const i2d::CLine2d logLine,
int  gridSize,
QPointF &  point1,
QPointF &  point2 
) const
virtual void icalibgui::CPerspectiveCalibrationShape::Invalidate ( )

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

© 2007-2017 Witold Gantzke and Kirill Lepskiy