Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

Retinal_AnchoredManagedComposite Class Reference

#include <retinalobjs.h>

Inheritance diagram for Retinal_AnchoredManagedComposite:

Inheritance graph
[legend]
Collaboration diagram for Retinal_AnchoredManagedComposite:

Collaboration graph
[legend]
List of all members.

Detailed Description

Specialized version of Retinal_ManagedComposite which can save some computation for activ() by knowing it is always at center (0,0), angle 0, and size 1.0.

Also can store and return a nominal width and height, though it doesn't use them internally.

Typically used for an entire retina's contents.

Definition at line 556 of file retinalobjs.h.

Public Methods

 Retinal_AnchoredManagedComposite (const string &name_val, Tristate *min_distance_enforce, double *min_distance, Tristate *max_distance_enforce, double *max_distance, AccumulationType accum_type_i=Add, const VarMap &init_vars=VarMap(), Coordinate height_=0, Coordinate width_=0)
virtual string stringrep () const
 Suppresses info about self other than name, since it is ignored anyway.

virtual Retinal_Objectclone () const
 Return an identical copy of this object allocated from the heap.

virtual Angle angle () const
 Query current angle for this object.

virtual Coordinate nominal_height () const
 Most Composites don't have any width or height, and instead just ask their parents.

virtual Coordinate nominal_width () const
void resize (const Coordinate height_, const Coordinate width_)


Member Function Documentation

virtual Coordinate Retinal_AnchoredManagedComposite::nominal_height   const [inline, virtual]
 

Most Composites don't have any width or height, and instead just ask their parents.

With any luck, they will have a parent that knows the width and height, and overrides this implementation.

Reimplemented from Retinal_Composite.

Definition at line 581 of file retinalobjs.h.

References Retinal_Obj::Coordinate.


The documentation for this class was generated from the following files:
Generated on Mon Jan 20 02:37:13 2003 for RF-LISSOM by doxygen1.3-rc2