Blender V2.61 - r43446

OBSTACLE.h

Go to the documentation of this file.
00001 
00004 
00005 // This file is part of Wavelet Turbulence.
00006 // 
00007 // Wavelet Turbulence is free software: you can redistribute it and/or modify
00008 // it under the terms of the GNU General Public License as published by
00009 // the Free Software Foundation, either version 3 of the License, or
00010 // (at your option) any later version.
00011 // 
00012 // Wavelet Turbulence is distributed in the hope that it will be useful,
00013 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00014 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015 // GNU General Public License for more details.
00016 // 
00017 // You should have received a copy of the GNU General Public License
00018 // along with Wavelet Turbulence.  If not, see <http://www.gnu.org/licenses/>.
00019 // 
00020 // Copyright 2008 Theodore Kim and Nils Thuerey
00021 // 
00022 // OBSTACLE.h: interface for the OBSTACLE class.
00023 //
00025 
00026 #ifndef OBSTACLE_H
00027 #define OBSTACLE_H
00028 
00029 enum OBSTACLE_FLAGS {
00030     EMPTY = 0, 
00031     MARCHED = 2, 
00032     RETIRED = 4 
00033 };  
00034 
00035 class OBSTACLE  
00036 {
00037 public:
00038     OBSTACLE() {};
00039     virtual ~OBSTACLE() {};
00040 
00041   virtual bool inside(float x, float y, float z) = 0;
00042 };
00043 
00044 #endif