#include <pop_geometric_object.h>
Inheritance diagram for pop_geometric_object:

The object is based on a set of parameters that can be changed. This object can be transformed into another coordinate system which is a pop_vertex.
Definition at line 26 of file pop_geometric_object.h.
Public Member Functions | |
| pop_geometric_object (pop_vertex *coordinate_system, vcl_vector< pop_parameter * > ¶ms) | |
| constructor. | |
| pop_geometric_object (pop_vertex *coordinate_system) | |
| used when this is not a parametric object but just a geometric one. | |
| virtual | ~pop_geometric_object () |
| destructor. | |
| pop_geometric_object * | transform (pop_vertex *destination) |
| we should be able to transform to another coordinate system. | |
| pop_geometric_object * | cast_to_pop_geometric_object () |
| we need to have safe down casting. | |
| virtual pop_point_2d * | cast_to_pop_point_2d () |
| virtual pop_point_3d * | cast_to_pop_point_3d () |
| virtual double | cost (pop_geometric_object *other) |
| computes a cost between this and another object. | |
| virtual void | update ()=0 |
| update the object based on the parameters. | |
| vcl_vector< pop_parameter * > | get_parameters () |
| get the parameters. | |
| void | set (vcl_vector< pop_parameter * > ¶ms) |
| set the parameters. | |
Public Attributes | |
| pop_vertex * | coordinate_system_ |
| this is the coordinate system. | |
Protected Attributes | |
| vcl_vector< pop_parameter * > | params_ |
| the basic parameters. | |
| pop_geometric_object::pop_geometric_object | ( | pop_vertex * | coordinate_system, | |
| vcl_vector< pop_parameter * > & | params | |||
| ) |
| pop_geometric_object::pop_geometric_object | ( | pop_vertex * | coordinate_system | ) |
used when this is not a parametric object but just a geometric one.
Definition at line 9 of file pop_geometric_object.cxx.
| pop_geometric_object::~pop_geometric_object | ( | ) | [virtual] |
| pop_geometric_object * pop_geometric_object::transform | ( | pop_vertex * | destination | ) |
we should be able to transform to another coordinate system.
Definition at line 27 of file pop_geometric_object.cxx.
| pop_geometric_object* pop_geometric_object::cast_to_pop_geometric_object | ( | ) | [inline] |
| virtual pop_point_2d* pop_geometric_object::cast_to_pop_point_2d | ( | ) | [inline, virtual] |
| virtual pop_point_3d* pop_geometric_object::cast_to_pop_point_3d | ( | ) | [inline, virtual] |
| double pop_geometric_object::cost | ( | pop_geometric_object * | other | ) | [virtual] |
computes a cost between this and another object.
Reimplemented in pop_point_2d, and pop_point_3d.
Definition at line 60 of file pop_geometric_object.cxx.
| virtual void pop_geometric_object::update | ( | ) | [pure virtual] |
update the object based on the parameters.
Reimplemented from pop_object.
Implemented in pop_point_2d, and pop_point_3d.
| vcl_vector<pop_parameter*> pop_object::get_parameters | ( | ) | [inline, inherited] |
| void pop_object::set | ( | vcl_vector< pop_parameter * > & | params | ) | [inline, inherited] |
vcl_vector<pop_parameter*> pop_object::params_ [protected, inherited] |
1.5.1