Home

ADM_hoops_icon_factory Class Reference
[HOOPS Drawing Interface]

This is an example of the icon class factory implementation. More...

#include <admhoops_icon_factory.hxx>

Inheritance diagram for ADM_hoops_icon_factory:

Inheritance graph
[legend]
Collaboration diagram for ADM_hoops_icon_factory:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ADM_hoops_icon_factory ()
 Default constructor.
virtual void Initialize (Spatial_abs_hurler &err_handler)
 Sets up a DM_default_icon_factory with the default values.
virtual void Lose ()
 Lose method for self-destruction.
virtual DM_iconMake_area_cstrn_icon (Spatial_abs_hurler &err_handler) const
 Makes an area constraint icon.
virtual DM_iconMake_area_load_icon (Spatial_abs_hurler &err_handler) const
 Makes an area load icon.
virtual DM_iconMake_attractor_icon (Spatial_abs_hurler &err_handler) const
 Makes an attractor icon.
virtual DM_icon_factoryMake_copy (Spatial_abs_hurler &err_handler) const
 Deep copy this factory.
virtual DM_iconMake_crv_cstrn_icon (Spatial_abs_hurler &err_handler) const
 Makes a curve constraint icon.
virtual DM_iconMake_crv_icon (Spatial_abs_hurler &err_handler) const
 Makes a curve icon.
virtual DM_iconMake_crv_load_icon (Spatial_abs_hurler &err_handler) const
 Makes a curve load icon.
virtual DM_iconMake_dist_press_icon (Spatial_abs_hurler &err_handler) const
 Makes a distributed pressure icon.
virtual DM_iconMake_link_cstrn_icon (Spatial_abs_hurler &err_handler) const
 Makes a link constraint icon.
virtual DM_iconMake_link_load_icon (Spatial_abs_hurler &err_handler) const
 Makes a link load icon.
virtual DM_iconMake_point_press_icon (Spatial_abs_hurler &err_handler) const
 Makes a point pressure icon.
virtual DM_iconMake_pt_cstrn_icon (Spatial_abs_hurler &err_handler) const
 Makes a point constraint icon.
virtual DM_iconMake_spring_load_icon (Spatial_abs_hurler &err_handler) const
 Makes a spring load icon.
virtual DM_iconMake_spring_set_icon (Spatial_abs_hurler &err_handler) const
 Makes a spring set icon.
virtual DM_iconMake_srf_icon (Spatial_abs_hurler &err_handler) const
 Makes a surface icon.
virtual DM_iconMake_vector_load_icon (Spatial_abs_hurler &err_handler) const
 Makes a vector load icon.
virtual void Replace_area_cstrn_icon (Spatial_abs_hurler &err_handler, DM_icon *&icon_chg)
 Replace methods change what the factory makes.
virtual void Replace_area_load_icon (Spatial_abs_hurler &err_handler, DM_icon *&icon_chg)
 Replace methods change what the factory makes.
virtual void Replace_attractor_icon (Spatial_abs_hurler &err_handler, DM_icon *&icon_chg)
 Replace methods change what the factory makes.
virtual void Replace_crv_cstrn_icon (Spatial_abs_hurler &err_handler, DM_icon *&icon_chg)
 Replace methods change what the factory makes.
virtual void Replace_crv_icon (Spatial_abs_hurler &err_handler, DM_icon *&icon_chg)
 Replace methods change what the factory makes.
virtual void Replace_crv_load_icon (Spatial_abs_hurler &err_handler, DM_icon *&icon_chg)
 Replace methods change what the factory makes.
virtual void Replace_dist_press_icon (Spatial_abs_hurler &err_handler, DM_icon *&icon_chg)
 Replace methods change what the factory makes.
virtual void Replace_link_cstrn_icon (Spatial_abs_hurler &err_handler, DM_icon *&icon_chg)
 Replace methods change what the factory makes.
virtual void Replace_link_load_icon (Spatial_abs_hurler &err_handler, DM_icon *&icon_chg)
 Replace methods change what the factory makes.
virtual void Replace_point_press_icon (Spatial_abs_hurler &err_handler, DM_icon *&icon_chg)
 Replace methods change what the factory makes.
virtual void Replace_pt_cstrn_icon (Spatial_abs_hurler &err_handler, DM_icon *&icon_chg)
 Replace methods change what the factory makes.
virtual void Replace_spring_load_icon (Spatial_abs_hurler &err_handler, DM_icon *&icon_chg)
 Replace methods change what the factory makes.
virtual void Replace_spring_set_icon (Spatial_abs_hurler &err_handler, DM_icon *&icon_chg)
 Replace methods change what the factory makes.
virtual void Replace_srf_icon (Spatial_abs_hurler &err_handler, DM_icon *&icon_chg)
 Replace methods change what the factory makes.
virtual void Replace_vector_load_icon (Spatial_abs_hurler &err_handler, DM_icon *&icon_chg)
 Replace methods change what the factory makes.


Detailed Description

This is an example of the icon class factory implementation.

Role:To replace icons, a user can replace the cpp files in the DM_icon library, or add new ones and replace DM_default_icon_factory.cpp.

See also:
DM_icon

Constructor & Destructor Documentation

ADM_hoops_icon_factory::ADM_hoops_icon_factory (  ) 

Default constructor.


Member Function Documentation

virtual void DM_default_icon_factory::Initialize ( Spatial_abs_hurler err_handler  )  [virtual, inherited]

Sets up a DM_default_icon_factory with the default values.



Parameters:
err_handler error handler.

virtual void ADM_hoops_icon_factory::Lose (  )  [virtual]

Lose method for self-destruction.

Reimplemented from DM_default_icon_factory.

virtual DM_icon* DM_default_icon_factory::Make_area_cstrn_icon ( Spatial_abs_hurler err_handler  )  const [virtual, inherited]

Makes an area constraint icon.



Parameters:
err_handler error handler.

Reimplemented from DM_icon_factory.

virtual DM_icon* DM_default_icon_factory::Make_area_load_icon ( Spatial_abs_hurler err_handler  )  const [virtual, inherited]

Makes an area load icon.



Parameters:
err_handler error handler.

Reimplemented from DM_icon_factory.

virtual DM_icon* DM_default_icon_factory::Make_attractor_icon ( Spatial_abs_hurler err_handler  )  const [virtual, inherited]

Makes an attractor icon.



Parameters:
err_handler error handler.

Reimplemented from DM_icon_factory.

virtual DM_icon_factory* ADM_hoops_icon_factory::Make_copy ( Spatial_abs_hurler err_handler  )  const [virtual]

Deep copy this factory.

Parameters:
err_handler error handler

Reimplemented from DM_default_icon_factory.

virtual DM_icon* DM_default_icon_factory::Make_crv_cstrn_icon ( Spatial_abs_hurler err_handler  )  const [virtual, inherited]

Makes a curve constraint icon.



Parameters:
err_handler error handler.

Reimplemented from DM_icon_factory.

virtual DM_icon* DM_default_icon_factory::Make_crv_icon ( Spatial_abs_hurler err_handler  )  const [virtual, inherited]

Makes a curve icon.



Parameters:
err_handler error handler.

Reimplemented from DM_icon_factory.

virtual DM_icon* DM_default_icon_factory::Make_crv_load_icon ( Spatial_abs_hurler err_handler  )  const [virtual, inherited]

Makes a curve load icon.



Parameters:
err_handler error handler.

Reimplemented from DM_icon_factory.

virtual DM_icon* DM_default_icon_factory::Make_dist_press_icon ( Spatial_abs_hurler err_handler  )  const [virtual, inherited]

Makes a distributed pressure icon.



Parameters:
err_handler error handler.

Reimplemented from DM_icon_factory.

virtual DM_icon* DM_default_icon_factory::Make_link_cstrn_icon ( Spatial_abs_hurler err_handler  )  const [virtual, inherited]

Makes a link constraint icon.



Parameters:
err_handler error handler.

Reimplemented from DM_icon_factory.

virtual DM_icon* DM_default_icon_factory::Make_link_load_icon ( Spatial_abs_hurler err_handler  )  const [virtual, inherited]

Makes a link load icon.



Parameters:
err_handler error handler.

Reimplemented from DM_icon_factory.

virtual DM_icon* DM_default_icon_factory::Make_point_press_icon ( Spatial_abs_hurler err_handler  )  const [virtual, inherited]

Makes a point pressure icon.



Parameters:
err_handler error handler.

Reimplemented from DM_icon_factory.

virtual DM_icon* DM_default_icon_factory::Make_pt_cstrn_icon ( Spatial_abs_hurler err_handler  )  const [virtual, inherited]

Makes a point constraint icon.



Parameters:
err_handler error handler.

Reimplemented from DM_icon_factory.

virtual DM_icon* DM_default_icon_factory::Make_spring_load_icon ( Spatial_abs_hurler err_handler  )  const [virtual, inherited]

Makes a spring load icon.



Parameters:
err_handler error handler.

Reimplemented from DM_icon_factory.

virtual DM_icon* DM_default_icon_factory::Make_spring_set_icon ( Spatial_abs_hurler err_handler  )  const [virtual, inherited]

Makes a spring set icon.



Parameters:
err_handler error handler.

Reimplemented from DM_icon_factory.

virtual DM_icon* DM_default_icon_factory::Make_srf_icon ( Spatial_abs_hurler err_handler  )  const [virtual, inherited]

Makes a surface icon.



Parameters:
err_handler error handler.

Reimplemented from DM_icon_factory.

virtual DM_icon* DM_default_icon_factory::Make_vector_load_icon ( Spatial_abs_hurler err_handler  )  const [virtual, inherited]

Makes a vector load icon.



Parameters:
err_handler error handler.

Reimplemented from DM_icon_factory.

virtual void ADM_hoops_icon_factory::Replace_area_cstrn_icon ( Spatial_abs_hurler err_handler,
DM_icon *&  icon_chg 
) [virtual]

Replace methods change what the factory makes.

Parameters:
err_handler error handler
icon_chg icon to change

Reimplemented from DM_default_icon_factory.

virtual void ADM_hoops_icon_factory::Replace_area_load_icon ( Spatial_abs_hurler err_handler,
DM_icon *&  icon_chg 
) [virtual]

Replace methods change what the factory makes.

Parameters:
err_handler error handler
icon_chg icon to change

Reimplemented from DM_default_icon_factory.

virtual void ADM_hoops_icon_factory::Replace_attractor_icon ( Spatial_abs_hurler err_handler,
DM_icon *&  icon_chg 
) [virtual]

Replace methods change what the factory makes.

Parameters:
err_handler error handler
icon_chg icon to change

Reimplemented from DM_default_icon_factory.

virtual void ADM_hoops_icon_factory::Replace_crv_cstrn_icon ( Spatial_abs_hurler err_handler,
DM_icon *&  icon_chg 
) [virtual]

Replace methods change what the factory makes.

Parameters:
err_handler error handler
icon_chg icon to change

Reimplemented from DM_default_icon_factory.

virtual void ADM_hoops_icon_factory::Replace_crv_icon ( Spatial_abs_hurler err_handler,
DM_icon *&  icon_chg 
) [virtual]

Replace methods change what the factory makes.

Parameters:
err_handler error handler
icon_chg icon to change

Reimplemented from DM_default_icon_factory.

virtual void ADM_hoops_icon_factory::Replace_crv_load_icon ( Spatial_abs_hurler err_handler,
DM_icon *&  icon_chg 
) [virtual]

Replace methods change what the factory makes.

Parameters:
err_handler error handler
icon_chg icon to change

Reimplemented from DM_default_icon_factory.

virtual void ADM_hoops_icon_factory::Replace_dist_press_icon ( Spatial_abs_hurler err_handler,
DM_icon *&  icon_chg 
) [virtual]

Replace methods change what the factory makes.

Parameters:
err_handler error handler
icon_chg icon to change

Reimplemented from DM_default_icon_factory.

virtual void ADM_hoops_icon_factory::Replace_link_cstrn_icon ( Spatial_abs_hurler err_handler,
DM_icon *&  icon_chg 
) [virtual]

Replace methods change what the factory makes.

Parameters:
err_handler error handler
icon_chg icon to change

Reimplemented from DM_default_icon_factory.

virtual void ADM_hoops_icon_factory::Replace_link_load_icon ( Spatial_abs_hurler err_handler,
DM_icon *&  icon_chg 
) [virtual]

Replace methods change what the factory makes.

Parameters:
err_handler error handler
icon_chg icon to change

Reimplemented from DM_default_icon_factory.

virtual void ADM_hoops_icon_factory::Replace_point_press_icon ( Spatial_abs_hurler err_handler,
DM_icon *&  icon_chg 
) [virtual]

Replace methods change what the factory makes.

Parameters:
err_handler error handler
icon_chg icon to change

Reimplemented from DM_default_icon_factory.

virtual void ADM_hoops_icon_factory::Replace_pt_cstrn_icon ( Spatial_abs_hurler err_handler,
DM_icon *&  icon_chg 
) [virtual]

Replace methods change what the factory makes.

Parameters:
err_handler error handler
icon_chg icon to change

Reimplemented from DM_default_icon_factory.

virtual void ADM_hoops_icon_factory::Replace_spring_load_icon ( Spatial_abs_hurler err_handler,
DM_icon *&  icon_chg 
) [virtual]

Replace methods change what the factory makes.

Parameters:
err_handler error handler
icon_chg icon to change

Reimplemented from DM_default_icon_factory.

virtual void ADM_hoops_icon_factory::Replace_spring_set_icon ( Spatial_abs_hurler err_handler,
DM_icon *&  icon_chg 
) [virtual]

Replace methods change what the factory makes.

Parameters:
err_handler error handler
icon_chg icon to change

Reimplemented from DM_default_icon_factory.

virtual void ADM_hoops_icon_factory::Replace_srf_icon ( Spatial_abs_hurler err_handler,
DM_icon *&  icon_chg 
) [virtual]

Replace methods change what the factory makes.

Parameters:
err_handler error handler
icon_chg icon to change

Reimplemented from DM_default_icon_factory.

virtual void ADM_hoops_icon_factory::Replace_vector_load_icon ( Spatial_abs_hurler err_handler,
DM_icon *&  icon_chg 
) [virtual]

Replace methods change what the factory makes.

Parameters:
err_handler error handler
icon_chg icon to change

Reimplemented from DM_default_icon_factory.