//----------------------------------------------------------------------------- /** \page naming_conventions Naming Conventions The following naming conventions are used for the OpenMesh code: Files: \li \c MyClass.cc for C++-Implementation of class \c MyClass \li \c MyClass.hh for C++-Header of class \c MyClass Classes: \li Class names start with a capital letter: \c MyClass \li Class templates end with \c T: \c MyClassTemplateT Variables: \li One leading underscore for parameters in function-calls: \c _var \li One trailing underscore for member-variables: \c var_ \li Two trailing underscores for static member-variables: \c var__ Functions: \li Words are separated by underscores: \c my_function() Accessing members: \li To get the member \c xxx_ use const& xxx() const \li To set the member \c xxx_ use void set_xxx(arg) **/ //----------------------------------------------------------------------------- /** \page compiling Compiling OpenMesh \section compilers Tested compilers %OpenMesh has been tested sucessfully for the following operating systems / compilers:
Linux gcc 4.0.x
gcc 4.1.x
gcc 4.2.x
gcc 4.3.x
Windows Microsoft Visual Studio 2008
MacOS X
(Panther and Tiger)
gcc 3.3
gcc 4.0
\section sec_compiling_unix Unix Install the following external libraries / frameworks:

OpenGLhttp://www.opengl.org
Qt4http://www.qtsoftware.com/downloads
GLEWhttp://glew.sourceforge.net/


In order to compile and install OpenMesh, enter following commands in OpenMesh's root directory:

qmake             ## Generates the appropriate Makefiles
make              ## Builds the project (use 'make debug' to build debug version)

When using the \c qmake command, make sure to use Qt version 4 (some linux distributions
use the link \c qmake-qt4 against the executable). \section sec_compiling_windows Windows Prerequisites:

Install the Qt4 framework from Trolltech.
Install the OpenGL Extension Wrangler Library (GLEW) from http://glew.sourceforge.net.

Open \c OpenMesh\qmake\packages\packages.Windows in a text editor and change the include and library paths
for GLEW and GLUT such that they match the installed ones (see comments to find the right path entries). \section sec_compiling_macosx MacOSX If you want to use qmake to build your Visual Studio 2008 solution file,
download and install the Qt4 framework from Trolltech.
(Note: This is not mandatory since there are already VS2008 solution files included in OpenMesh).
Because some of the examples depend on the GLEW library, it's recommended to install glew via the darwin portage system fink.
If you have not installed fink yet, follow the instructions given on their site in order to install it.
Type sudo fink install glew to install glew headers and libraries. ( Fink usually installs header files to \c /sw/include and libraries to \c /sw/lib. )

( If you don't want to use fink and install the libraries manually instead -or via darwin ports-, make sure that
the right paths are specified in \c OpenMesh/qmake/packages/packages.Darwin )

In order to compile and install OpenMesh, open a Terminal window and enter following commands in OpenMesh's root directory:

qmake -macx       ## Generates the appropriate Makefiles
make release      ## Builds the project (use 'make debug' to build debug version)
**/ //-----------------------------------------------------------------------------