Seg3D  2.4
Seg3D is a free volume segmentation and processing tool developed by the NIH Center for Integrative Biomedical Computing at the University of Utah Scientific Computing and Imaging (SCI) Institute.
All Classes Namespaces Functions Variables Typedefs Enumerator Friends
Public Types | Public Member Functions | Static Public Member Functions | List of all members
Seg3D::MeasurementToolInterface Class Reference
Inheritance diagram for Seg3D::MeasurementToolInterface:
Seg3D::ToolWidget Seg3D::ToolInterface Core::ConnectionHandler

Public Types

typedef QPointer< MeasurementToolInterfaceqpointer_type
 

Public Member Functions

 MeasurementToolInterface ()
 Constructor/destructor.
 
virtual bool build_widget (QFrame *frame)
 
- Public Member Functions inherited from Seg3D::ToolWidget
bool create_widget (QWidget *parent, ToolHandle &tool)
 
- Public Member Functions inherited from Seg3D::ToolInterface
void set_tool (ToolHandle tool)
 
ToolHandle tool () const
 
std::string toolid () const
 
- Public Member Functions inherited from Core::ConnectionHandler
void add_connection (const boost::signals2::connection &connection)
 
void add_connection (const ConnectionHandlerConnectionHandle &connection)
 
void disconnect_all ()
 

Static Public Member Functions

static void UpdateGeneralTab (qpointer_type measurement_interface)
 
static void UpdateTableCells (qpointer_type measurement_interface)
 
static void UpdateTableActiveIndex (qpointer_type measurement_interface)
 
static void UpdateGeneralComment (qpointer_type measurement_interface)
 
static void UpdateActiveTab (qpointer_type measurement_interface)
 

Additional Inherited Members

- Protected Attributes inherited from Seg3D::ToolInterface
ToolHandle tool_
 Handle to the underlying tool.
 

Member Function Documentation

bool Seg3D::MeasurementToolInterface::build_widget ( QFrame *  frame)
virtual

BUILD_WIDGET: Function to create the specific tool widget: This one needs to be overloaded

Implements Seg3D::ToolWidget.

void Seg3D::MeasurementToolInterface::UpdateActiveTab ( qpointer_type  measurement_interface)
static

UPDATEACTIVETAB: Set widget values based on current active measurement state.

void Seg3D::MeasurementToolInterface::UpdateGeneralComment ( qpointer_type  measurement_interface)
static

UPDATEGENERALCOMMENT: Update comment text box in general tab based on active index. Locks: StateEngine

void Seg3D::MeasurementToolInterface::UpdateGeneralTab ( qpointer_type  measurement_interface)
static

UPDATEGENERALTAB: Update entire table including dimensions. Scroll to active index. Slower than UpdateMeasurementCells, so use only when needed. De-selects selected rows. TODO: This may be slow due to resizeColumns[Rows]ToContents – try hard-coding sizes.

void Seg3D::MeasurementToolInterface::UpdateTableActiveIndex ( qpointer_type  measurement_interface)
static

UPDATETABLEACTIVEINDEX: Update table in response to changed active index. Locks: StateEngine

void Seg3D::MeasurementToolInterface::UpdateTableCells ( qpointer_type  measurement_interface)
static

UPDATETABLECELLS: Update only table cells, not table dimensions. Does not scroll to active index.


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