PPL Logo

CkRect Class Reference

#include <ckimage.h>

Collaboration diagram for CkRect:

Collaboration graph
[legend]

Public Member Functions

 CkRect ()
 CkRect (int l_, int t_, int r_, int b_)
 CkRect (int w, int h)
int wid (void) const
int ht (void) const
int getWidth (void) const
int getHeight (void) const
int operator== (const CkRect &a)
CkRect getUnion (const CkRect &a)
CkRect getIntersect (const CkRect &a)
CkRect getShift (int dx, int dy)
bool isEmpty (void) const
bool inbounds (int x, int y) const
void makeEmpty (void)
void empty (void)
void add (int x, int y)
void enlarge (int dx, int dy)
void zero (void)
int area (void) const
void pup (PUP::er &p)

Data Fields

int l
int r
int t
int b

Detailed Description

Definition at line 17 of file ckimage.h.


Constructor & Destructor Documentation

CkRect::CkRect (  )  [inline]

Definition at line 21 of file ckimage.h.

References b, l, r, and t.

Referenced by getIntersect(), getShift(), and getUnion().

Here is the caller graph for this function:

CkRect::CkRect ( int  l_,
int  t_,
int  r_,
int  b_ 
) [inline]

Definition at line 22 of file ckimage.h.

CkRect::CkRect ( int  w,
int  h 
) [inline]

Definition at line 24 of file ckimage.h.


Member Function Documentation

int CkRect::wid ( void   )  const [inline]

Definition at line 27 of file ckimage.h.

References l, and r.

Referenced by imageCombine(), liveVizDeposit(), PUPmarshall(), and vizPollReductionHandler().

Here is the caller graph for this function:

int CkRect::ht ( void   )  const [inline]

Definition at line 28 of file ckimage.h.

References b, and t.

Referenced by imageCombine(), liveVizDeposit(), PUPmarshall(), and vizPollReductionHandler().

Here is the caller graph for this function:

int CkRect::getWidth ( void   )  const [inline]

Definition at line 29 of file ckimage.h.

References l, and r.

int CkRect::getHeight ( void   )  const [inline]

Definition at line 30 of file ckimage.h.

References b, and t.

int CkRect::operator== ( const CkRect a  )  [inline]

Definition at line 31 of file ckimage.h.

References b, l, r, and t.

CkRect CkRect::getUnion ( const CkRect a  )  [inline]

Definition at line 33 of file ckimage.h.

References b, CkRect(), l, max(), min(), r, and t.

Referenced by imageCombine().

Here is the call graph for this function:

Here is the caller graph for this function:

CkRect CkRect::getIntersect ( const CkRect a  )  [inline]

Definition at line 36 of file ckimage.h.

References b, CkRect(), l, max(), min(), r, and t.

Referenced by liveVizDeposit().

Here is the call graph for this function:

Here is the caller graph for this function:

CkRect CkRect::getShift ( int  dx,
int  dy 
) [inline]

Definition at line 39 of file ckimage.h.

References b, CkRect(), l, r, and t.

Referenced by liveVizDeposit().

Here is the call graph for this function:

Here is the caller graph for this function:

bool CkRect::isEmpty ( void   )  const [inline]

Definition at line 42 of file ckimage.h.

References b, l, r, and t.

Referenced by liveVizDeposit().

Here is the caller graph for this function:

bool CkRect::inbounds ( int  x,
int  y 
) const [inline]

Definition at line 43 of file ckimage.h.

References b, and r.

void CkRect::makeEmpty ( void   )  [inline]

Definition at line 48 of file ckimage.h.

References b, l, r, and t.

Referenced by empty(), and imageCombine().

Here is the caller graph for this function:

void CkRect::empty ( void   )  [inline]

Definition at line 49 of file ckimage.h.

References makeEmpty().

Here is the call graph for this function:

void CkRect::add ( int  x,
int  y 
) [inline]

Definition at line 50 of file ckimage.h.

References b, l, max(), min(), r, t, and x.

Here is the call graph for this function:

void CkRect::enlarge ( int  dx,
int  dy 
) [inline]

Definition at line 54 of file ckimage.h.

References b, l, r, and t.

void CkRect::zero ( void   )  [inline]

Definition at line 57 of file ckimage.h.

References b, l, r, and t.

Referenced by liveVizDeposit().

Here is the caller graph for this function:

int CkRect::area ( void   )  const [inline]

Definition at line 58 of file ckimage.h.

References b, l, r, and t.

Referenced by allocateImageMsg().

Here is the caller graph for this function:

void CkRect::pup ( PUP::er p  )  [inline]

Definition at line 60 of file ckimage.h.

References b, l, r, and t.


Field Documentation


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

Generated on Mon Sep 21 08:21:14 2020 for Charm++ by  doxygen 1.5.5