Jive reference manual
List of all members | Public Member Functions | Protected Member Functions
jive::geom::CustomShapeTable Class Referenceabstract

#include <jive/geom/CustomShapeTable.h>

Inheritance diagram for jive::geom::CustomShapeTable:
Inheritance graph

Public Member Functions

 CustomShapeTable ()
 
 CustomShapeTable (const String &name, const Ref< ItemSet > &items)
 
virtual void readFrom (ObjectInput &in)
 
virtual void writeTo (ObjectOutput &out) const
 
virtual void resetEvents ()
 
virtual void configure (const Properties &props, const Properties &globdat)
 
virtual void getConfig (const Properties &conf) const
 
virtual ItemSetgetItems () const
 
virtual idx_t maxPrecision () const
 
virtual ShapeVector getShapes (const IdxVector &map, idx_t prec) const
 
virtual ShapeMatrix getShapes (const IdxVector &map, idx_t minPrec, idx_t maxPrec) const
 
virtual ShapegetShapeOf (idx_t iitem, idx_t prec) const
 
virtual ShapeVector getShapesOf (const IdxVector &shapeMap, const IdxVector &iitems, idx_t prec) const
 
virtual ShapeMatrix getShapesOf (const IdxVector &shapeMap, const IdxVector &iitems, idx_t minPrec, idx_t maxPrec) const
 
- Public Member Functions inherited from jive::geom::ShapeTable
idx_t itemCount () const
 
virtual String getContext () const
 
virtual ShapeVector getShapes (const IdxVector &map, const IdxVector &precs) const
 
virtual ShapeVector getShapesOf (const IdxVector &map, const IdxVector &iitems, const IdxVector &precs) const
 
TopoVector getShapeTopos (const IdxVector &map) const
 
TopoVector getShapeToposOf (const IdxVector &map, const IdxVector &iitems) const
 
void checkShapes (const String &context, int flags, idx_t prec=0) const
 
void checkShapes (const String &context, int flags, const IdxVector &precs) const
 
void checkShapes (const String &context, int flags, idx_t minPrec, idx_t maxPrec) const
 
void checkShapesOf (const String &context, const IdxVector &iitems, int flags, idx_t prec=0) const
 
void checkShapesOf (const String &context, const IdxVector &iitems, int flags, const IdxVector &precs) const
 
void checkShapesOf (const String &context, const IdxVector &iitems, int flags, idx_t minPrec, idx_t maxPrec) const
 
void store (const Properties &globdat) const
 
- Public Member Functions inherited from jem::NamedObject
 NamedObject (const String &name="")
 
virtual String toString () const
 Returns a short textual description of this object. More...
 
String getName () const
 
- Public Member Functions inherited from jem::Object
virtual ClassgetClass () const
 Returns the Class instance representing the runtime class of this object. More...
 
virtual long hashValue () const
 Returns a hash value for this object. More...
 
virtual bool equals (const Ref< Object > &obj) const
 Tests whether two objects are equal. More...
 
Ref< Objectclone () const
 Returns a copy of this object. More...
 

Protected Member Functions

virtual ~CustomShapeTable ()
 
virtual void checkShapeFor_ (const Shape &shape, const ItemGroup &igroup) const =0
 
void invalidate_ ()
 
- Protected Member Functions inherited from jive::geom::ShapeTable
 ShapeTable (const String &name="")
 
virtual ~ShapeTable ()
 
virtual void emitEvents_ (int events)
 
- Protected Member Functions inherited from jem::NamedObject
virtual ~NamedObject ()
 
- Protected Member Functions inherited from jem::Collectable
 Collectable ()
 Creates an empty Collectable. More...
 
 ~Collectable ()
 Frees resources. More...
 
- Protected Member Functions inherited from jive::util::EventSource
virtual ~EventSource ()
 
- Protected Member Functions inherited from jem::Interface
virtual ~Interface ()
 Empty destructor. More...
 
- Protected Member Functions inherited from jem::io::Serializable
virtual ~Serializable ()
 
virtual void emitVtableFunc_ ()
 

Additional Inherited Members

- Public Types inherited from jive::geom::ShapeTable
typedef util::TopoVector TopoVector
 
- Static Public Member Functions inherited from jive::geom::ShapeTable
static int getTypeFlags (const Shape &shape)
 
static Ref< Self > find (const Ref< ItemSet > &items, const Properties &globdat)
 
static Ref< Self > get (const Ref< ItemSet > &items, const Properties &globdat, const String &context)
 
- Static Public Member Functions inherited from jem::NamedObject
static String makeContext (const String &kind, const String &name)
 
- Static Public Member Functions inherited from jem::Object
static ClassgetType ()
 Returns the Class instance representing the Object class. More...
 
- Public Attributes inherited from jive::geom::ShapeTable
Event< Self & > changeEvent
 
- Static Public Attributes inherited from jive::geom::ShapeTable
static const int ANY_TYPE
 
static const int INTERNAL_TYPE
 
static const int BOUNDARY_TYPE
 
static const int INTERFACE_TYPE
 
static const int REGULAR_TYPE
 
static const int GRAD2_TYPE
 
static const int BEZIER_TYPE
 
- Protected Attributes inherited from jem::NamedObject
String myName_
 

Constructor & Destructor Documentation

jive::geom::CustomShapeTable::CustomShapeTable ( )
jive::geom::CustomShapeTable::CustomShapeTable ( const String name,
const Ref< ItemSet > &  items 
)
virtual jive::geom::CustomShapeTable::~CustomShapeTable ( )
protectedvirtual

Reimplemented in jive::fem::CustomShapeTable.

Member Function Documentation

virtual void jive::geom::CustomShapeTable::readFrom ( ObjectInput in)
virtual

Implements jem::io::Serializable.

Reimplemented in jive::fem::CustomShapeTable.

virtual void jive::geom::CustomShapeTable::writeTo ( ObjectOutput out) const
virtual

Implements jem::io::Serializable.

virtual void jive::geom::CustomShapeTable::resetEvents ( )
virtual

Reimplemented from jive::geom::ShapeTable.

virtual void jive::geom::CustomShapeTable::configure ( const Properties props,
const Properties globdat 
)
virtual

Reimplemented from jive::geom::ShapeTable.

virtual void jive::geom::CustomShapeTable::getConfig ( const Properties conf) const
virtual

Reimplemented from jive::geom::ShapeTable.

virtual ItemSet* jive::geom::CustomShapeTable::getItems ( ) const
virtual
virtual idx_t jive::geom::CustomShapeTable::maxPrecision ( ) const
virtual
virtual ShapeVector jive::geom::CustomShapeTable::getShapes ( const IdxVector &  map,
idx_t  prec 
) const
virtual

Reimplemented from jive::geom::ShapeTable.

virtual ShapeMatrix jive::geom::CustomShapeTable::getShapes ( const IdxVector &  map,
idx_t  minPrec,
idx_t  maxPrec 
) const
virtual

Reimplemented from jive::geom::ShapeTable.

virtual Shape* jive::geom::CustomShapeTable::getShapeOf ( idx_t  iitem,
idx_t  prec 
) const
virtual
virtual ShapeVector jive::geom::CustomShapeTable::getShapesOf ( const IdxVector &  shapeMap,
const IdxVector &  iitems,
idx_t  prec 
) const
virtual

Reimplemented from jive::geom::ShapeTable.

virtual ShapeMatrix jive::geom::CustomShapeTable::getShapesOf ( const IdxVector &  shapeMap,
const IdxVector &  iitems,
idx_t  minPrec,
idx_t  maxPrec 
) const
virtual
virtual void jive::geom::CustomShapeTable::checkShapeFor_ ( const Shape shape,
const ItemGroup igroup 
) const
protectedpure virtual

Implemented in jive::fem::CustomShapeTable.

void jive::geom::CustomShapeTable::invalidate_ ( )
protected