cgma
|
00001 //- Class: ChollaVolume 00002 //- Description: Temporary class for constructing the facet-based geometry 00003 //- 00004 //- Owner: Steven J. Owen 00005 //- Checked by: 00006 //- Version: 00007 #include "ChollaVolume.hpp" 00008 #include "ChollaSurface.hpp" 00009 00010 00011 //=============================================================================== 00012 //Function: ChollaVolume (PUBLIC) (constructor) 00013 //=============================================================================== 00014 ChollaVolume::ChollaVolume(int block_id) 00015 { 00016 static int count = 100; 00017 id = count++; 00018 myVolume = NULL; 00019 blockId = block_id; 00020 } 00021 00022 //=============================================================================== 00023 //Function: ~ChollaVolume (PUBLIC) (destructor) 00024 //=============================================================================== 00025 ChollaVolume::~ChollaVolume() 00026 { 00027 } 00028 00029 00030 void ChollaVolume::debug_draw() 00031 { 00032 for( int i=surfaceList.size(); i--; ) 00033 surfaceList.get_and_step()->debug_draw(); 00034 } 00035 00036 00037 //EOF 00038