OpenStructure
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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

virtual ~MeasureTool ( )
inlinevirtual

Definition at line 69 of file measure_tool.hh.

Member Function Documentation

virtual bool CanOperateOn ( gfx::NodePtrList  nodes)
virtual

whether the tool is capable of manipulating the given node

Implements Tool.

void ClearMeasurements ( )
slot
virtual void Click ( const MouseEvent event)
virtual

left mouse click

Reimplemented from Tool.

gfx::Color GetColor ( ) const
virtual QIcon GetIcon ( ) const
virtual

Reimplemented from Tool.

Real GetLineWidth ( ) const
int GetMeasureMode ( )
void RenderGL ( )
virtual

Reimplemented from Tool.


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