Computer Assited Medical Intervention Tool Kit  version 4.1
Public Member Functions | Private Attributes | List of all members
QtCanvasClusterizer Class Reference

Public Member Functions

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 add (const QRect &rect)
 
void add (const QRect &rect)
 
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)

Referenced by include().

◆ ~QtCanvasClusterizer() [1/2]

QtCanvasClusterizer::~QtCanvasClusterizer ( )

References cluster.

Referenced by include().

◆ QtCanvasClusterizer() [2/2]

QtCanvasClusterizer::QtCanvasClusterizer ( int  maxclusters)

◆ ~QtCanvasClusterizer() [2/2]

QtCanvasClusterizer::~QtCanvasClusterizer ( )

Member Function Documentation

◆ add() [1/6]

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

Referenced by add(), and include().

◆ add() [2/6]

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

◆ add() [3/6]

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

References add().

◆ add() [4/6]

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

◆ add() [5/6]

void QtCanvasClusterizer::add ( const QRect &  rect)

◆ add() [6/6]

void QtCanvasClusterizer::add ( const QRect &  rect)

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

◆ clear() [1/2]

void QtCanvasClusterizer::clear ( )

References count.

Referenced by include().

◆ 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

References cluster.

Referenced by include().

◆ operator[]() [2/2]

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

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: