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

Teddy::Models::Ring Class Reference

Ring shaped Model. More...

#include <Ring.h>

Inheritance diagram for Teddy::Models::Ring:

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

Collaboration graph
[legend]
List of all members.

Public Methods

 Ring (const std::string &name, const double inner_radius, const double outer_radius, const int slices)
 Ring constructor. More...


Protected Attributes

double inner_radius
double outer_radius
int slices

Detailed Description

Ring shaped Model.

Definition at line 39 of file Ring.h.


Constructor & Destructor Documentation

Teddy::Models::Ring::Ring const std::string &    name,
const double    inner_radius,
const double    outer_radius,
const int    slices
 

Ring constructor.

Parameters:
name  Name for new Ring mesh
inner_radius  Inner ring radius
outer_radius  Outer ring radius
slices  Number of slice subdivisions

Definition at line 44 of file Ring.cpp.

References Teddy::Models::Model::add, inner_radius, M_2_PI, outer_radius, Teddy::Models::Model::setClipRadius, and slices.


Member Data Documentation

double Teddy::Models::Ring::inner_radius [protected]
 

Definition at line 49 of file Ring.h.

Referenced by Ring.

double Teddy::Models::Ring::outer_radius [protected]
 

Definition at line 50 of file Ring.h.

Referenced by Ring.

int Teddy::Models::Ring::slices [protected]
 

Definition at line 51 of file Ring.h.

Referenced by Ring.


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