|
User Documentation |
|
Centre for Vision, Speech & Signal Processing |
|
PUBLIC |
VizzC::VizzC(void)
VizzC::~VizzC(void)
VizzC::VsetToVRML(SArray1dC &,SArray1dC &,int,const StringC &,double,double)
VizzC::VRMLHeader(int,double,Vector3dC,Vector3dC,ofstream &)
VizzC::VRMLBall(VectorSetC &,Vector3dC &,int,double,int,ofstream &)
VizzC::VRMLEllipsoid(VectorSetC &,SArray1dC &,SArray1dC &,Vector3dC &,int,int,ofstream &)
VizzC::GetBBox(SArray1dC &,Vector3dC &,Vector3dC &)
VizzC::NormalizeVSet(SArray1dC &)
VizzC::CreateTestBalls(SArray1dC &,SArray1dC &,const int,const int)
VizzC::TestVsetToVRML(const StringC &)
|
Comments:
-----------------------------------------------------------------------------
********************************* VizzC ***********************************
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
********** VizzC ********************************************************
-----------------------------------------------------------------------------
Methods:
- VizzC()
-
- ~VizzC()
-
Destructor.
- int VsetToVRML(SArray1dC<VectorSetC> & position,SArray1dC<Vector3dC> & colour,int max_time_step,const StringC & filename,double ballsize = 5,double duration = 0)
-
Export VRML file containing the animation:
position ... each element (i.e. vector set) stores positions
of a ball over a time sequence
colour ... colours of the balls
max_time_step ... max number of time steps
duration ... in seconds (if zero, it will be set to
max_time_step/10)Create a set of test balls
- void VRMLHeader(int max_time_step,double duration,Vector3dC min,Vector3dC max,ofstream & of)
-
- void VRMLBall(VectorSetC & position,Vector3dC & colour,int max_time_step,double ballsize,int iball,ofstream & of)
-
- void VRMLEllipsoid(VectorSetC & position,SArray1dC<Vector3dC> & scale,SArray1dC<QuarternC> & rot,Vector3dC & colour,int max_time_step,int iball,ofstream & of)
-
- void GetBBox(SArray1dC<VectorSetC> & position,Vector3dC & min,Vector3dC & max)
-
Find out the bounding box
- double NormalizeVSet(SArray1dC<VectorSetC> & position)
-
Normalize the point set to a 100 unit cube in +X +Y +Z
returns that factor used to multiply
- int CreateTestBalls(SArray1dC<VectorSetC> & position,SArray1dC<Vector3dC> & colour,const int max_ball,const int max_time)
-
Create a set of test balls
- int TestVsetToVRML(const StringC & file = "pokus1.wrl")
-
Create a Vset and dump to file for a test
|
Programmer:Andrew Stoddart, Documentation by CxxDoc: Tue Mar 20 10:48:08 2001
|