cppcode/miscIPOL.cpp File Reference

Miscellaneous functions called from colorfilteringIPOL.cpp and rgbcubeIPOL.cpp. More...

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
Include dependency graph for miscIPOL.cpp:

Go to the source code of this file.

Functions

void normalize_vector (float u[3])
 Normalize R^3 vector.
float scalar_product (float u[3], float v[3])
 Scalar product of two R^3 vectors.
void vectorial_product (float u[3], float v[3], float w[3])
 Vectorial product of two R^3 vectors.
float vector_norm (float u[3])
 Length of R^3 vector.
float ** sample_arclength (float A[3], float B[3], float O[3], int npoints)
 Samples an arc of circunference in 3D.
void delete_list3D (float **points, int npoints)
 Delete a list of 3D points.

Detailed Description

Miscellaneous functions called from colorfilteringIPOL.cpp and rgbcubeIPOL.cpp.

Version:
1.0
Author:
Jose Luis Lisani; <joseluis.lisani@uib.es>

Definition in file miscIPOL.cpp.


Function Documentation

void delete_list3D ( float **  points,
int  npoints 
)

Delete a list of 3D points.

Parameters:
[in] points list of points
[in] npoints list of points

Definition at line 172 of file miscIPOL.cpp.

Here is the caller graph for this function:

void normalize_vector ( float  u[3]  ) 

Normalize R^3 vector.

Parameters:
in/out] input/output vector

Definition at line 43 of file miscIPOL.cpp.

Here is the caller graph for this function:

float** sample_arclength ( float  A[3],
float  B[3],
float  O[3],
int  npoints 
)

Samples an arc of circunference in 3D.

Parameters:
[in] A,B end points of the arc
[in] O center of the circunference
[in] npoints number of sampling points (including both end-points)
Returns:
list of sampled points

Definition at line 101 of file miscIPOL.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

float scalar_product ( float  u[3],
float  v[3] 
)

Scalar product of two R^3 vectors.

Parameters:
[in] u,v input vectors
Returns:
scalar product (float)

Definition at line 58 of file miscIPOL.cpp.

Here is the caller graph for this function:

float vector_norm ( float  u[3]  ) 

Length of R^3 vector.

Parameters:
[in] u input vector
Returns:
vector norm (float)

Definition at line 85 of file miscIPOL.cpp.

Here is the caller graph for this function:

void vectorial_product ( float  u[3],
float  v[3],
float  w[3] 
)

Vectorial product of two R^3 vectors.

Parameters:
[in] u,v input vectors
[out] w output vector

Definition at line 71 of file miscIPOL.cpp.

Here is the caller graph for this function:

 All Classes Files Functions Variables Defines
Generated on Fri Jul 8 12:55:47 2011 for color dimensional filtering by  doxygen 1.6.3