Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
GLViewer_Pnt Struct Reference

#include <GLViewer_Geom.h>

Public Member Functions

 GLViewer_Pnt ()
 
 GLViewer_Pnt (GLfloat theX, GLfloat theY)
 
GLfloat x () const
 
GLfloat y () const
 
void setX (GLfloat theX)
 
void setY (GLfloat theY)
 
void setXY (GLfloat theX, GLfloat theY)
 
void move (GLfloat theDX, GLfloat theDY)
 

Private Attributes

GLfloat myX
 
GLfloat myY
 

Detailed Description

Struct GLViewer_Pnt Substitution of QPoint for OpenGL

Constructor & Destructor Documentation

GLViewer_Pnt::GLViewer_Pnt ( )
inline
GLViewer_Pnt::GLViewer_Pnt ( GLfloat  theX,
GLfloat  theY 
)
inline

Member Function Documentation

void GLViewer_Pnt::move ( GLfloat  theDX,
GLfloat  theDY 
)
inline
void GLViewer_Pnt::setX ( GLfloat  theX)
inline
void GLViewer_Pnt::setXY ( GLfloat  theX,
GLfloat  theY 
)
inline
void GLViewer_Pnt::setY ( GLfloat  theY)
inline
GLfloat GLViewer_Pnt::x ( ) const
inline
GLfloat GLViewer_Pnt::y ( ) const
inline

Member Data Documentation

GLfloat GLViewer_Pnt::myX
private
GLfloat GLViewer_Pnt::myY
private

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