OpenStructure
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() [1/2]

CompositeMask ( const MaskPtr lhs,
const MaskPtr rhs,
const String op 
)

◆ CompositeMask() [2/2]

CompositeMask ( const CompositeMask m)

◆ ~CompositeMask()

virtual ~CompositeMask ( )
virtual

Member Function Documentation

◆ Apply()

virtual void Apply ( MaskVisitor v)
virtual

Implements MaskBase.

◆ Clone()

virtual MaskPtr Clone ( )
virtual

Implements MaskBase.

◆ create_op_()

static OpBase* create_op_ ( const String name)
staticprotected

◆ Expand()

virtual void Expand ( Real  d)
virtual

Implements MaskBase.

◆ GetOperatorName()

String GetOperatorName ( )
inline

Definition at line 73 of file composite_mask.hh.

◆ IsInside()

virtual bool IsInside ( const Vec2 &  v)
virtual

Implements MaskBase.

◆ Scale()

virtual void Scale ( Real  d)
virtual

Implements MaskBase.

◆ Shift()

virtual void Shift ( const Vec2 &  v)
virtual

Implements MaskBase.

Field Documentation

◆ lhs_

MaskPtr lhs_
protected

Definition at line 91 of file composite_mask.hh.

◆ op_

OpBase* op_
protected

Definition at line 93 of file composite_mask.hh.

◆ rhs_

MaskPtr rhs_
protected

Definition at line 92 of file composite_mask.hh.


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