#include <DrawObj.H>
Inherits PropertyChangedNotifier.
Inherited by AnimTexPlane, BRUSHICON_OUTLINE_OBJ, DrawPoint, GLLine3D, GLPtCloud, ISMeshObj, StatusBar, TexPalette, TexPlane, and WorldRotAxisDrawObj.
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 BBox * | bbox () |
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] |
|
|
|
|
|
|
|
Reimplemented in WorldRotAxisDrawObj. |
|
|
|
|
|
|
|
Implemented in AnimTexPlane, DrawPoint, GLLine3D, GLPtCloud, ISMeshObj, BRUSHICON_OUTLINE_OBJ, StatusBar, TexPalette, TexPlane, and WorldRotAxisDrawObj. |
|
|
|
|
|
Reimplemented in TexPalette. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented in ISMeshObj. |
|
Reimplemented in ISMeshObj. |
|
|
|
|
|
|
|
|
|
Reimplemented in ISMeshObj. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented in TexPalette. |
|
Reimplemented in TexPalette. |
|
|
|
Reimplemented in TexPalette. |
|
|
|
|
|
Reimplemented in TexPalette. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented in TexPlane. |
|
Reimplemented in ISMeshObj. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented in StatusBar. |
|
|
|
|
|
|
|
|