ROOT  6.06/09
Reference Guide
Signals | Public Member Functions | Protected Member Functions | Private Attributes | List of all members
MandelBase Class Referenceabstract

Definition at line 35 of file mandel.h.

Signals

void ready (const QImage &image, quint64 cycles)
 

Public Member Functions

void brot (const QSize &size, float x, float y, float scale)
 

Protected Member Functions

 MandelBase (QObject *_parent=0)
 
 ~MandelBase ()
 
void emitImage (const QImage &image, quint64 cycles)
 
void run ()
 
virtual void mandelMe (QImage &image, float x, float y, float scale, int maxIterations)=0
 
bool restart () const
 

Private Attributes

QMutex m_mutex
 
QWaitCondition m_wait
 
QSize m_size
 
float m_x
 
float m_y
 
float m_scale
 
bool m_restart
 
bool m_abort
 

#include </mnt/vdb/lsf/workspace/root-makedoc-v606/rootspi/rdoc/src/v6-06-00-patches/math/vc/examples/mandelbrot/mandel.h>

+ Inheritance diagram for MandelBase:
+ Collaboration diagram for MandelBase:

Constructor & Destructor Documentation

MandelBase::MandelBase ( QObject *  _parent = 0)
protected

Definition at line 43 of file mandel.cpp.

MandelBase::~MandelBase ( )
protected

Definition at line 49 of file mandel.cpp.

Member Function Documentation

void MandelBase::brot ( const QSize &  size,
float  x,
float  y,
float  scale 
)

Definition at line 59 of file mandel.cpp.

Referenced by MainWindow::recreateImage(), and MainWindow::vcImage().

void MandelBase::emitImage ( const QImage &  image,
quint64  cycles 
)
inlineprotected

Definition at line 44 of file mandel.h.

virtual void MandelBase::mandelMe ( QImage &  image,
float  x,
float  y,
float  scale,
int  maxIterations 
)
protectedpure virtual

Implemented in Mandel< Impl >, Mandel< VcImpl >, and Mandel< ScalarImpl >.

Referenced by run().

void MandelBase::ready ( const QImage &  image,
quint64  cycles 
)
signal

Referenced by emitImage(), and run().

bool MandelBase::restart ( ) const
inlineprotected

Definition at line 48 of file mandel.h.

Referenced by Mandel< VcImpl >::mandelMe(), and Mandel< ScalarImpl >::mandelMe().

void MandelBase::run ( )
protected

Definition at line 76 of file mandel.cpp.

Member Data Documentation

bool MandelBase::m_abort
private

Definition at line 59 of file mandel.h.

Referenced by run(), and ~MandelBase().

QMutex MandelBase::m_mutex
private

Definition at line 54 of file mandel.h.

Referenced by brot(), run(), and ~MandelBase().

bool MandelBase::m_restart
private

Definition at line 58 of file mandel.h.

Referenced by brot(), restart(), and run().

float MandelBase::m_scale
private

Definition at line 57 of file mandel.h.

Referenced by brot(), and run().

QSize MandelBase::m_size
private

Definition at line 56 of file mandel.h.

Referenced by brot(), and run().

QWaitCondition MandelBase::m_wait
private

Definition at line 55 of file mandel.h.

Referenced by brot(), run(), and ~MandelBase().

float MandelBase::m_x
private

Definition at line 57 of file mandel.h.

Referenced by brot(), and run().

float MandelBase::m_y
private

Definition at line 57 of file mandel.h.

Referenced by brot(), and run().


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