#include <retinalobjs.h>
Inheritance diagram for Retinal_AnchoredManagedComposite:
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_Object * | clone () 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_) |
|
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. |