NIREP

Panel Class Reference

Panel is each individual widget that comprises of a render window, pop up menus, and control over the render window. More...

Inheritance diagram for Panel:
Collaboration diagram for Panel:

List of all members.

Public Member Functions

void BlendImages ()
void ClearIds (const std::string &id="")
 Clear the ids so that this panel will no longer be displaying the images that were previously being displayed.
bool Create (wxWindow *parent, wxWindowID id=ID_PANEL500, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL)
void CreateControls ()
 Creates the controls and sizers.
void Delete ()
void Flip (wxCommandEvent &event)
wxBitmap GetBitmapResource (const wxString &name)
wxIcon GetIconResource (const wxString &name)
int GetID ()
std::vector< std::string > GetIds ()
 Get the ids of the different images.
std::vector< int > GetLinkedWidgets ()
vtkLookupTable * GetLookUpTable ()
int GetLookupTableSelection ()
itk::AnalyzeObjectEntryArrayType * GetObjectEntries ()
unsigned int GetOrientation ()
NIREPDisplayGetPanelParent ()
vtkRenderWindow * GetRenderWindow ()
NIREPvtkViewImage2DGetView ()
NIREPvtkViewImage2DGetWidget ()
std::string GetWidgetType ()
 Return the integer of the typd of display widget that is being used.
void Init ()
 Initialises member variables.
void Mouse (wxCommandEvent &event)
void ObjectMapForm (wxCommandEvent &event)
void OnRightButton (wxMouseEvent &event)
 Panel (wxWindow *parent, DisplayDescription *dd, wxWindowID id=ID_PANEL500, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL)
 Panel ()
 Class constructor.
void PanelFrame (wxCommandEvent &event)
void Render ()
void RightClick (int x, int y)
void SetCursorLocation (int x, int y)
void SetEvaluator (NIREPEvaluator *EV)
void SetID (int i)
void SetIds (const std::string &d)
 Set the ids of the different images that are to be displayed. The ids will be sent to the evaluator which will correspond to a command in the evaluator list.
void SetLinkedWidgets (std::vector< int > LW)
void SetLookUpTable (vtkLookupTable *vlt, int Selection=OTHER)
void SetOrientation (unsigned int o)
void SetParent (NIREPDisplay *p)
void SetSlice (int s)
void UpdatePanel ()
void UseBlank ()
void UseCheckerboard ()
void UseImage ()
void UseIntensityVarianceTextStatistic ()
void UseInverseConsistencyTextStatistic ()
void UseObjectMap ()
void UseOverlayImage ()
void UseOverlayObjectMap ()
void UseRelativeOverlap ()
void UseRelativeOverlapTextStatistic ()
void UseTransitivityErrorTextStatistic ()
void UseVarianceImageTextStatistic ()
void UseVarianceTransformTextStatistic ()
void UseVectorField ()
void UseWidget (const std::string &widget)
 The main function that the quick functions call. If the user wants to skip the quick functions, then they can call this with the correct integer for the display widget they want.
void UseWipe ()
 ~Panel ()
 Destructor.

Static Public Member Functions

static bool ShowToolTips ()
 Should we show tooltips?

Detailed Description

Panel is each individual widget that comprises of a render window, pop up menus, and control over the render window.

Notes
  • Work in progress
Dependencies
Bugs
  • None that I know of right now.
Change Log

Constructor & Destructor Documentation

Panel::Panel ( )

Class constructor.

Panel type definition

Panel event table definition

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Panel::Panel ( wxWindow *  parent,
DisplayDescription dd,
wxWindowID  id = ID_PANEL500,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxDefaultSize,
long  style = wxTAB_TRAVERSAL 
)
Panel::~Panel ( )

Destructor.


Member Function Documentation

Panel::BlendImages ( )
Panel::ClearIds ( const std::string &  id = "")

Clear the ids so that this panel will no longer be displaying the images that were previously being displayed.

bool Panel::Create ( wxWindow *  parent,
wxWindowID  id = ID_PANEL500,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxDefaultSize,
long  style = wxTAB_TRAVERSAL 
)
Panel::CreateControls ( )

Creates the controls and sizers.

Panel::Delete ( )
Panel::Flip ( wxCommandEvent &  event)
wxBitmap Panel::GetBitmapResource ( const wxString &  name)
wxIcon Panel::GetIconResource ( const wxString &  name)
Panel::GetID ( ) [inline]
Panel::GetIds ( )

Get the ids of the different images.

Panel::GetLinkedWidgets ( ) [inline]
Panel::GetLookUpTable ( ) [inline]
Panel::GetLookupTableSelection ( ) [inline]
Panel::GetObjectEntries ( )
Panel::GetOrientation ( ) [inline]
Panel::GetPanelParent ( ) [inline]
Panel::GetRenderWindow ( )
Panel::GetView ( )
Panel::GetWidget ( ) [inline]
Panel::GetWidgetType ( ) [inline]

Return the integer of the typd of display widget that is being used.

Panel::Init ( )

Initialises member variables.

Panel::Mouse ( wxCommandEvent &  event)
Panel::ObjectMapForm ( wxCommandEvent &  event)
Panel::OnRightButton ( wxMouseEvent &  event)
Panel::PanelFrame ( wxCommandEvent &  event)
Panel::Render ( void  )
Panel::RightClick ( int  x,
int  y 
)
void Panel::SetCursorLocation ( int  x,
int  y 
)
Panel::SetEvaluator ( NIREPEvaluator EV) [inline]
void Panel::SetID ( int  i) [inline]
Panel::SetIds ( const std::string &  d)

Set the ids of the different images that are to be displayed. The ids will be sent to the evaluator which will correspond to a command in the evaluator list.

Panel::SetLinkedWidgets ( std::vector< int >  LW) [inline]
Panel::SetLookUpTable ( vtkLookupTable *  vlt,
int  Selection = OTHER 
)
void Panel::SetOrientation ( unsigned int  o) [inline]
Panel::SetParent ( NIREPDisplay p) [inline]
void Panel::SetSlice ( int  s)
Panel::ShowToolTips ( ) [static]

Should we show tooltips?

Panel::UpdatePanel ( )
Panel::UseBlank ( )
Panel::UseCheckerboard ( )
Panel::UseImage ( )

Quick functions that the user can call to use different display widgets

void Panel::UseIntensityVarianceTextStatistic ( )
void Panel::UseInverseConsistencyTextStatistic ( )
Panel::UseObjectMap ( )
Panel::UseOverlayImage ( )
Panel::UseOverlayObjectMap ( )
Panel::UseRelativeOverlap ( )
void Panel::UseRelativeOverlapTextStatistic ( )
void Panel::UseTransitivityErrorTextStatistic ( )
void Panel::UseVarianceImageTextStatistic ( )
void Panel::UseVarianceTransformTextStatistic ( )
Panel::UseVectorField ( )
Panel::UseWidget ( const std::string &  widget)

The main function that the quick functions call. If the user wants to skip the quick functions, then they can call this with the correct integer for the display widget they want.

Panel::UseWipe ( )
 All Classes Functions Variables Typedefs Enumerations Enumerator