Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

DrawObj Class Reference

#include <DrawObj.H>

Inherits PropertyChangedNotifier.

Inherited by AnimTexPlane, BRUSHICON_OUTLINE_OBJ, DrawPoint, GLLine3D, GLPtCloud, ISMeshObj, StatusBar, TexPalette, TexPlane, and WorldRotAxisDrawObj.

List of all members.

Public Methods

 DrawObj (str_ptr name, int roomObj=0, int display=1)
virtual ~DrawObj ()
virtual void draw ()=0
virtual void contextInit ()
str_ptr name ()
void setName (str_ptr n)
virtual void setDLMode (DL_MODE mode)
virtual void drawWrapper ()
virtual void contextInitWrapper ()
virtual void highlight ()
virtual void unhighlight ()
virtual void reColor (const Color c)
virtual void reColor (ColorMap *cm)
virtual void reTexture (str_ptr texname)
virtual int drawInPass (int pass)
virtual Wtransf xform () const
virtual Wtransf trans () const
virtual Wtransf rot () const
virtual Wtransf scale () const
virtual void scaleBy (const double s)
virtual void scaleBy (const Wvec sv)
virtual void transBy (const Wvec v)
virtual void rotBy (const Wtransf m)
virtual void setXform (cWtransf &m)
virtual void setTrans (cWtransf &m)
virtual void setRot (cWtransf &m)
virtual void setScale (cWtransf &m)
virtual BBoxbbox ()
virtual int display () const
virtual int displayBBox () const
virtual int selectable () const
virtual int movable () const
virtual int transparent () const
virtual int isRoomObj () const
virtual void show ()
virtual void hide ()
virtual void showBBox ()
virtual void hideBBox ()
virtual void setRoomObj (const int i)
virtual void setSelectable (const int s)
virtual void setMovable (const int m)
virtual void setTransparent (const int t)
virtual void writeVRML (ostream *os)
virtual void writeCPS (ostream *os)
virtual bool isLightOn (const int i) const
virtual void turnOnLight (const int l)
virtual void turnOffLight (const int l)
virtual int pointSelectCoarse (Wpt pw)
virtual int pointSelectCoarse (ROOMpt pr)
virtual int pointSelectFine (Wpt pw)
virtual int pointSelectFine (ROOMpt pr)
virtual int raySelectCoarse (Wpt p, Wvec dir, Wpt &isect_point)
virtual int raySelectFine (Wpt p, Wvec dir, Wpt &isect_point)

Protected Attributes

Wtransf _trans
Wtransf _rot
Wtransf _scale
BBox _bbox
str_ptr _name
int _roomObj
int _display
int _dispBBox
int _selectable
int _movable
int _transparent
DL_MODE _pendingDLMode
isGlContextData< DL_MODE_dlMode
isGlContextData< GLuint > _dl
bool _useLights [8]


Constructor & Destructor Documentation

DrawObj::DrawObj str_ptr    name,
int    roomObj = 0,
int    display = 1
 

DrawObj::~DrawObj   [virtual]
 


Member Function Documentation

virtual BBox* DrawObj::bbox   [inline, virtual]
 

virtual void DrawObj::contextInit   [inline, virtual]
 

Reimplemented in WorldRotAxisDrawObj.

void DrawObj::contextInitWrapper   [virtual]
 

virtual int DrawObj::display   const [inline, virtual]
 

virtual int DrawObj::displayBBox   const [inline, virtual]
 

virtual void DrawObj::draw   [pure virtual]
 

Implemented in AnimTexPlane, DrawPoint, GLLine3D, GLPtCloud, ISMeshObj, BRUSHICON_OUTLINE_OBJ, StatusBar, TexPalette, TexPlane, and WorldRotAxisDrawObj.

virtual int DrawObj::drawInPass int    pass [inline, virtual]
 

void DrawObj::drawWrapper   [virtual]
 

void DrawObj::hide   [virtual]
 

Reimplemented in TexPalette.

virtual void DrawObj::hideBBox   [inline, virtual]
 

virtual void DrawObj::highlight   [inline, virtual]
 

virtual bool DrawObj::isLightOn const int    i const [inline, virtual]
 

virtual int DrawObj::isRoomObj   const [inline, virtual]
 

virtual int DrawObj::movable   const [inline, virtual]
 

str_ptr DrawObj::name void    [inline]
 

int DrawObj::pointSelectCoarse ROOMpt    pr [virtual]
 

int DrawObj::pointSelectCoarse Wpt    pw [virtual]
 

int DrawObj::pointSelectFine ROOMpt    pr [virtual]
 

Reimplemented in ISMeshObj.

int DrawObj::pointSelectFine Wpt    pw [virtual]
 

Reimplemented in ISMeshObj.

int DrawObj::raySelectCoarse Wpt    p,
Wvec    dir,
Wpt   isect_point
[virtual]
 

int DrawObj::raySelectFine Wpt    p,
Wvec    dir,
Wpt   isect_point
[virtual]
 

void DrawObj::reColor ColorMap   cm [virtual]
 

void DrawObj::reColor const Color    c [virtual]
 

Reimplemented in DrawPoint, ISMeshObj, and TexPlane.

void DrawObj::reTexture str_ptr    texname [virtual]
 

Reimplemented in ISMeshObj.

virtual Wtransf DrawObj::rot   const [inline, virtual]
 

void DrawObj::rotBy const Wtransf    m [virtual]
 

virtual Wtransf DrawObj::scale   const [inline, virtual]
 

void DrawObj::scaleBy const Wvec    sv [virtual]
 

void DrawObj::scaleBy const double    s [virtual]
 

virtual int DrawObj::selectable   const [inline, virtual]
 

void DrawObj::setDLMode DL_MODE    mode [virtual]
 

virtual void DrawObj::setMovable const int    m [inline, virtual]
 

void DrawObj::setName str_ptr    n [inline]
 

virtual void DrawObj::setRoomObj const int    i [inline, virtual]
 

void DrawObj::setRot cWtransf   m [virtual]
 

Reimplemented in TexPalette.

void DrawObj::setScale cWtransf   m [virtual]
 

Reimplemented in TexPalette.

virtual void DrawObj::setSelectable const int    s [inline, virtual]
 

void DrawObj::setTrans cWtransf   m [virtual]
 

Reimplemented in TexPalette.

virtual void DrawObj::setTransparent const int    t [inline, virtual]
 

void DrawObj::setXform cWtransf   m [virtual]
 

virtual void DrawObj::show   [inline, virtual]
 

Reimplemented in TexPalette.

virtual void DrawObj::showBBox   [inline, virtual]
 

virtual Wtransf DrawObj::trans   const [inline, virtual]
 

void DrawObj::transBy const Wvec    v [virtual]
 

virtual int DrawObj::transparent   const [inline, virtual]
 

virtual void DrawObj::turnOffLight const int    l [inline, virtual]
 

virtual void DrawObj::turnOnLight const int    l [inline, virtual]
 

virtual void DrawObj::unhighlight   [inline, virtual]
 

void DrawObj::writeCPS ostream *    os [virtual]
 

Reimplemented in TexPlane.

void DrawObj::writeVRML ostream *    os [virtual]
 

Reimplemented in ISMeshObj.

virtual Wtransf DrawObj::xform   const [inline, virtual]
 


Member Data Documentation

BBox DrawObj::_bbox [protected]
 

int DrawObj::_dispBBox [protected]
 

int DrawObj::_display [protected]
 

isGlContextData<GLuint> DrawObj::_dl [protected]
 

isGlContextData<DL_MODE> DrawObj::_dlMode [protected]
 

int DrawObj::_movable [protected]
 

str_ptr DrawObj::_name [protected]
 

DL_MODE DrawObj::_pendingDLMode [protected]
 

int DrawObj::_roomObj [protected]
 

Wtransf DrawObj::_rot [protected]
 

Wtransf DrawObj::_scale [protected]
 

Reimplemented in StatusBar.

int DrawObj::_selectable [protected]
 

Wtransf DrawObj::_trans [protected]
 

int DrawObj::_transparent [protected]
 

bool DrawObj::_useLights[8] [protected]
 


The documentation for this class was generated from the following files:
Generated on Mon Sep 15 16:27:57 2003 for inspace by doxygen1.2.18