C:/sources/c++/buddhabrot/buddhabrot/bateauenfeu.h

Go to the documentation of this file.
00001 /*
00002 Copyright 2010 Pierre SCHWARTZ
00003 
00004 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated 
00005 documentation files (the "Software"), to deal in the Software without restriction, including without 
00006 limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies 
00007 of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following 
00008 conditions: The above copyright notice and this permission notice shall be included in all copies or 
00009 substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 
00010 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR 
00011 PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, 
00012 DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF 
00013 OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 
00014 */
00015 
00022 #ifndef H__bateauEnFeu__
00023 #define H__bateauEnFeu__
00024 
00025 #include "fractale.h"
00026 
00027 
00032 class bateauEnFeu : public fractale{
00033 public:
00034         bateauEnFeu(std::complex<float>&, long);
00035         ~bateauEnFeu();
00036         std::complex<float> next(std::complex<float>&);
00037         bool stop();
00038         std::complex<float> renderingDestination(std::complex<float>&);
00039         inline bool isVerticalSymetric(){return false;}
00040         inline bool isImpair(){return false;}
00041 
00042         bateauEnFeu* clone(){
00043                 bateauEnFeu *b = new bateauEnFeu(start, maxIterations);
00044                 return b;
00045         }
00046 
00047         QString getName(){
00048                 return QString("bateau");
00049         }
00050 
00051         static QRectF getBestWindow(){
00052                 return QRectF(-1.75,-.125,.25,.25);
00053         }
00054 };
00055 
00056 #endif
00057 

Generated on Fri Feb 26 21:07:52 2010 for BuddhaBrot by  doxygen 1.4.6-NO