DM_cct_icon
List of: Classes
Subjects: Deformable Modeling
Contents: Standalone Deformable Modeling

Purpose: This class is used for drawing curve constraint tag objects in deformable modeling.

Derivation: DM_cct_icon : DM_default_icon : DM_icon : -

Filename: ds/dmicon/dmccticon.hxx

Description: The DM_cct_icon is part of the dmicon library. This icon updates a polyline to depict the current state of a curve constraint.


Related classes: The DM_def_icon_cmd_args and the DM_def_icon_query_args encapsulate many of the methods inherited from the DM_default_icon interface. Thus the Set_state and Query methods can be used to perform casting, when different libraries of icons are mixed. The DM_def_icon_draw_args and the DM_def_icon_cmd_args can be broadcast to icons using the deformable modeling interface methods, such as DM_draw_all_icons.

References: DS DM_dbl_array

Constructor: protected: DM_cct_icon::DM_cct_icon (


const DM_cct_icon& // icon


);


Copy constructor; call Make_copy and Set_owner instead.






public: DM_cct_icon::DM_cct_icon ();


Public constructor.




Destructor: protected: virtual DM_cct_icon::~DM_cct_icon ();


Destructor; use the Lose method instead.



Methods: public: virtual void DM_cct_icon::Draw (


Spatial_abs_hurler&, // error handler


const DM_icon_draw_args& // draw-command object


) const;


Draw this icon.






public: virtual void DM_cct_icon::Get_colors (


DM_dbl_array& // data array


) const;


Query color data.






public: virtual void DM_cct_icon::Get_grid (


int[2] // density


) const;


Query discretization grid density.






public: virtual DM_icon* DM_cct_icon::Make_copy (


Spatial_abs_hurler& // error handler


) const;


Clone method.






public: virtual void DM_cct_icon::Set_colors (


const double*, // color data (r,g,b)


int
// array size




// number of doubles


);


Set color data.






public: virtual void DM_cct_icon::Set_grid (


const int[2] // density


);


Set discretization grid density.






public: virtual void DM_cct_icon::Tag_object_changed (


Spatial_abs_hurler& // error handler


);


Notification of owning tag object state change.






public: virtual void DM_cct_icon::Validate ();


Update cached data.
PDF/DS/06CL.PDF
HTM/DATA/DS/DS/06CL/0004.HTM