Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

IVFile Class Reference

Provides a implementation to read openInventor file into geometry. More...

#include <IVFile.h>

Inheritance diagram for IVFile:

Subject List of all members.

Public Member Functions

 IVFile ()
 IVFile (const char *)
virtual ~IVFile ()
SoIndexedTriangleStripSet * getOIVShape ()
void setTouchableByPhantom ()
gstTriPolyMeshHapticgetGHOSTShape ()
void setTriMesh (SoIndexedTriangleStripSet *)
int isTouched ()

Static Public Member Functions

static void EventCB (gstTransform *, void *, void *)
 GHOST event callback is called when the shape is touched.
static void GraphicCB (gstTransform *, void *, void *)
 GHOST graphic callback copies transform to Inventor graphics nodes.

Protected Member Functions

SoIndexedTriangleStripSet * loadGeometryFromFile ()
void setGHOSTMesh ()

Protected Attributes

SoIndexedTriangleStripSet * ivShape
SoVertexProperty * ivVertices
gstTriPolyMeshghostMesh
gstTriPolyMeshHapticghostShape
char oivFilename [1024]

Detailed Description

Provides a implementation to read openInventor file into geometry.

Author:
Vaidya Chandrasekhar vchand2@evl.uic.edu


Constructor & Destructor Documentation

IVFile::IVFile  ) 
 

IVFile::IVFile const char *   ) 
 

IVFile::~IVFile  )  [virtual]
 


Member Function Documentation

void IVFile::EventCB gstTransform *  ,
void *  ,
void * 
[static]
 

GHOST event callback is called when the shape is touched.

gstTriPolyMeshHaptic * IVFile::getGHOSTShape  ) 
 

SoIndexedTriangleStripSet * IVFile::getOIVShape  ) 
 

static void IVFile::GraphicCB gstTransform *  ,
void *  ,
void * 
[static]
 

GHOST graphic callback copies transform to Inventor graphics nodes.

int IVFile::isTouched  ) 
 

SoIndexedTriangleStripSet * IVFile::loadGeometryFromFile  )  [protected]
 

void IVFile::setGHOSTMesh  )  [protected]
 

void IVFile::setTouchableByPhantom  ) 
 

void IVFile::setTriMesh SoIndexedTriangleStripSet *   ) 
 


Member Data Documentation

gstTriPolyMesh* IVFile::ghostMesh [protected]
 

gstTriPolyMeshHaptic* IVFile::ghostShape [protected]
 

SoIndexedTriangleStripSet* IVFile::ivShape [protected]
 

SoVertexProperty* IVFile::ivVertices [protected]
 

char IVFile::oivFilename[1024] [protected]
 


The documentation for this class was generated from the following files:
Generated on Wed May 18 01:24:59 2005 for SculptDemo by  doxygen 1.4.3