Public Types | Public Member Functions
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 57 of file SundanceBinaryCellFilter.hpp.


Member Enumeration Documentation

Enumerator:
Union 
Intersection 
Difference 

Definition at line 62 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 69 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 74 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 116 of file SundanceBinaryCellFilter.cpp.

References Difference, Intersection, op_, and Union.

Referenced by toXML().

XMLObject BinaryCellFilter::toXML ( ) const [virtual]

Write to XML

Definition at line 132 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 84 of file SundanceBinaryCellFilter.hpp.


Member Data Documentation

My left operand

Definition at line 101 of file SundanceBinaryCellFilter.hpp.

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

The operation I perform

Definition at line 98 of file SundanceBinaryCellFilter.hpp.

Referenced by internalGetCells(), and opName().

My right operand

Definition at line 104 of file SundanceBinaryCellFilter.hpp.

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

Site Contact