GEE_Geometry Class Reference

Base class for data sets. More...

#include <gee_geometry.h>

Inheritance diagram for GEE_Geometry:

Inheritance graph
[legend]
Collaboration diagram for GEE_Geometry:

Collaboration graph
[legend]
List of all members.

Public Member Functions

Static Public Member Functions

Protected Member Functions

Protected Attributes


Detailed Description

Base class for data sets.

Author:
Tommi Ilmonen


Constructor & Destructor Documentation

GEE_Geometry::GEE_Geometry VEE_GarbageBin bin = 0  ) 
 

GEE_Geometry::~GEE_Geometry  )  [virtual]
 


Member Function Documentation

GEE_Geometry * GEE_Geometry::clone  )  const [virtual]
 

Clone this object, creating an equivalent independent object.

Reimplemented in GEE_Group, GEE_Lines3D, GEE_ParticleObject, GEE_Path3D, GEE_PolygonMesh, GEE_Transformation, and GEE_TriangleMesh.

GEE_Geometry * GEE_Geometry::copy GEE_World target,
id_remap remap
const [virtual]
 

Copy this object, creating an equivalent independent object into the target world.

The new object will have a new id. The default implementation uses "clone"-call to create a new object and then sets the id and world of the object.

Reimplemented in GEE_Group.

void GEE_Geometry::erase  )  [virtual]
 

A virtual function that does any necessary operations to erase this geometry from the world.

In practice this method is only interesting in group nodes that may need to erase other stuff.

Reimplemented in GEE_Group.

bool GEE_Geometry::eraseData GEE_Containment  )  [virtual]
 

A virtual function that should be overridden to enable us to generically delete data within some volume.

Reimplemented in GEE_Group, GEE_Lines3D, GEE_ParticleObject, and GEE_TriangleMesh.

bool GEE_Geometry::intersects GEE_Containment  )  [virtual]
 

Reimplemented in GEE_Group, GEE_Lines3D, GEE_ParticleObject, GEE_Path3D, and GEE_TriangleMesh.

void GEE_Geometry::selectVertices GEE_Containment ,
uint  mask,
uint  values
[virtual]
 

Reimplemented in GEE_Group, and GEE_TriangleMesh.

void GEE_Geometry::selectFaces GEE_Containment ,
uint  mask,
uint  values
[virtual]
 

Reimplemented in GEE_Group, and GEE_TriangleMesh.

bool GEE_Geometry::colorData GEE_ReColor  )  [virtual]
 

Reimplemented in GEE_Group, GEE_Lines3D, GEE_ParticleObject, and GEE_TriangleMesh.

bool GEE_Geometry::moveData GEE_Mover  )  [virtual]
 

Reimplemented in GEE_Group, GEE_Lines3D, GEE_ParticleObject, and GEE_TriangleMesh.

void GEE_Geometry::render GEE_Renderer  )  [virtual]
 

Render this object with the renderer.

Reimplemented in GEE_Group, GEE_Lines3D, GEE_ParticleObject, GEE_Path3D, GEE_PolygonMesh, GEE_Profile, GEE_Sphere, GEE_Transformation, and GEE_TriangleMesh.

bool GEE_Geometry::getBoundingBox VEE_BoundingBox  )  [virtual]
 

Get the bounding box of this data set.

Reimplemented in GEE_Group, GEE_Lines3D, GEE_ParticleObject, GEE_Path3D, GEE_PolygonMesh, GEE_Profile, GEE_Sphere, GEE_Transformation, and GEE_TriangleMesh.

bool GEE_Geometry::move const VEE_Vector3 offset  )  [virtual]
 

Moves the data elements by some offset.

Reimplemented in GEE_Group, GEE_PolygonMesh, GEE_Transformation, and GEE_TriangleMesh.

void GEE_Geometry::setMaterial const GEE_Material m  )  [virtual]
 

Reimplemented in GEE_Group, GEE_Lines3D, and GEE_ParticleObject.

bool GEE_Geometry::read GEE_Io  )  [virtual]
 

Reads the data from a given file.

Reimplemented in GEE_Group, GEE_Lines3D, GEE_ParticleObject, GEE_Path3D, GEE_Profile, and GEE_TriangleMesh.

bool GEE_Geometry::write GEE_Io  )  [virtual]
 

Reads the data from a given stream.

Reimplemented in GEE_Group, GEE_Lines3D, GEE_ParticleObject, GEE_Path3D, GEE_Profile, and GEE_TriangleMesh.

bool GEE_Geometry::finalizeRead  )  [virtual]
 

Reimplemented in GEE_Group.

bool GEE_Geometry::readBasics GEE_Io  ) 
 

bool GEE_Geometry::writeBasics GEE_Io  ) 
 

bool GEE_Geometry::readFile const char *   ) 
 

bool GEE_Geometry::writeFile const char *   ) 
 

void GEE_Geometry::copyBasics const GEE_Geometry source  ) 
 

Copy all the parameters that are visible to GEE_Geometry from another object.

Basically an equality operator.

GEE_id_t GEE_Geometry::group  )  const [inline]
 

GEE_id_t GEE_Geometry::masterGroup  )  const
 

Returns the id of the top-level group where this geometry belongs.

If the geometry is not grouped in any way, then the id of this geometry is returned.

void GEE_Geometry::setGroup GEE_id_t  g  )  [inline]
 

GEE_id_t GEE_Geometry::generation  )  const [inline]
 

Returns the generation of the data set.

Any changes to the data set should be reflected by changing the generation number. This information is useful if one needs to process the object further and wants to know if the object has changed.

void GEE_Geometry::incrementGeneration GEE_id_t  add = 1  )  [inline]
 

Modifies the generation number by some offset.

void GEE_Geometry::setGeneration GEE_id_t  g  )  [inline]
 

void GEE_Geometry::attachEditor  )  [inline]
 

void GEE_Geometry::detachEditor  )  [inline]
 

int GEE_Geometry::editorCount  )  const [inline]
 

void GEE_Geometry::setMaterialName const std::string &  mat  ) 
 

Set the material of this object.

void GEE_Geometry::setMaterialName const char *  mat  ) 
 

Set the material of this object.

const std::string& GEE_Geometry::materialName  )  const [inline]
 

Returns the material information.

GEE_Material& GEE_Geometry::material  )  [inline]
 

bool GEE_Geometry::visible  )  const [inline]
 

void GEE_Geometry::setVisible bool  v  )  [inline]
 

VEE_Matrix4d& GEE_Geometry::transformation  )  [inline]
 

Reimplemented in GEE_Transformation.

const VEE_Matrix4d& GEE_Geometry::transformation  )  const [inline]
 

Reimplemented in GEE_Transformation.

void GEE_Geometry::setTransformation const VEE_Matrix4d t  )  [inline]
 

void GEE_Geometry::getWorldTransformation VEE_Matrix4d  )  const
 

void GEE_Geometry::getWorldTransformation VEE_Matrix4  )  const
 

void GEE_Geometry::getWorldTransformations VEE_Matrix4d ,
VEE_Matrix4d ,
bool * 
const
 

void GEE_Geometry::getWorldTransformations VEE_Matrix4 ,
VEE_Matrix4 ,
bool * 
const
 

void GEE_Geometry::centralize  ) 
 

void GEE_Geometry::setWorld GEE_World w  )  [inline]
 

uint GEE_Geometry::selectionState  )  const [inline]
 

void GEE_Geometry::setSelectionState uint  s  )  [virtual]
 

Reimplemented in GEE_Group.

void GEE_Geometry::setNearlySelected bool  s  )  [inline]
 

void GEE_Geometry::setSelected bool  s  )  [inline]
 

bool GEE_Geometry::isSelected  )  const [inline]
 

GEE_Geometry * GEE_Geometry::readGeometry GEE_Io  )  [static]
 

GEE_Geometry * GEE_Geometry::create const char *   )  [static]
 

A factory function that creates Geometry objects as needed.

void GEE_Geometry::init  )  [static]
 

Initializes the data tables used by the create factory function.

bool GEE_Geometry::intersectsBounded GEE_Bounded ,
VEE_BoundingBox myBounds,
const VEE_Matrix4 myWorldTransform
[protected]
 


Member Data Documentation

GEE_World* GEE_Geometry::m_world [protected]
 

int GEE_Geometry::m_editorCount [protected]
 

Number of editors (operators) that modify this geometry.

GEE_id_t GEE_Geometry::m_generation [protected]
 

GEE_id_t GEE_Geometry::m_group [protected]
 

GEE_Material GEE_Geometry::m_material [protected]
 

std::string GEE_Geometry::m_materialName [protected]
 

bool GEE_Geometry::m_visible [protected]
 

uint GEE_Geometry::m_selectionState [protected]
 


The documentation for this class was generated from the following files:
Generated on Mon Mar 12 21:09:04 2007 for VEE - The Visual Effects Engine by  doxygen 1.4.6