Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

Teddy::Graphics::ViewClient Class Reference

Base class for View users. More...

#include <ViewClient.h>

Inheritance diagram for Teddy::Graphics::ViewClient:

Inheritance graph
[legend]
Collaboration diagram for Teddy::Graphics::ViewClient:

Collaboration graph
[legend]
List of all members.

Public Methods

 ViewClient (View *view)
virtual ~ViewClient ()
void vertex (const float a, const float b) const
void vertex (const Teddy::Maths::TVector< int > &v) const
void vertex (const Teddy::Maths::TVector< float > &v) const
void vertex (const Teddy::Maths::TVector< double > &v) const
void vertex (const Teddy::Maths::TVector2< int > &v) const
void vertex (const Teddy::Maths::TVector2< float > &v) const
void vertex (const Teddy::Maths::TVector2< double > &v) const
void normal (const Teddy::Maths::TVector< int > &n) const
void normal (const Teddy::Maths::TVector< float > &n) const
void normal (const Teddy::Maths::TVector< double > &n) const
void normal (const Teddy::Maths::TVector2< int > &n) const
void normal (const Teddy::Maths::TVector2< float > &n) const
void normal (const Teddy::Maths::TVector2< double > &n) const
void texture (const Teddy::Maths::TVector< int > &t) const
void texture (const Teddy::Maths::TVector< float > &t) const
void texture (const Teddy::Maths::TVector< double > &t) const
void texture (const Teddy::Maths::TVector2< int > &t) const
void texture (const Teddy::Maths::TVector2< float > &t) const
void texture (const Teddy::Maths::TVector2< double > &t) const
void color (const float r, const float g, const float b, const float a=1)
void color (const Color &c)
void beginPoints ()
void beginLines ()
void beginLineStrip ()
void beginLineLoop ()
void beginTriangles ()
void beginTriangleStrip ()
void beginTriangleFan ()
void beginQuads ()
void beginQuadStrip ()
void beginPolygon ()
void end ()
void begin2d ()
void end2d ()
void setView (View *view)
ViewgetView () const

Protected Attributes

Viewview

Detailed Description

Base class for View users.

Definition at line 42 of file ViewClient.h.


Constructor & Destructor Documentation

Teddy::Graphics::ViewClient::ViewClient View   view [inline]
 

Definition at line 44 of file ViewClient.h.

References view.

virtual Teddy::Graphics::ViewClient::~ViewClient   [inline, virtual]
 

Definition at line 45 of file ViewClient.h.


Member Function Documentation

void Teddy::Graphics::ViewClient::begin2d  
 

void Teddy::Graphics::ViewClient::beginLineLoop  
 

Definition at line 79 of file ViewClient.cpp.

References view.

void Teddy::Graphics::ViewClient::beginLines  
 

Definition at line 69 of file ViewClient.cpp.

References view.

void Teddy::Graphics::ViewClient::beginLineStrip  
 

Definition at line 74 of file ViewClient.cpp.

References view.

void Teddy::Graphics::ViewClient::beginPoints  
 

Definition at line 64 of file ViewClient.cpp.

References view.

void Teddy::Graphics::ViewClient::beginPolygon  
 

Definition at line 109 of file ViewClient.cpp.

References view.

void Teddy::Graphics::ViewClient::beginQuads  
 

Definition at line 99 of file ViewClient.cpp.

References view.

Referenced by Teddy::PhysicalComponents::GradientFill::drawSelf.

void Teddy::Graphics::ViewClient::beginQuadStrip  
 

Definition at line 104 of file ViewClient.cpp.

References view.

void Teddy::Graphics::ViewClient::beginTriangleFan  
 

Definition at line 89 of file ViewClient.cpp.

References view.

void Teddy::Graphics::ViewClient::beginTriangles  
 

Definition at line 84 of file ViewClient.cpp.

References view.

void Teddy::Graphics::ViewClient::beginTriangleStrip  
 

Definition at line 94 of file ViewClient.cpp.

References view.

void Teddy::Graphics::ViewClient::color const Color   c
 

Definition at line 38 of file ViewClient.cpp.

References view.

void Teddy::Graphics::ViewClient::color const float    r,
const float    g,
const float    b,
const float    a = 1
 

Definition at line 33 of file ViewClient.cpp.

References view.

Referenced by Teddy::PhysicalComponents::MenuList::drawSelf, Teddy::PhysicalComponents::GradientFill::drawSelf, and Teddy::PhysicalComponents::Console::drawSelf.

void Teddy::Graphics::ViewClient::end  
 

Definition at line 114 of file ViewClient.cpp.

References view.

Referenced by Teddy::PhysicalComponents::GradientFill::drawSelf.

void Teddy::Graphics::ViewClient::end2d  
 

View * Teddy::Graphics::ViewClient::getView   const
 

Reimplemented in Teddy::PhysicalComponents::Area.

Definition at line 124 of file ViewClient.cpp.

References view.

void Teddy::Graphics::ViewClient::normal const Teddy::Maths::TVector2< double > &    n const
 

Definition at line 55 of file ViewClient.cpp.

References view.

void Teddy::Graphics::ViewClient::normal const Teddy::Maths::TVector2< float > &    n const
 

Definition at line 54 of file ViewClient.cpp.

References view.

void Teddy::Graphics::ViewClient::normal const Teddy::Maths::TVector2< int > &    n const
 

Definition at line 53 of file ViewClient.cpp.

References view.

void Teddy::Graphics::ViewClient::normal const Teddy::Maths::TVector< double > &    n const
 

Definition at line 52 of file ViewClient.cpp.

References view.

void Teddy::Graphics::ViewClient::normal const Teddy::Maths::TVector< float > &    n const
 

Definition at line 51 of file ViewClient.cpp.

References view.

void Teddy::Graphics::ViewClient::normal const Teddy::Maths::TVector< int > &    n const
 

Definition at line 50 of file ViewClient.cpp.

References view.

void Teddy::Graphics::ViewClient::setView View   view
 

Definition at line 119 of file ViewClient.cpp.

References view.

Referenced by Teddy::PhysicalComponents::Area::setParent.

void Teddy::Graphics::ViewClient::texture const Teddy::Maths::TVector2< double > &    t const
 

Definition at line 61 of file ViewClient.cpp.

References view.

void Teddy::Graphics::ViewClient::texture const Teddy::Maths::TVector2< float > &    t const
 

Definition at line 60 of file ViewClient.cpp.

References view.

void Teddy::Graphics::ViewClient::texture const Teddy::Maths::TVector2< int > &    t const
 

Definition at line 59 of file ViewClient.cpp.

References view.

void Teddy::Graphics::ViewClient::texture const Teddy::Maths::TVector< double > &    t const
 

Definition at line 58 of file ViewClient.cpp.

References view.

void Teddy::Graphics::ViewClient::texture const Teddy::Maths::TVector< float > &    t const
 

Definition at line 57 of file ViewClient.cpp.

References view.

void Teddy::Graphics::ViewClient::texture const Teddy::Maths::TVector< int > &    t const
 

Definition at line 56 of file ViewClient.cpp.

References view.

void Teddy::Graphics::ViewClient::vertex const Teddy::Maths::TVector2< double > &    v const
 

Definition at line 49 of file ViewClient.cpp.

References view.

void Teddy::Graphics::ViewClient::vertex const Teddy::Maths::TVector2< float > &    v const
 

Definition at line 48 of file ViewClient.cpp.

References view.

void Teddy::Graphics::ViewClient::vertex const Teddy::Maths::TVector2< int > &    v const
 

Definition at line 47 of file ViewClient.cpp.

References view.

void Teddy::Graphics::ViewClient::vertex const Teddy::Maths::TVector< double > &    v const
 

Definition at line 46 of file ViewClient.cpp.

References view.

void Teddy::Graphics::ViewClient::vertex const Teddy::Maths::TVector< float > &    v const
 

Definition at line 45 of file ViewClient.cpp.

References view.

void Teddy::Graphics::ViewClient::vertex const Teddy::Maths::TVector< int > &    v const
 

Definition at line 44 of file ViewClient.cpp.

References view.

void Teddy::Graphics::ViewClient::vertex const float    a,
const float    b
const
 

Definition at line 43 of file ViewClient.cpp.

References view.


Member Data Documentation

View* Teddy::Graphics::ViewClient::view [protected]
 

Definition at line 86 of file ViewClient.h.

Referenced by beginLineLoop, beginLines, beginLineStrip, beginPoints, beginPolygon, beginQuads, beginQuadStrip, beginTriangleFan, beginTriangles, beginTriangleStrip, color, Teddy::PhysicalComponents::Area::drawBiColRect, Teddy::PhysicalComponents::Area::drawFillRect, Teddy::PhysicalComponents::Layer::drawLayer, Teddy::PhysicalComponents::Area::drawRect, Teddy::PhysicalComponents::Projection::drawSelf, Teddy::PhysicalComponents::MenuList::drawSelf, Teddy::PhysicalComponents::Label::drawSelf, Teddy::PhysicalComponents::GradientFill::drawSelf, Teddy::PhysicalComponents::Frame::drawSelf, Teddy::PhysicalComponents::Console::drawSelf, Teddy::PhysicalComponents::ActionButton::drawSelf, Teddy::PhysicalComponents::Area::drawString, Teddy::PhysicalComponents::Area::drawVertex, end, getView, Teddy::PhysicalComponents::Area::getView, Teddy::PhysicalComponents::Layer::Layer, Teddy::PhysicalComponents::Projection::materialPass, Teddy::PhysicalComponents::Projection::materialReapplyActive, normal, Teddy::PhysicalComponents::Projection::pick, Teddy::PhysicalComponents::Projection::setModelViewMatrix, Teddy::PhysicalComponents::Area::setParent, Teddy::PhysicalComponents::Projection::setProjectionMatrix, setView, texture, Teddy::PhysicalComponents::Layer::update, vertex, and ViewClient.


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