All Frameworks  Class Hierarchy  This Framework  Next  Indexes

SPAadm Class ADM_draw_engine

SPAbase.ACIS_OBJECT
  |
  +---SPAdmicon.DM_draw_engine
    |
    +---ADM_draw_engine
 

Usage: you must use this class as is. You should never derive it.


public class ADM_draw_engine

Overrides the base class for the drawing engine.


Role: This class implements the abstract draw primitive interface between the ADM icons and the view controller.


Constructor and Destructor Index


o ADM_draw_engine()
Constructs an ADM_draw_engine object.

Method Index


o Draw_mesh(Spatial_abs_hurler&,DS_dmod*,int,INDEXED_MESH*,double,double,double,DM_def_icon_draw_args&)
Adds the mesh.
o Lose()
Self-destructs an ADM_draw_engine object.
o Spatial_cast()
Casting operator.

Constructor and Destructor


o ADM_draw_engine
public ADM_draw_engine()
Constructs an ADM_draw_engine object.

Methods


o Draw_mesh
public virtual void Draw_mesh(Spatial_abs_hurler& abshurler,
DS_dmod* icon_owner,
int tag,
INDEXED_MESH* mesh,
double color_r,
double color_g,
double color_b,
const DM_def_icon_draw_args& args) const =0
Adds the mesh.

Parameters:
abshurler
error handler.
icon_owner
icon owner.
tag
tag.
mesh
the mesh.
color_r
color R.
color_g
color G.
color_b
color B.
args
draw args.
o Lose
public virtual void Lose()= 0
Self-destructs an ADM_draw_engine object.

Role: Users should call Lose method instead of global delete (destructor is protected).
o Spatial_cast
public virtual ADM_draw_engine* Spatial_cast()
Casting operator.

This object is included in the file: adm_draw_engine.hxx

Copyright (c) 1989-2007 by Spatial Corp. All rights reserved.