Main Page | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

Object3D Class Reference

Class to define 3D objects that can be displayed and manipulated. More...

#include <object3d.h>

Inheritance diagram for Object3D:

HaMolecule List of all members.

Public Member Functions

 Object3D (const int new_obj_type, const char *new_name="GEN_Object3D")
 Object3D (const Object3D &obj_ref)
bool IsConnected ()
void SetConnected (const bool status)
bool IsDisplayed ()
void SetDisplayed (const bool status)
virtual const char * GetObjName () const
virtual bool SetObjName (const char *new_name)
virtual int RotateX (double theta, const Vec3D &cnt)
 Rotate around X axis that go through cnt.

virtual int RotateY (double theta, const Vec3D &cnt)
 Rotate around Y axis that go through cnt.

virtual int RotateZ (double theta, const Vec3D &cnt)
 Rotate around Z axis that go through cnt.

virtual int RotateObj (const HaMat_double &rot_mat, const Vec3D &cnt)
 Rotate object around the center.

virtual int Translate (const Vec3D &tr_vec)
 Translate the object by (dx,dy,dz).

int GetObjType () const

Protected Attributes

int obj_type
 Type of the object.

bool connect_flag
bool displayed_flag
HaString name

Detailed Description

Class to define 3D objects that can be displayed and manipulated.


The documentation for this class was generated from the following files:
Generated on Tue Feb 17 02:03:22 2004 for harlem by doxygen 1.3.6