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

Public Member Functions

void add (QtCanvasItem *item)
 
void add (QtCanvasItem *item)
 
void change ()
 
void change ()
 
bool hasChanged () const
 
bool hasChanged () const
 
const QtCanvasItemListlist () const
 
const QtCanvasItemListlist () const
 
 QtCanvasChunk ()
 
 QtCanvasChunk ()
 
void remove (QtCanvasItem *item)
 
void remove (QtCanvasItem *item)
 
void sort ()
 
void sort ()
 
bool takeChange ()
 
bool takeChange ()
 

Private Attributes

bool changed
 
QtCanvasItemList m_list
 

Constructor & Destructor Documentation

◆ QtCanvasChunk() [1/2]

QtCanvasChunk::QtCanvasChunk ( )
inline

◆ QtCanvasChunk() [2/2]

QtCanvasChunk::QtCanvasChunk ( )
inline

Member Function Documentation

◆ add() [1/2]

void QtCanvasChunk::add ( QtCanvasItem item)
inline

References changed, and m_list.

Referenced by QtCanvas::addItemToChunk(), and QtCanvas::addItemToChunkContaining().

+ Here is the caller graph for this function:

◆ add() [2/2]

void QtCanvasChunk::add ( QtCanvasItem item)
inline

References changed, and m_list.

◆ change() [1/2]

void QtCanvasChunk::change ( )
inline

References changed.

Referenced by QtCanvas::setChanged(), QtCanvas::setChangedChunk(), and QtCanvas::setChangedChunkContaining().

+ Here is the caller graph for this function:

◆ change() [2/2]

void QtCanvasChunk::change ( )
inline

References changed.

◆ hasChanged() [1/2]

bool QtCanvasChunk::hasChanged ( ) const
inline

References changed.

◆ hasChanged() [2/2]

bool QtCanvasChunk::hasChanged ( ) const
inline

References changed.

Referenced by QtCanvas::changeBounds().

+ Here is the caller graph for this function:

◆ list() [1/2]

const QtCanvasItemList& QtCanvasChunk::list ( ) const
inline

References m_list.

◆ list() [2/2]

const QtCanvasItemList& QtCanvasChunk::list ( ) const
inline

References m_list.

Referenced by QtCanvas::collisions(), and QtCanvas::drawCanvasArea().

+ Here is the caller graph for this function:

◆ remove() [1/2]

void QtCanvasChunk::remove ( QtCanvasItem item)
inline

References changed, and m_list.

◆ remove() [2/2]

void QtCanvasChunk::remove ( QtCanvasItem item)
inline

References changed, and m_list.

Referenced by QtCanvas::removeItemFromChunk(), and QtCanvas::removeItemFromChunkContaining().

+ Here is the caller graph for this function:

◆ sort() [1/2]

void QtCanvasChunk::sort ( )
inline

References m_list.

◆ sort() [2/2]

void QtCanvasChunk::sort ( )
inline

References m_list.

◆ takeChange() [1/2]

bool QtCanvasChunk::takeChange ( )
inline

References changed.

◆ takeChange() [2/2]

bool QtCanvasChunk::takeChange ( )
inline

References changed.

Referenced by QtCanvas::setUnchanged().

+ Here is the caller graph for this function:

Member Data Documentation

◆ changed

bool QtCanvasChunk::changed
private

◆ m_list

QtCanvasItemList QtCanvasChunk::m_list
private

Referenced by add(), list(), remove(), and sort().


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