#include <ckviewable.h>
Public Member Functions | |
CkInterestSet (void) | |
CkInterestSet (int nInterest_, const CkVector3d *loc_) | |
CkInterestSet (const CkBbox3d &box) | |
int | size (void) const |
const CkVector3d & | operator[] (int i) const |
void | setPoints (int n) |
CkVector3d & | operator[] (int i) |
CkBbox3d | getBox (void) const |
CkVector3d | getMean (void) const |
Get our average location in space. | |
void | pup (PUP::er &p) |
Private Types | |
enum | { maxInterest = 8 } |
Private Attributes | |
int | nInterest |
CkVector3d | loc [maxInterest] |
These might be the corners of a bounding box, or the vertices of our polygon.
Definition at line 307 of file ckviewable.h.
anonymous enum [private] |
CkInterestSet::CkInterestSet | ( | void | ) | [inline] |
CkInterestSet::CkInterestSet | ( | int | nInterest_, | |
const CkVector3d * | loc_ | |||
) |
CkInterestSet::CkInterestSet | ( | const CkBbox3d & | box | ) |
int CkInterestSet::size | ( | void | ) | const [inline] |
const CkVector3d& CkInterestSet::operator[] | ( | int | i | ) | const [inline] |
Definition at line 318 of file ckviewable.h.
void CkInterestSet::setPoints | ( | int | n | ) | [inline] |
CkVector3d& CkInterestSet::operator[] | ( | int | i | ) | [inline] |
Definition at line 321 of file ckviewable.h.
CkBbox3d CkInterestSet::getBox | ( | void | ) | const [inline] |
Definition at line 323 of file ckviewable.h.
References CkBbox3d::add(), CkBbox3d::empty(), and nInterest.
CkVector3d CkInterestSet::getMean | ( | void | ) | const |
Get our average location in space.
void CkInterestSet::pup | ( | PUP::er & | p | ) |
int CkInterestSet::nInterest [private] |
Definition at line 309 of file ckviewable.h.
Referenced by CkInterestSet(), getBox(), setPoints(), and size().
CkVector3d CkInterestSet::loc[maxInterest] [private] |
Definition at line 310 of file ckviewable.h.