Computer Assited Medical Intervention Tool Kit  version 5.0
QtCanvasClusterizer Class Reference
+ Collaboration diagram for QtCanvasClusterizer:

Public Member Functions

void add (const QRect &rect)
 
void add (const QRect &rect)
 
void add (int x, int y)
 
void add (int x, int y)
 
void add (int x, int y, int w, int h)
 
void add (int x, int y, int w, int h)
 
void clear ()
 
void clear ()
 
int clusters () const
 
int clusters () const
 
const QRect & operator[] (int i) const
 
const QRect & operator[] (int i) const
 
 QtCanvasClusterizer (int maxclusters)
 
 QtCanvasClusterizer (int maxclusters)
 
 ~QtCanvasClusterizer ()
 
 ~QtCanvasClusterizer ()
 

Private Attributes

QRect * cluster
 
int count
 
const int maxcl
 

Constructor & Destructor Documentation

◆ QtCanvasClusterizer() [1/2]

QtCanvasClusterizer::QtCanvasClusterizer ( int  maxclusters)

◆ ~QtCanvasClusterizer() [1/2]

QtCanvasClusterizer::~QtCanvasClusterizer ( )

References cluster.

◆ QtCanvasClusterizer() [2/2]

QtCanvasClusterizer::QtCanvasClusterizer ( int  maxclusters)

◆ ~QtCanvasClusterizer() [2/2]

QtCanvasClusterizer::~QtCanvasClusterizer ( )

Member Function Documentation

◆ add() [1/6]

void QtCanvasClusterizer::add ( const QRect &  rect)

References cluster, count, include(), and maxcl.

+ Here is the call graph for this function:

◆ add() [2/6]

void QtCanvasClusterizer::add ( const QRect &  rect)

◆ add() [3/6]

void QtCanvasClusterizer::add ( int  x,
int  y 
)

Referenced by add().

+ Here is the caller graph for this function:

◆ add() [4/6]

void QtCanvasClusterizer::add ( int  x,
int  y 
)

◆ add() [5/6]

void QtCanvasClusterizer::add ( int  x,
int  y,
int  w,
int  h 
)

References add().

+ Here is the call graph for this function:

◆ add() [6/6]

void QtCanvasClusterizer::add ( int  x,
int  y,
int  w,
int  h 
)

◆ clear() [1/2]

void QtCanvasClusterizer::clear ( )

References count.

◆ clear() [2/2]

void QtCanvasClusterizer::clear ( )

◆ clusters() [1/2]

int QtCanvasClusterizer::clusters ( ) const
inline

◆ clusters() [2/2]

int QtCanvasClusterizer::clusters ( ) const
inline

◆ operator[]() [1/2]

const QRect& QtCanvasClusterizer::operator[] ( int  i) const

◆ operator[]() [2/2]

const QRect & QtCanvasClusterizer::operator[] ( int  i) const

References cluster.

Member Data Documentation

◆ cluster

QRect * QtCanvasClusterizer::cluster
private

◆ count

int QtCanvasClusterizer::count
private

Referenced by add(), and clear().

◆ maxcl

const int QtCanvasClusterizer::maxcl
private

Referenced by add().


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