OpenStructure
|
#include <extent_mask.hh>
Inherits MaskBase, and Extent.
Public Member Functions | |
ExtentMask (const Extent &e) | |
virtual MaskPtr | Clone () |
virtual bool | IsInside (const Vec2 &v) |
virtual void | Shift (const Vec2 &v) |
virtual void | Expand (Real d) |
virtual void | Scale (Real d) |
virtual void | Apply (MaskVisitor &v) |
Public Member Functions inherited from MaskBase | |
MaskBase () | |
virtual | ~MaskBase () |
bool | IsOutside (const Vec2 &v) |
virtual void | Shrink (Real d) |
Public Member Functions inherited from Extent | |
Extent () | |
Extent (const Extent &r) | |
Extent (const Point &p1, const Point &p2) | |
Extent (const Size &s) | |
Extent (const Size &size, const Point ¢er) | |
Extent (const Point &start, const Size &size) | |
const Point & | GetStart () const |
const Point & | GetEnd () const |
void | SetStart (const Point &o) |
void | SetEnd (const Point &e) |
bool | Contains (const Point &p) const |
bool | Contains (const Extent &e) const |
Point | GetCenter () const |
const Size & | GetSize () const |
int | GetWidth () const |
int | GetHeight () const |
int | GetDepth () const |
int | GetVolume () const |
int | GetDim () const |
Point | WrapAround (const Point &p) |
Extent | Mirror (int planes) |
unsigned int | Point2Offset (const Point &p) |
bool | operator== (const Extent &b) const |
bool | operator!= (const Extent &b) const |
void | Shift (const Point &p) |
Definition at line 35 of file extent_mask.hh.
ExtentMask | ( | const Extent & | e | ) |
|
virtual |
Implements MaskBase.
|
virtual |
Implements MaskBase.
|
virtual |
Implements MaskBase.