Sundance::BinaryCellFilter Class Reference

Inheritance diagram for Sundance::BinaryCellFilter:

Sundance::CellFilterBase

List of all members.

Public Types

enum  CellFilterOpType { Union, Intersection, Difference }

Public Member Functions

 BinaryCellFilter (const CellFilter &left, const CellFilter &right, const CellFilterOpType &op)
virtual ~BinaryCellFilter ()
virtual int dimension (const Mesh &mesh) const
virtual XMLObject toXML () const
virtual std::string typeName () const

Handleable interface



CellFilterOpType op_
CellFilter left_
CellFilter right_
virtual CellSet internalGetCells (const Mesh &mesh) const
std::string opName () const


Detailed Description

BinaryCellFilter implements cell filters that do binary logical operations on cell sets.

Definition at line 46 of file SundanceBinaryCellFilter.hpp.


Member Enumeration Documentation

Enumerator:
Union 
Intersection 
Difference 

Definition at line 51 of file SundanceBinaryCellFilter.hpp.


Constructor & Destructor Documentation

BinaryCellFilter::BinaryCellFilter ( const CellFilter left,
const CellFilter right,
const CellFilterOpType op 
)

virtual Sundance::BinaryCellFilter::~BinaryCellFilter (  )  [inline, virtual]

virtual dtor

Definition at line 58 of file SundanceBinaryCellFilter.hpp.


Member Function Documentation

int BinaryCellFilter::dimension ( const Mesh mesh  )  const [virtual]

Return the dimension of the cells that will be identified by this filter when acting on the given mesh

Implements Sundance::CellFilterBase.

Definition at line 63 of file SundanceBinaryCellFilter.cpp.

References Sundance::CellFilter::dimension(), left_, and right_.

CellSet BinaryCellFilter::internalGetCells ( const Mesh mesh  )  const [protected, virtual]

string BinaryCellFilter::opName (  )  const [private]

Definition at line 105 of file SundanceBinaryCellFilter.cpp.

References Difference, Intersection, op_, and Union.

Referenced by toXML().

XMLObject BinaryCellFilter::toXML (  )  const [virtual]

Write to XML

Definition at line 121 of file SundanceBinaryCellFilter.cpp.

References left_, opName(), right_, and Sundance::CellFilter::toXML().

Referenced by internalGetCells().

virtual std::string Sundance::BinaryCellFilter::typeName (  )  const [inline, virtual]

Return the name of the type. Used in ordering.

Definition at line 73 of file SundanceBinaryCellFilter.hpp.


Member Data Documentation

My left operand

Definition at line 90 of file SundanceBinaryCellFilter.hpp.

Referenced by dimension(), internalGetCells(), and toXML().

The operation I perform

Definition at line 87 of file SundanceBinaryCellFilter.hpp.

Referenced by internalGetCells(), and opName().

My right operand

Definition at line 93 of file SundanceBinaryCellFilter.hpp.

Referenced by dimension(), internalGetCells(), and toXML().

Site Contact