Logo Search packages:      
Sourcecode: blender version File versions

GPC_RenderTools Class Reference

#include <GPC_RenderTools.h>

Inheritance diagram for GPC_RenderTools:

List of all members.


Detailed Description

Id
GPC_RenderTools.h,v 1.10 2004/06/23 01:12:11 kester Exp

***** BEGIN GPL/BL DUAL LICENSE BLOCK *****

This program 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 2 of the License, or (at your option) any later version. The Blender Foundation also sells licenses for use in proprietary software under the Blender License. See http://www.blender.org/BL/ for information about this.

This program 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 this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

The Original Code is Copyright (C) 2001-2002 by NaN Holding BV. All rights reserved.

The Original Code is: all of this file.

Contributor(s): none yet.

***** END GPL/BL DUAL LICENSE BLOCK *****

Definition at line 54 of file GPC_RenderTools.h.


Public Types

enum  RAS_TEXT_RENDER_MODE { RAS_TEXT_RENDER_NODEF = 0, RAS_TEXT_NORMAL, RAS_TEXT_PADDED, RAS_TEXT_MAX }

Public Member Functions

virtual void AddLight (struct RAS_LightObject *lightobject)
int applyLights (int objectlayer)
void applyTransform (RAS_IRasterizer *rasty, double *oglmatrix, int objectdrawmode)
virtual void BeginFrame (RAS_IRasterizer *rasty)
virtual class RAS_IPolyMaterialCreateBlenderPolyMaterial (const STR_String &texname, bool ba, const STR_String &matname, int tile, int tilexrep, int tileyrep, int mode, bool transparant, bool zsort, int lightlayer, bool bIsTriangle, void *clientobject, void *tface)
void DisableOpenGLLights ()
void EnableOpenGLLights ()
virtual void EndFrame (RAS_IRasterizer *rasty)
 GPC_RenderTools ()
void Perspective (int a, int width, int height, float mat[4][4], float viewmat[4][4])
virtual void PopMatrix ()
int ProcessLighting (int layer)
virtual void PushMatrix ()
virtual void RemoveLight (struct RAS_LightObject *lightobject)
void Render (RAS_IRasterizer *rasty, double *oglmatrix, int objectdrawmode)
virtual void RenderText (int mode, RAS_IPolyMaterial *polymat, float v1[3], float v2[3], float v3[3], float v4[3])
virtual void RenderText2D (RAS_TEXT_RENDER_MODE mode, const char *text, int xco, int yco, int width, int height)
void SetAuxilaryClientInfo (void *inf)
void SetClientObject (void *obj)
virtual void SetViewMat (const MT_Transform &trans)

Protected Member Functions

void BL_RenderText (int mode, const char *textstr, int textlen, struct TFace *tface, float v1[3], float v2[3], float v3[3], float v4[3])
void BL_spack (unsigned int ucol)

Protected Attributes

void * m_auxilaryClientInfo
void * m_clientobject
BMF_Font * m_font
std::vector< struct
RAS_LightObject * > 
m_lights
bool m_modified
float m_viewmat [16]

Static Protected Attributes

static unsigned int m_numgllights

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index