OpenStructure
Public Slots | Public Member Functions
MeasureTool Class Reference

#include <measure_tool.hh>

Inherits Tool.

Public Slots

void ClearMeasurements ()
 

Public Member Functions

 MeasureTool ()
 
virtual ~MeasureTool ()
 
int GetMeasureMode ()
 
virtual void Click (const MouseEvent &event)
 
virtual bool CanOperateOn (gfx::NodePtrList nodes)
 
virtual QIcon GetIcon () const
 
gfx::Color GetColor () const
 
Real GetLineWidth () const
 
void RenderGL ()
 
- Public Member Functions inherited from Tool
virtual ~Tool ()
 
virtual void DoubleClick (const MouseEvent &event)
 
virtual void MousePress (const MouseEvent &event)
 
virtual void MouseMove (const MouseEvent &event)
 
virtual void Activate ()
 
virtual void Deactivate ()
 
ToolOptionsGetToolOptions () const
 
const StringGetName () const
 

Additional Inherited Members

- Protected Member Functions inherited from Tool
 Tool (const String &name)
 

Detailed Description

Definition at line 65 of file measure_tool.hh.

Constructor & Destructor Documentation

◆ MeasureTool()

◆ ~MeasureTool()

virtual ~MeasureTool ( )
inlinevirtual

Definition at line 69 of file measure_tool.hh.

Member Function Documentation

◆ CanOperateOn()

virtual bool CanOperateOn ( gfx::NodePtrList  nodes)
virtual

whether the tool is capable of manipulating the given node

Implements Tool.

◆ ClearMeasurements

void ClearMeasurements ( )
slot

◆ Click()

virtual void Click ( const MouseEvent event)
virtual

left mouse click

Reimplemented from Tool.

◆ GetColor()

gfx::Color GetColor ( ) const

◆ GetIcon()

virtual QIcon GetIcon ( ) const
virtual

Reimplemented from Tool.

◆ GetLineWidth()

Real GetLineWidth ( ) const

◆ GetMeasureMode()

int GetMeasureMode ( )

◆ RenderGL()

void RenderGL ( )
virtual

Reimplemented from Tool.


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