Home

DM_rend_options Class Reference
[Interactive Graphics Interface]

This class is used internally by the dmicon library for encapsulating draw options. More...

#include <dmrend_opt.hxx>

List of all members.

Public Member Functions

 DM_rend_options (int bitfield)
 Copy constructor; call Make_copy and Set_owner instead.
 DM_rend_options ()
 Public constructor.
int Draw_cpts () const
 Query draw control points option.
int Draw_cstrns () const
 Query draw constraints option.
int Draw_curve_comb () const
 Query draw curvature comb option.
int Draw_elems () const
 Query draw element boundary option.
int Draw_loads () const
 Query draw loads option.
int Draw_seams () const
 Query draw seams option.
void Set_cpts_off ()
 Set draw control points option off.
void Set_cpts_on ()
 Set draw control points option on.
void Set_cstrns_off ()
 Set draw constraints option off.
void Set_cstrns_on ()
 Set draw constraints option on.
void Set_curve_comb_off ()
 Set draw curvature comb option off.
void Set_curve_comb_on ()
 Set draw curvature comb option on.
void Set_elems_off ()
 Set draw element boundary option off.
void Set_elems_on ()
 Set draw element boundary option on.
void Set_loads_off ()
 Set draw loads option off.
void Set_loads_on ()
 Set draw loads option on.
void Set_seams_off ()
 Set draw seams option off.
void Set_seams_on ()
 Set draw seams option on.


Detailed Description

This class is used internally by the dmicon library for encapsulating draw options.

Role: The DM_rend_options is part of the dmicon library, and is only used internally by the dmicon library. DM_rend_options are constructed from a bitfield defined by the DM_DRAW_XXX macros defined in the file dmapinum.hxx.
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.
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.


Constructor & Destructor Documentation

DM_rend_options::DM_rend_options (  ) 

Public constructor.

DM_rend_options::DM_rend_options ( int  bitfield  ) 

Copy constructor; call Make_copy and Set_owner instead.

Parameters:
bitfield bitfield


Member Function Documentation

int DM_rend_options::Draw_cpts (  )  const

Query draw control points option.

int DM_rend_options::Draw_cstrns (  )  const

Query draw constraints option.

int DM_rend_options::Draw_curve_comb (  )  const

Query draw curvature comb option.

int DM_rend_options::Draw_elems (  )  const

Query draw element boundary option.

int DM_rend_options::Draw_loads (  )  const

Query draw loads option.

int DM_rend_options::Draw_seams (  )  const

Query draw seams option.

void DM_rend_options::Set_cpts_off (  ) 

Set draw control points option off.

void DM_rend_options::Set_cpts_on (  ) 

Set draw control points option on.

void DM_rend_options::Set_cstrns_off (  ) 

Set draw constraints option off.

void DM_rend_options::Set_cstrns_on (  ) 

Set draw constraints option on.

void DM_rend_options::Set_curve_comb_off (  ) 

Set draw curvature comb option off.

void DM_rend_options::Set_curve_comb_on (  ) 

Set draw curvature comb option on.

void DM_rend_options::Set_elems_off (  ) 

Set draw element boundary option off.

void DM_rend_options::Set_elems_on (  ) 

Set draw element boundary option on.

void DM_rend_options::Set_loads_off (  ) 

Set draw loads option off.

void DM_rend_options::Set_loads_on (  ) 

Set draw loads option on.

void DM_rend_options::Set_seams_off (  ) 

Set draw seams option off.

void DM_rend_options::Set_seams_on (  ) 

Set draw seams option on.