OpenStructure
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Static Protected Member Functions | Protected Attributes
CompositeMask Class Reference

#include <composite_mask.hh>

Inherits MaskBase.

Public Member Functions

 CompositeMask (const MaskPtr &lhs, const MaskPtr &rhs, const String &op)
 
 CompositeMask (const CompositeMask &m)
 
String GetOperatorName ()
 
virtual ~CompositeMask ()
 
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)
 

Static Protected Member Functions

static OpBasecreate_op_ (const String &name)
 

Protected Attributes

MaskPtr lhs_
 
MaskPtr rhs_
 
OpBaseop_
 

Detailed Description

Definition at line 67 of file composite_mask.hh.

Constructor & Destructor Documentation

CompositeMask ( const MaskPtr lhs,
const MaskPtr rhs,
const String op 
)
CompositeMask ( const CompositeMask m)
virtual ~CompositeMask ( )
virtual

Member Function Documentation

virtual void Apply ( MaskVisitor v)
virtual

Implements MaskBase.

virtual MaskPtr Clone ( )
virtual

Implements MaskBase.

static OpBase* create_op_ ( const String name)
staticprotected
virtual void Expand ( Real  d)
virtual

Implements MaskBase.

String GetOperatorName ( )
inline

Definition at line 73 of file composite_mask.hh.

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.

Field Documentation

MaskPtr lhs_
protected

Definition at line 91 of file composite_mask.hh.

OpBase* op_
protected

Definition at line 93 of file composite_mask.hh.

MaskPtr rhs_
protected

Definition at line 92 of file composite_mask.hh.


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