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

Sculpter Class Reference

Provides a implementation of a class that does the sculpting operation. More...

#include <Sculpter.h>

Inheritance diagram for Sculpter:

Observer List of all members.

Public Member Functions

 Sculpter ()
virtual void update (Subject *)
 Method called by Subject notification.
void addIVFile (char *filename, SoSeparator *newCubeSep, SoSeparator *m_ghostSep, gstSeparator *m_hapRoot)
void buildScene (SoSeparator *newCubeSep, SoSeparator *m_ghostSep, gstSeparator *m_hapRoot)
void modifyCube (SbVec3f cur, SbVec3f cen, int size, SculptCube *node, SoSphere *ptr)
void sculptUpdate (SbVec3f curr, int button, SoSphere *ptr)

Public Attributes

SbString m_defectFilename
SoSwitch * m_hapSwitch
SbBox3f m_defectBounds
SoGroup * m_defectGroup
IVFilem_defectMesh
SoSwitch * m_defectSwitch
SoSeparator * m_defectSep
SoTransform * m_defectFitTransform
SoTransform * m_defectTransform
gstSeparator * m_hapFitSeparator
SculptCube * tempCube
float csize

Detailed Description

Provides a implementation of a class that does the sculpting operation.

Author:
Vaidya Chandrasekhar vchand2@evl.uic.edu


Constructor & Destructor Documentation

Sculpter::Sculpter  )  [inline]
 


Member Function Documentation

void Sculpter::addIVFile char *  filename,
SoSeparator *  newCubeSep,
SoSeparator *  m_ghostSep,
gstSeparator *  m_hapRoot
 

void Sculpter::buildScene SoSeparator *  newCubeSep,
SoSeparator *  m_ghostSep,
gstSeparator *  m_hapRoot
 

void Sculpter::modifyCube SbVec3f  cur,
SbVec3f  cen,
int  size,
SculptCube *  node,
SoSphere *  ptr
 

void Sculpter::sculptUpdate SbVec3f  curr,
int  button,
SoSphere *  ptr
 

void Sculpter::update Subject  )  [virtual]
 

Method called by Subject notification.

Implements Observer.


Member Data Documentation

float Sculpter::csize
 

SbBox3f Sculpter::m_defectBounds
 

SbString Sculpter::m_defectFilename
 

SoTransform* Sculpter::m_defectFitTransform
 

SoGroup* Sculpter::m_defectGroup
 

IVFile* Sculpter::m_defectMesh
 

SoSeparator* Sculpter::m_defectSep
 

SoSwitch* Sculpter::m_defectSwitch
 

SoTransform* Sculpter::m_defectTransform
 

gstSeparator* Sculpter::m_hapFitSeparator
 

SoSwitch* Sculpter::m_hapSwitch
 

SculptCube* Sculpter::tempCube
 


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