iLab Neuromorphic Robotics Toolkit  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ImageRenderer.H File Reference
#include <nrt/Core/Geometry/Dims.H>
#include <nrt/Core/Model/Component.H>
#include <nrt/Core/Image/GenericImage.H>
#include <nrt/Core/Image/PixelTypes.H>
#include <nrt/Core/Typing/Enum.H>
#include <nrt/Graphics/TextureManager.H>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <X11/keysym.h>
#include <GL/gl.h>
#include <GL/glx.h>

Author
Shane Grant

License

// ////////////////////////////////////////////////////////////////////////
//              The iLab Neuromorphic Robotics Toolkit (NRT)             //
// Copyright 2010-2012 by the University of Southern California (USC)    //
//                          and the iLab at USC.                         //
//                                                                       //
//                iLab - University of Southern California               //
//                Hedco Neurociences Building, Room HNB-10               //
//                    Los Angeles, Ca 90089-2520 - USA                   //
//                                                                       //
//      See http://ilab.usc.edu for information about this project.      //
// ////////////////////////////////////////////////////////////////////////
// This file is part of The iLab Neuromorphic Robotics Toolkit.          //
//                                                                       //
// The iLab Neuromorphic Robotics Toolkit is free software: you can      //
// redistribute it and/or modify it under the terms of the GNU General   //
// Public License as published by the Free Software Foundation, either   //
// version 3 of the License, or (at your option) any later version.      //
//                                                                       //
// The iLab Neuromorphic Robotics Toolkit is distributed in the hope     //
// that it will be useful, but WITHOUT ANY WARRANTY; without even the    //
// implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR       //
// PURPOSE.  See the GNU General Public License for more details.        //
//                                                                       //
// You should have received a copy of the GNU General Public License     //
// along with The iLab Neuromorphic Robotics Toolkit.  If not, see       //
// <http://www.gnu.org/licenses/>.                                       //
// ////////////////////////////////////////////////////////////////////////

Definition in file ImageRenderer.H.

Go to the source code of this file.

Classes

class  nrt::graphics::ImageRenderer
 Render 2D images into a basic X11/OpenGL window. More...
 

Namespaces

 nrt
 Reserved namespace for NRT core classes and functions.
 
 nrt::graphics::imagerenderer
 Namespace for ShapeRenderer parameters.
 

Macros

#define GL_GLEXT_PROTOTYPES   1
 
#define GL3_PROTOTYPES   1
 

Functions

 nrt::graphics::imagerenderer::NRT_DECLARE_PARAMETER_WITH_CALLBACK (dims, nrt::Dims< nrt::int32 >,"Rendered display dimemsions in pixels", nrt::Dims< nrt::int32 >(640, 480), ParamCateg)
 Parameter definition for display dims.
 
 nrt::graphics::imagerenderer::NRT_DECLARE_PARAMETER_WITH_CALLBACK (windowTitle, std::string,"Title of the window","ImageRenderer Window", ParamCateg)
 Parameter definition for window title.
 
 nrt::graphics::imagerenderer::NRT_DEFINE_ENUM_CLASS (ResizePolicy,(stretch)(best)(actual)(preserve))
 
 nrt::graphics::imagerenderer::NRT_DECLARE_PARAMETER_WITH_CALLBACK (resizePolicy, ResizePolicy,"The window resizing policy", ResizePolicy::best, ResizePolicy_Values, ParamCateg)
 Parameter definition for resizing options.
 
 nrt::graphics::imagerenderer::NRT_DECLARE_PARAMETER_WITH_CALLBACK (backgroundColor, PixRGBA< float >,"The background color for the window", PixRGBA< float >(0.0f, 0.0f, 0.0f, 1.0f), ParamCateg)
 Parameter definition for window background color.
 

Variables

static nrt::ParameterCategory const nrt::graphics::imagerenderer::ParamCateg ("ImageRenderer Options")
 Parameter category definition.