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

anoid::plugin::AscShape Class Reference

#include <ascshape.hh>

Inheritance diagram for anoid::plugin::AscShape:

Inheritance graph
[legend]
Collaboration diagram for anoid::plugin::AscShape:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual void redraw ()
virtual void init (config::Configuration &c)

Private Attributes

GLuint display

Member Function Documentation

void anoid::plugin::AscShape::init config::Configuration   c [virtual]
 

This is the real initialiser. It should take it's parameters from the provided configuration

Parameters:
c  the configuration describing this object and it's children

Reimplemented from anoid::base::Object.

Definition at line 20 of file ascshape.cc.

References Triangle::A, Triangle::B, Triangle::C, display, anoid::plugin::AscData::display, anoid::simple::Point::getX(), anoid::simple::Point::getY(), anoid::simple::Point::getZ(), anoid::simple::i(), anoid::loader::loader, Triangle::normal, NULL, anoid::base::Object::parent, anoid::plugin::AscData::shape, ASC::triangles, and ASC::vertices.

void anoid::plugin::AscShape::redraw   [virtual]
 

Todo:
Error handling

Reimplemented from anoid::base::Shape.

Definition at line 71 of file ascshape.cc.

References display.


Member Data Documentation

GLuint anoid::plugin::AscShape::display [private]
 

Definition at line 12 of file ascshape.hh.

Referenced by init(), and redraw().


The documentation for this class was generated from the following files:
Anoid NG © Michael Westergaard, Martin Stig Stissing, Ronni Michael Laursen, and Kristian Bisgaard Lassen