Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)

Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Private Attributes
concepts::Quad2dSubdiv4 Class Reference

Subdivision strategy for quadrilaterals which generates four children. More...

#include <cell2D.hh>

Inheritance diagram for concepts::Quad2dSubdiv4:
Inheritance graph
[legend]
Collaboration diagram for concepts::Quad2dSubdiv4:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual void createChildren (Quad2d &q) const
 If no children of q exist, they are created.
virtual void removeChildren (Quad2d &q) const
 If there are children, they are removed.
virtual const QuadSubdiv4topologicalStrategy () const
 Returns the respective topological subdivision strategy.
virtual ~Quad2dSubdiv4 ()

Static Public Member Functions

static const Quad2dSubdiv4instance ()

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const
 Returns information in an output stream.

Static Private Attributes

static std::auto_ptr
< Quad2dSubdiv4
instance_

Detailed Description

Subdivision strategy for quadrilaterals which generates four children.

This is the default subdivision strategy.

The children are generated subdividing the four edges and introducing four new edges meeting in the middle of the parent quad.

Author:
Philipp Frauenfelder, 2002

Definition at line 206 of file cell2D.hh.


Constructor & Destructor Documentation

virtual concepts::Quad2dSubdiv4::~Quad2dSubdiv4 ( ) [virtual]

Member Function Documentation

virtual void concepts::Quad2dSubdiv4::createChildren ( Quad2d q) const [virtual]

If no children of q exist, they are created.

Implements concepts::Quad2dSubdivision.

virtual std::ostream& concepts::Quad2dSubdiv4::info ( std::ostream &  os) const [protected, virtual]

Returns information in an output stream.

Reimplemented from concepts::OutputOperator.

static const Quad2dSubdiv4* concepts::Quad2dSubdiv4::instance ( ) [static]
virtual void concepts::Quad2dSubdivision::removeChildren ( Quad2d q) const [virtual, inherited]

If there are children, they are removed.

virtual const QuadSubdiv4* concepts::Quad2dSubdiv4::topologicalStrategy ( ) const [virtual]

Returns the respective topological subdivision strategy.

Implements concepts::Quad2dSubdivision.


Member Data Documentation

std::auto_ptr<Quad2dSubdiv4> concepts::Quad2dSubdiv4::instance_ [static, private]

Definition at line 215 of file cell2D.hh.


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

Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)