PPL Logo

CkInterestSet Class Reference

Describes a set of "interest points": 3d locations in space that lie on important object features. More...

#include <ckviewable.h>

Collaboration diagram for CkInterestSet:

Collaboration graph
[legend]

Public Member Functions

 CkInterestSet (void)
 CkInterestSet (int nInterest_, const CkVector3d *loc_)
 CkInterestSet (const CkBbox3d &box)
int size (void) const
const CkVector3doperator[] (int i) const
void setPoints (int n)
CkVector3doperator[] (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]

Detailed Description

Describes a set of "interest points": 3d locations in space that lie on important object features.

These might be the corners of a bounding box, or the vertices of our polygon.

Definition at line 307 of file ckviewable.h.


Member Enumeration Documentation

anonymous enum [private]

Enumerator:
maxInterest 

Definition at line 308 of file ckviewable.h.


Constructor & Destructor Documentation

CkInterestSet::CkInterestSet ( void   )  [inline]

Definition at line 313 of file ckviewable.h.

References nInterest.

CkInterestSet::CkInterestSet ( int  nInterest_,
const CkVector3d loc_ 
)

CkInterestSet::CkInterestSet ( const CkBbox3d box  ) 


Member Function Documentation

int CkInterestSet::size ( void   )  const [inline]

Definition at line 317 of file ckviewable.h.

References nInterest.

const CkVector3d& CkInterestSet::operator[] ( int  i  )  const [inline]

Definition at line 318 of file ckviewable.h.

void CkInterestSet::setPoints ( int  n  )  [inline]

Definition at line 320 of file ckviewable.h.

References nInterest.

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.

Here is the call graph for this function:

CkVector3d CkInterestSet::getMean ( void   )  const

Get our average location in space.

void CkInterestSet::pup ( PUP::er p  ) 


Field Documentation

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.


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

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