All Frameworks Class Hierarchy This Framework Previous Next Indexes
SPAdmicon Class DM_srf_icon
SPAbase.ACIS_OBJECT
|
+---SPAds.DM_icon
|
+---SPAdmicon.DM_default_icon
|
+---DM_srf_icon
Usage: you must use this class as is. You should never derive it.
public class DM_srf_icon
This class is used for drawing deformable surface tag objects in standalone deformable modeling.
Role: The DM_srf_icon is part of the dmicon library. This icon updates a grid of
polylines to depict the current state of a deformable surface. Control points and element
boundaries can also be displayed
Related classes: DM_ica_draw_option and DM_icq_draw_option encapsulate set and query
draw option commands using the DM_rend_options class. These derive from the
DM_def_icon_cmd_args and DM_def_icon_query_args base 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.
- See also:
- DM_cpt_icon
Constructor and Destructor Index
- o
DM_srf_icon()
- Public constructor.
Method Index
- o
Draw(Spatial_abs_hurler&,DM_icon_draw_args&)
- Draws this icon.
- o
Get_colors(DM_dbl_array&)
- Queries color data.
- o
Get_grid(int[2])
- Queries discretization grid density.
- o
Invalidate()
- Marks cached data bad.
- o
Make_copy(Spatial_abs_hurler&)
- Clone method.
- o
Set_colors(double*,int)
- Sets color data.
- o
Set_draw_option(int)
- Sets draw options.
- o
Set_grid(int[2])
- Sets discretization grid density.
- o
Set_icon_width(double)
- Sets icon draw width.
- o
Set_owner(Spatial_abs_hurler&,DS_dmod*,int)
- Notification of owner completion, for icon initialization.
- o
Tag_object_changed(Spatial_abs_hurler&)
- Notification of owning tag object state change.
- o
Validate()
- Updates cached data.
Constructor and Destructor
o DM_srf_icon
-
Public constructor.
Methods
o Draw
-
Draws this icon.
- Parameters:
-
- err_handler
- error handler.
- draw_obj
- draw-command object.
o Get_colors
-
Queries color data.
- Parameters:
-
- arr_data
- data array.
o Get_grid
public virtual void Get_grid( | int[2] | density)const |
-
Queries discretization grid density.
- Parameters:
-
- density
- density.
o Invalidate
public virtual void Invalidate( | ) |
-
Marks cached data bad.
o Make_copy
-
Clone method.
- Parameters:
-
- err_handler
- error handler.
o Set_colors
public virtual void Set_colors( | const double* | col_data, |
| int | arr_size) |
-
Sets color data.
- Parameters:
-
- col_data
- color data (r,g,b).
- arr_size
- array size, number of doubles.
o Set_draw_option
public virtual void Set_draw_option( | int | option) |
-
Sets draw options.
- Parameters:
-
- option
- option.
o Set_grid
public virtual void Set_grid( | const int[2] | density) |
-
Sets discretization grid density.
- Parameters:
-
- density
- density.
o Set_icon_width
public virtual void Set_icon_width( | double | width) |
-
Sets icon draw width.
- Parameters:
-
- width
- width.
o Set_owner
-
Notification of owner completion, for icon initialization.
- Parameters:
-
- err_handler
- error handler.
- new_dmod
- icon owner dmod.
- new_tag
- icon owner tag ID.
o Tag_object_changed
-
Notification of owning tag object state change.
- Parameters:
-
- err_handler
- error handler.
o Validate
public virtual void Validate( | ) |
-
Updates cached data.
This object is included in the file: dmsrficon.hxx