lux::wxViewerSelection Class Reference

#include <wxviewer.h>

Collaboration diagram for lux::wxViewerSelection:
[legend]

List of all members.

Public Member Functions

 wxViewerSelection (void)
 wxViewerSelection (int x1, int x2, int y1, int y2)
void Clear (void)
void GetBounds (int &x1, int &x2, int &y1, int &y2) const
void SetBounds (int x1, int x2, int y1, int y2)
void GetCorner1 (int &x, int &y) const
void GetCorner2 (int &x, int &y) const
void SetCorner1 (int x, int y)
void SetCorner2 (int x, int y)
bool HasSize (void) const

Protected Attributes

int m_x1
int m_x2
int m_y1
int m_y2

Detailed Description

Definition at line 34 of file wxviewer.h.


Constructor & Destructor Documentation

lux::wxViewerSelection::wxViewerSelection ( void   )  [inline]

Definition at line 36 of file wxviewer.h.

References Clear().

wxViewerSelection::wxViewerSelection ( int  x1,
int  x2,
int  y1,
int  y2 
)

Definition at line 29 of file wxviewer.cpp.


Member Function Documentation

void lux::wxViewerSelection::Clear ( void   )  [inline]

Definition at line 38 of file wxviewer.h.

References m_x1, m_x2, m_y1, and m_y2.

Referenced by lux::LuxGLViewer::SetHighlight(), lux::LuxGLViewer::SetSelection(), and wxViewerSelection().

void wxViewerSelection::GetBounds ( int x1,
int x2,
int y1,
int y2 
) const

Definition at line 32 of file wxviewer.cpp.

References m_x1, m_x2, m_y1, and m_y2.

Referenced by lux::LuxGLViewer::DrawMarchingAnts(), and lux::LuxGLViewer::SetZoom().

void lux::wxViewerSelection::GetCorner1 ( int x,
int y 
) const [inline]

Definition at line 41 of file wxviewer.h.

References m_x1, and m_y1.

void lux::wxViewerSelection::GetCorner2 ( int x,
int y 
) const [inline]

Definition at line 42 of file wxviewer.h.

References m_x2, and m_y2.

Referenced by lux::LuxGLViewer::OnMouse().

bool lux::wxViewerSelection::HasSize ( void   )  const [inline]

Definition at line 45 of file wxviewer.h.

References m_x1, m_x2, m_y1, and m_y2.

Referenced by lux::LuxGLViewer::OnPaint(), and lux::LuxGLViewer::OnTimer().

void wxViewerSelection::SetBounds ( int  x1,
int  x2,
int  y1,
int  y2 
)

Definition at line 39 of file wxviewer.cpp.

References m_x1, m_x2, m_y1, and m_y2.

Referenced by lux::LuxGLViewer::OnMouse().

void lux::wxViewerSelection::SetCorner1 ( int  x,
int  y 
) [inline]

Definition at line 43 of file wxviewer.h.

References m_x1, and m_y1.

void lux::wxViewerSelection::SetCorner2 ( int  x,
int  y 
) [inline]

Definition at line 44 of file wxviewer.h.

References m_x2, and m_y2.

Referenced by lux::LuxGLViewer::OnMouse().


Member Data Documentation

Definition at line 48 of file wxviewer.h.

Referenced by Clear(), GetBounds(), GetCorner1(), HasSize(), SetBounds(), and SetCorner1().

Definition at line 48 of file wxviewer.h.

Referenced by Clear(), GetBounds(), GetCorner2(), HasSize(), SetBounds(), and SetCorner2().

Definition at line 48 of file wxviewer.h.

Referenced by Clear(), GetBounds(), GetCorner1(), HasSize(), SetBounds(), and SetCorner1().

Definition at line 48 of file wxviewer.h.

Referenced by Clear(), GetBounds(), GetCorner2(), HasSize(), SetBounds(), and SetCorner2().


The documentation for this class was generated from the following files:
Generated by  doxygen 1.6.2-20100208