OpenStructure
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions
ExtentMask Class Reference

#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 &center)
 Extent (const Point &start, const Size &size)
const PointGetStart () const
const PointGetEnd () 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 SizeGetSize () 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)

Detailed Description

Definition at line 35 of file extent_mask.hh.


Constructor & Destructor Documentation

ExtentMask ( const Extent e)

Member Function Documentation

virtual void Apply ( MaskVisitor v)
virtual

Implements MaskBase.

virtual MaskPtr Clone ( )
virtual

Implements MaskBase.

virtual void Expand ( Real  d)
virtual

Implements MaskBase.

virtual bool IsInside ( const Vec2 &  v)
virtual

Implements MaskBase.

virtual void Scale ( Real  d)
virtual

Implements MaskBase.

virtual void Shift ( const Vec2 &  v)
virtual

Implements MaskBase.


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