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

Teddy::Models::Cylinder Class Reference

Cylinder shaped Model. More...

#include <Cylinder.h>

Inheritance diagram for Teddy::Models::Cylinder:

Inheritance graph
[legend]
Collaboration diagram for Teddy::Models::Cylinder:

Collaboration graph
[legend]
List of all members.

Public Methods

 Cylinder (const std::string &name, const double radius, const double height, const int quads)
 Cylinder constructor. More...


Protected Attributes

double radius
int quads

Detailed Description

Cylinder shaped Model.

Definition at line 37 of file Cylinder.h.


Constructor & Destructor Documentation

Teddy::Models::Cylinder::Cylinder const std::string &    name,
const double    rad,
const double    height,
const int    quads
 

Cylinder constructor.

Parameters:
name  Name for new Cylinder
rad  Cylinder radius
height  Height of cylinder
quads  Number of slice subdivisions

Definition at line 39 of file Cylinder.cpp.


Member Data Documentation

int Teddy::Models::Cylinder::quads [protected]
 

Definition at line 48 of file Cylinder.h.

double Teddy::Models::Cylinder::radius [protected]
 

Definition at line 47 of file Cylinder.h.


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