Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

vuVector.cpp File Reference

#include <math.h>
#include <stdio.h>
#include "vuVector.h"
#include "vuMatrix.h"

Include dependency graph for vuVector.cpp:

Include dependency graph

Go to the source code of this file.

Functions

float dot (const vuVector &v1, const vuVector &v2)
vuVector cross (const vuVector &v1, const vuVector &v2)
const vuVector operator * (float s, const vuVector &v)
int strip_white_space (char *temp)
int get_next_comma (char *temp)
 This will return the position of the first comma in the string.
int get_next_return (char *temp)
 This will return the position of the first return in te string.
int get_next_blank (char *temp)
 this will return the position of the first ' ' or '' in the string
int clear_blanks (char *temp)
 this will return the position of the first non ' ' and non '' character in the string
ostream & operator<< (ostream &out, const vuVector &v)
istream & operator>> (istream &in, vuVector &v)


Function Documentation

int clear_blanks char *  temp  ) 
 

this will return the position of the first non ' ' and non '' character in the string

Definition at line 481 of file vuVector.cpp.

Referenced by load_WithTime(), vuKeyFramerDialog::OpenGIFile(), vuParallelCamera::RestoreShot(), vuParallelCamera::RestoreShotOrtho(), and vuPerspectiveCamera::RestoreShotPersp().

vuVector cross const vuVector v1,
const vuVector v2
 

Definition at line 224 of file vuVector.cpp.

References vuVector::val.

Referenced by vu111211A::computeViewMatrix(), and vu1512119::computeViewMatrix().

float dot const vuVector v1,
const vuVector v2
 

Definition at line 218 of file vuVector.cpp.

References vuVector::val.

Referenced by vuSphLfFlt_FitAngle< SIZE, TYPE >::calcFilteredViews(), vu1512121::DrawSurfaceInSimplex(), vuSphVwFlt_Blend< SIZE, TYPE >::filter(), and vuSphericFilter< SIZE, TYPE >::getNearestViews().

int get_next_blank char *  temp  ) 
 

this will return the position of the first ' ' or '' in the string

Definition at line 470 of file vuVector.cpp.

Referenced by vuVector::load().

int get_next_comma char *  temp  ) 
 

This will return the position of the first comma in the string.

Definition at line 448 of file vuVector.cpp.

Referenced by vuVector::load(), load_WithTime(), vuKeyFramerDialog::OpenGIFile(), vuPerspectiveCamera::RestoreNextShot(), vuPerspectiveCamera::RestorePreviousShot(), vuParallelCamera::RestoreShot(), vuPerspectiveCamera::RestoreShot(), vuParallelCamera::RestoreShotOrtho(), and vuPerspectiveCamera::RestoreShotPersp().

int get_next_return char *  temp  ) 
 

This will return the position of the first return in te string.

Definition at line 459 of file vuVector.cpp.

const vuVector operator * float  s,
const vuVector v
 

Definition at line 320 of file vuVector.cpp.

References vuVector::val.

ostream& operator<< ostream &  out,
const vuVector v
 

Definition at line 538 of file vuVector.cpp.

References vuVector::val.

istream& operator>> istream &  in,
vuVector v
 

Definition at line 547 of file vuVector.cpp.

References vuVector::val.

int strip_white_space char *  temp  ) 
 

Definition at line 437 of file vuVector.cpp.

Referenced by vuVector::load().


Generated on Wed Dec 15 21:20:53 2004 for vuVolume by  doxygen 1.3.9.1