src/rcrt/objects/Object.cpp

Go to the documentation of this file.
00001 #include "Object.h"
00002 
00003 using namespace std;
00004 
00005 namespace rcrt
00006 {
00007 
00008 
00009 Object::Object(string n, Material* mat):name(n),material(mat)
00010 {
00011 }
00012 
00013 Object::~Object()
00014 {
00015 }
00016 
00017 const string& Object::getName() const
00018 {
00019         return name;
00020 }
00021 
00022 Material* Object::getMaterial()
00023 {
00024         return material;
00025 }
00026 
00027 void Object::setMaterial(Material* m)
00028 {
00029         material = m;
00030 }
00031 
00032 }

Generated on Thu Jan 31 19:26:19 2008 for RenderingCompetitionRayTracer by  doxygen 1.5.3