File SHAREDvector Documentation
Automatically generated with Code Structure Viewer (CS), Project Version: 3o4d 17-November-2020
Copyright © 2020, BAI Research. All Rights Reserved.
File Name: SHAREDvector.cpp/.hpp
File Description: SHARED vector
File Function List
-
- calculateRotationVectorFromDeformationMatrix
- subtractVectorsRT
- addVectorsRT
- multiplyVectorByScalarRT
- copyVectorRT
- normaliseVector
- negativeVector
- dotProduct
- crossProduct
- makeMatrix
- multMatrixByVector
- createVector
- findMagnitudeOfVector
- copyVectors
- copyMatricies
- multiplyMatricies
- copyMatrixTwoIntoMatrixOne
- find2DintersectionPoint
- calcDistanceBetweenTwoPoints2D
- solve2DlineEquationWithTwoPoints
- find2DintersectionPointOfTwoLines
- twoPointsAreTheSame2D
- determineIfPointLiesOnAKnownLine2D
- compareDoublesRelaxed
- determineIfPointLiesOnAKnownLine2Drelaxed
- twoPointsAreTheSame2Drelaxed
File Diagram (functions hierarchy)
Function SHAREDvectorClass::calculateRotationVectorFromDeformationMatrix()
Function Summary
name | return type | description |
calculateRotationVectorFromDeformationMatrix | void | calculate rotation vector from deformation matrix |
Function Arguments
name | type | description |
deformationMatrix | mat* | deformation matrix |
rotationVector | vec* | rotation vector |
Function Reference List
N/A
Function Trace
location | current function being traced |
RTreferenceManipulation.hpp | calculateRotationVectorFromDeformationMatrix |
RTreferenceManipulation.hpp | addReferenceToFileObjectRayTraceFormat |
RTreferenceManipulation.hpp | write2DReferencesLayerToFileObjectRayTraceFormat |
RTmain.hpp | write2DReferenceListCollapsedTo1DToFileRayTraceFormat |
Trace Diagram (magenta)
Function SHAREDvectorClass::subtractVectorsRT()
Function Summary
name | return type | description |
subtractVectorsRT | void | subtract vectors RT |
Function Arguments
name | type | description |
vect1 | const vec* | vect 1 |
vect2 | const vec* | vect 2 |
vect | vec* | vect |
Function Reference List
N/A
Function Trace
location | current function being traced |
RTscene.hpp | subtractVectorsRT |
RTscene.hpp | calculateAmbientDiffuseSpecular |
RTscene.hpp | createImage |
RTscene.hpp | rayTraceSceneWithoutParse |
RTmain.hpp | rayTraceScene |
RTraytracer.hpp | subtractVectorsRT |
RTraytracer.hpp | calculateSphere |
RToperations.hpp | subtractVectorsRT |
RToperations.hpp | findIntersectLineWithTri |
RTraytracer.hpp | findIntersectLineWithQuad |
RTraytracer.hpp | findIntersectLineWithTri |
RTraytracer.hpp | subtractVectorsRT |
RTraytracer.hpp | subtractVectorsRT |
Trace Diagram (magenta)
Function SHAREDvectorClass::addVectorsRT()
Function Summary
name | return type | description |
addVectorsRT | void | add vectors RT |
Function Arguments
name | type | description |
vect1 | const vec* | vect 1 |
vect2 | const vec* | vect 2 |
vect | vec* | vect |
Function Reference List
N/A
Function Trace
location | current function being traced |
RTraytracer.hpp | addVectorsRT |
RTraytracer.hpp | calculateCylinder |
RTscene.hpp | rayTrace |
RTscene.hpp | createImage |
RTscene.hpp | rayTraceSceneWithoutParse |
RTmain.hpp | rayTraceScene |
RTraytracer.hpp | addVectorsRT |
RTraytracer.hpp | addVectorsRT |
RTraytracer.hpp | addVectorsRT |
RTraytracer.hpp | addVectorsRT |
RTraytracer.hpp | addVectorsRT |
Trace Diagram (magenta)
Function SHAREDvectorClass::multiplyVectorByScalarRT()
Function Summary
name | return type | description |
multiplyVectorByScalarRT | void | multiply vector by scalar RT |
Function Arguments
name | type | description |
vect1 | const vec* | vect 1 |
multiplyer | const double | multiplyer |
vect | vec* | vect |
Function Reference List
N/A
Function Trace
location | current function being traced |
RTscene.hpp | multiplyVectorByScalarRT |
RTscene.hpp | calculateAmbientDiffuseSpecular |
RTscene.hpp | createImage |
RTscene.hpp | rayTraceSceneWithoutParse |
RTmain.hpp | rayTraceScene |
RTraytracer.hpp | multiplyVectorByScalarRT |
RTraytracer.hpp | calculateCylinder |
RTraytracer.hpp | multiplyVectorByScalarRT |
RTraytracer.hpp | multiplyVectorByScalarRT |
RTraytracer.hpp | multiplyVectorByScalarRT |
RTraytracer.hpp | multiplyVectorByScalarRT |
RTraytracer.hpp | multiplyVectorByScalarRT |
Trace Diagram (magenta)
Function SHAREDvectorClass::copyVectorRT()
Function Summary
name | return type | description |
copyVectorRT | void | copy vector RT |
Function Arguments
name | type | description |
vecNew | vec* | vec new |
vecToCopy | const vec* | vec to copy |
Function Reference List
N/A
Function Trace
location | current function being traced |
RTscene.hpp | copyVectorRT |
RTscene.hpp | calculateAmbientDiffuseSpecular |
RTscene.hpp | createImage |
RTscene.hpp | rayTraceSceneWithoutParse |
RTmain.hpp | rayTraceScene |
RTscene.hpp | copyVectorRT |
RToperations.hpp | copyVectorRT |
RTraytracer.hpp | findIntersectLineWithQuad |
RTraytracer.hpp | calculatePrimQuad |
RTraytracer.hpp | copyVectorRT |
Trace Diagram (magenta)
Function SHAREDvectorClass::normaliseVector()
Function Summary
name | return type | description |
normaliseVector | void | normalise vector |
Function Arguments
name | type | description |
vect1 | vec* | vect 1 |
Function Reference List
Function Trace
location | current function being traced |
RTscene.hpp | normaliseVector |
RTscene.hpp | calculateAmbientDiffuseSpecular |
RTscene.hpp | createImage |
RTscene.hpp | rayTraceSceneWithoutParse |
RTmain.hpp | rayTraceScene |
RTraytracer.hpp | normaliseVector |
RTraytracer.hpp | drawPoint |
Trace Diagram (magenta)
Function SHAREDvectorClass::negativeVector()
Function Summary
name | return type | description |
negativeVector | void | negative vector |
Function Arguments
name | type | description |
vect1 | vec* | vect 1 |
vect | vec* | vect |
Function Reference List
N/A
Function Trace
location | current function being traced |
RTraytracer.hpp | negativeVector |
RTraytracer.hpp | calculateCylinder |
RTscene.hpp | rayTrace |
RTscene.hpp | createImage |
RTscene.hpp | rayTraceSceneWithoutParse |
RTmain.hpp | rayTraceScene |
RTraytracer.hpp | negativeVector |
RTraytracer.hpp | negativeVector |
RTraytracer.hpp | negativeVector |
RTraytracer.hpp | negativeVector |
RTraytracer.hpp | negativeVector |
Trace Diagram (magenta)
Function SHAREDvectorClass::dotProduct()
Function Summary
name | return type | description |
dotProduct | double | dot product |
Function Arguments
name | type | description |
vect1 | const vec* | vect 1 |
vect2 | const vec* | vect 2 |
Function Reference List
N/A
Function Trace
location | current function being traced |
RTscene.hpp | dotProduct |
RTscene.hpp | calculateAmbientDiffuseSpecular |
RTscene.hpp | createImage |
RTscene.hpp | rayTraceSceneWithoutParse |
RTmain.hpp | rayTraceScene |
RTraytracer.hpp | dotProduct |
RTraytracer.hpp | calculateSphere |
Trace Diagram (magenta)
Function SHAREDvectorClass::crossProduct()
Function Summary
name | return type | description |
crossProduct | void | cross product |
Function Arguments
name | type | description |
vect1 | vec* | vect 1 |
vect2 | vec* | vect 2 |
vect | vec* | vect |
Function Reference List
N/A
Function Trace
location | current function being traced |
RTscene.hpp | crossProduct |
RTscene.hpp | createImage |
RTscene.hpp | rayTraceSceneWithoutParse |
RTmain.hpp | rayTraceScene |
Trace Diagram (magenta)
Function SHAREDvectorClass::makeMatrix()
Function Summary
name | return type | description |
makeMatrix | void | make matrix |
Function Arguments
name | type | description |
vect1 | vec* | vect 1 |
vect2 | vec* | vect 2 |
vect3 | vec* | vect 3 |
matx | mat* | matx |
Function Reference List
N/A
Function Trace
location | current function being traced |
RTscene.hpp | makeMatrix |
RTscene.hpp | createImage |
RTscene.hpp | rayTraceSceneWithoutParse |
RTmain.hpp | rayTraceScene |
Trace Diagram (magenta)
Function SHAREDvectorClass::multMatrixByVector()
Function Summary
name | return type | description |
multMatrixByVector | void | mult matrix by vector |
Function Arguments
name | type | description |
matx | mat* | matx |
vect1 | vec* | vect 1 |
vect | vec* | vect |
Function Reference List
N/A
Function Trace
location | current function being traced |
RTraytracer.hpp | multMatrixByVector |
RTscene.hpp | rayTrace |
RTscene.hpp | createImage |
RTscene.hpp | rayTraceSceneWithoutParse |
RTmain.hpp | rayTraceScene |
Trace Diagram (magenta)
Function SHAREDvectorClass::createVector()
Function Summary
name | return type | description |
createVector | void | create vector |
Function Arguments
name | type | description |
vec | vec* | vec |
Function Reference List
N/A
Function Trace
location | current function being traced |
RTraytracer.hpp | createVector |
RTscene.hpp | rayTrace |
RTscene.hpp | createImage |
RTscene.hpp | rayTraceSceneWithoutParse |
RTmain.hpp | rayTraceScene |
Trace Diagram (magenta)
Function SHAREDvectorClass::findMagnitudeOfVector()
Function Summary
name | return type | description |
findMagnitudeOfVector | double | find magnitude of vector |
Function Arguments
name | type | description |
vect1 | const vec* | vect 1 |
Function Reference List
N/A
Function Trace
location | current function being traced |
SHAREDvector.hpp | findMagnitudeOfVector |
RTscene.hpp | normaliseVector |
RTscene.hpp | calculateAmbientDiffuseSpecular |
RTscene.hpp | createImage |
RTscene.hpp | rayTraceSceneWithoutParse |
RTmain.hpp | rayTraceScene |
RTraytracer.hpp | normaliseVector |
RTraytracer.hpp | drawPoint |
Trace Diagram (magenta)
Function SHAREDvectorClass::copyVectors()
Function Summary
name | return type | description |
copyVectors | void | copy vectors |
Function Arguments
name | type | description |
vecNew | vec* | vec new |
vecToCopy | const vec* | vec to copy |
Function Reference List
N/A
Function Trace
location | current function being traced |
LDreferenceManipulation.hpp | copyVectors |
RTreferenceManipulation.hpp | copyReferences |
RTreferenceManipulation.hpp | write2DReferencesLayerToFileObjectRayTraceFormat |
RTmain.hpp | write2DReferenceListCollapsedTo1DToFileRayTraceFormat |
LDreferenceManipulation.hpp | copyReferences |
LDreferenceManipulation.hpp | write2DreferencesLayerToFileObject |
SHAREDvector.hpp | copyVectors |
Trace Diagram (magenta)
Function SHAREDvectorClass::copyMatricies()
Function Summary
name | return type | description |
copyMatricies | void | copy matricies |
Function Arguments
name | type | description |
matNew | mat* | mat new |
matToCopy | const mat* | mat to copy |
Function Reference List
-
- copyVectors
- copyVectors
- copyVectors
Function Trace
location | current function being traced |
LDreferenceManipulation.hpp | copyMatricies |
RTreferenceManipulation.hpp | copyReferences |
RTreferenceManipulation.hpp | write2DReferencesLayerToFileObjectRayTraceFormat |
RTmain.hpp | write2DReferenceListCollapsedTo1DToFileRayTraceFormat |
LDreferenceManipulation.hpp | copyReferences |
LDreferenceManipulation.hpp | write2DreferencesLayerToFileObject |
Trace Diagram (magenta)
Function SHAREDvectorClass::multiplyMatricies()
Function Summary
name | return type | description |
multiplyMatricies | void | multiply matricies |
Function Arguments
name | type | description |
matNew | mat* | mat new |
mat1 | mat* | mat 1 |
mat2 | mat* | mat 2 |
Function Reference List
N/A
Function Trace
location | current function being traced |
LDparser.hpp | multiplyMatricies |
RTmain.hpp | parseFile |
Trace Diagram (magenta)
Function SHAREDvectorClass::copyMatrixTwoIntoMatrixOne()
Function Summary
name | return type | description |
copyMatrixTwoIntoMatrixOne | void | copy matrix two into matrix one |
Function Arguments
name | type | description |
mat1 | mat* | mat 1 |
mat2 | mat* | mat 2 |
Function Reference List
N/A
Function Trace
location | current function being traced |
LDreferenceManipulation.hpp | copyMatrixTwoIntoMatrixOne |
LDreferenceManipulation.hpp | addReferenceToFileObject |
LDreferenceManipulation.hpp | write2DreferencesLayerToFileObject |
RTmain.hpp | write2DreferenceListCollapsedTo1DtoFile |
Trace Diagram (magenta)
Function SHAREDvectorClass::find2DintersectionPoint()
Function Summary
name | return type | description |
find2DintersectionPoint | void | find 2D intersection point |
Function Arguments
name | type | description |
ax | double | ax |
ay | double | ay |
bx | double | bx |
by | double | by |
cx | const double | cx |
cy | const double | cy |
dx | const double | dx |
dy | const double | dy |
intersectionX | double* | intersection X |
intersectionY | double* | intersection Y |
interceptionFound | bool* | interception found |
interceptionPointFound | bool* | interception point found |
Function Reference List
-
- twoPointsAreTheSame2D
- solve2DlineEquationWithTwoPoints
- twoPointsAreTheSame2D
- solve2DlineEquationWithTwoPoints
- find2DintersectionPointOfTwoLines
- compareDoublesRelaxed
- SHAREDvarsClass::compareDoubles
- compareDoublesRelaxed
- SHAREDvarsClass::compareDoubles
- twoPointsAreTheSame2Drelaxed
- twoPointsAreTheSame2D
- determineIfPointLiesOnAKnownLine2Drelaxed
- determineIfPointLiesOnAKnownLine2D
- compareDoublesRelaxed
- SHAREDvarsClass::compareDoubles
- determineIfPointLiesOnAKnownLine2Drelaxed
- determineIfPointLiesOnAKnownLine2D
- compareDoublesRelaxed
- SHAREDvarsClass::compareDoubles
Function Trace
location | current function being traced |
RToperations.hpp | find2DintersectionPoint |
RToperations.hpp | findIntersectLineWithLine2D |
RTraytracer.hpp | findIntersectLineWithLine |
RTraytracer.hpp | calculatePrimLine |
RTscene.hpp | rayTrace |
RTscene.hpp | createImage |
RTscene.hpp | rayTraceSceneWithoutParse |
RTmain.hpp | rayTraceScene |
Trace Diagram (magenta)
Function SHAREDvectorClass::calcDistanceBetweenTwoPoints2D()
Function Summary
name | return type | description |
calcDistanceBetweenTwoPoints2D | double | calc distance between two points 2D |
Function Arguments
name | type | description |
x1 | const double | x1 |
y1 | const double | y1 |
x2 | const double | x2 |
y2 | const double | y2 |
Function Reference List
N/A
Function Trace
location | current function being traced |
SHAREDvector.hpp | calcDistanceBetweenTwoPoints2D |
SHAREDvector.hpp | twoPointsAreTheSame2D |
RToperations.hpp | find2DintersectionPoint |
RToperations.hpp | findIntersectLineWithLine2D |
RTraytracer.hpp | findIntersectLineWithLine |
RTraytracer.hpp | calculatePrimLine |
RTscene.hpp | rayTrace |
RTscene.hpp | createImage |
RTscene.hpp | rayTraceSceneWithoutParse |
RTmain.hpp | rayTraceScene |
SHAREDvector.hpp | calcDistanceBetweenTwoPoints2D |
Trace Diagram (magenta)
Function SHAREDvectorClass::solve2DlineEquationWithTwoPoints()
Function Summary
name | return type | description |
solve2DlineEquationWithTwoPoints | bool | solve 2D line equation with two points |
Function Arguments
name | type | description |
x1 | double | x1 |
y1 | double | y1 |
x2 | const double | x2 |
y2 | const double | y2 |
m | double* | m |
i | double* | i |
Function Reference List
N/A
Function Trace
location | current function being traced |
SHAREDvector.hpp | solve2DlineEquationWithTwoPoints |
RToperations.hpp | find2DintersectionPoint |
RToperations.hpp | findIntersectLineWithLine2D |
RTraytracer.hpp | findIntersectLineWithLine |
RTraytracer.hpp | calculatePrimLine |
RTscene.hpp | rayTrace |
RTscene.hpp | createImage |
RTscene.hpp | rayTraceSceneWithoutParse |
RTmain.hpp | rayTraceScene |
Trace Diagram (magenta)
Function SHAREDvectorClass::find2DintersectionPointOfTwoLines()
Function Summary
name | return type | description |
find2DintersectionPointOfTwoLines | bool | find 2D intersection point of two lines |
Function Arguments
name | type | description |
m1 | double | m1 |
i1 | double | i1 |
m2 | const double | m2 |
i2 | const double | i2 |
xIntersection | double* | xIntersection |
yIntersection | double* | yIntersection |
Function Reference List
N/A
Function Trace
location | current function being traced |
SHAREDvector.hpp | find2DintersectionPointOfTwoLines |
RToperations.hpp | find2DintersectionPoint |
RToperations.hpp | findIntersectLineWithLine2D |
RTraytracer.hpp | findIntersectLineWithLine |
RTraytracer.hpp | calculatePrimLine |
RTscene.hpp | rayTrace |
RTscene.hpp | createImage |
RTscene.hpp | rayTraceSceneWithoutParse |
RTmain.hpp | rayTraceScene |
Trace Diagram (magenta)
Function SHAREDvectorClass::twoPointsAreTheSame2D()
Function Summary
name | return type | description |
twoPointsAreTheSame2D | bool | two points are the same 2D |
Function Arguments
name | type | description |
x1 | const double | x1 |
y1 | const double | y1 |
x2 | const double | x2 |
y2 | const double | y2 |
Function Reference List
-
- SHAREDvarsClass::compareDoubles
- calcDistanceBetweenTwoPoints2D
Function Trace
location | current function being traced |
SHAREDvector.hpp | twoPointsAreTheSame2D |
RToperations.hpp | find2DintersectionPoint |
RToperations.hpp | findIntersectLineWithLine2D |
RTraytracer.hpp | findIntersectLineWithLine |
RTraytracer.hpp | calculatePrimLine |
RTscene.hpp | rayTrace |
RTscene.hpp | createImage |
RTscene.hpp | rayTraceSceneWithoutParse |
RTmain.hpp | rayTraceScene |
Trace Diagram (magenta)
Function SHAREDvectorClass::determineIfPointLiesOnAKnownLine2D()
Function Summary
name | return type | description |
determineIfPointLiesOnAKnownLine2D | bool | determine if point lies on AK nown line 2D |
Function Arguments
name | type | description |
m1 | const double | m1 |
i1 | const double | i1 |
x3 | const double | x3 |
y3 | const double | y3 |
Function Reference List
-
- SHAREDvarsClass::compareDoubles
Function Trace
location | current function being traced |
SHAREDvector.hpp | determineIfPointLiesOnAKnownLine2D |
RToperations.hpp | find2DintersectionPoint |
RToperations.hpp | findIntersectLineWithLine2D |
RTraytracer.hpp | findIntersectLineWithLine |
RTraytracer.hpp | calculatePrimLine |
RTscene.hpp | rayTrace |
RTscene.hpp | createImage |
RTscene.hpp | rayTraceSceneWithoutParse |
RTmain.hpp | rayTraceScene |
Trace Diagram (magenta)
Function SHAREDvectorClass::compareDoublesRelaxed()
Function Summary
name | return type | description |
compareDoublesRelaxed | bool | compare doubles relaxed |
Function Arguments
name | type | description |
a | const double | a |
b | const double | b |
Function Reference List
N/A
Function Trace
location | current function being traced |
SHAREDvector.hpp | compareDoublesRelaxed |
RToperations.hpp | find2DintersectionPoint |
RToperations.hpp | findIntersectLineWithLine2D |
RTraytracer.hpp | findIntersectLineWithLine |
RTraytracer.hpp | calculatePrimLine |
RTscene.hpp | rayTrace |
RTscene.hpp | createImage |
RTscene.hpp | rayTraceSceneWithoutParse |
RTmain.hpp | rayTraceScene |
SHAREDvector.hpp | compareDoublesRelaxed |
SHAREDvector.hpp | compareDoublesRelaxed |
Trace Diagram (magenta)
Function SHAREDvectorClass::determineIfPointLiesOnAKnownLine2Drelaxed()
Function Summary
name | return type | description |
determineIfPointLiesOnAKnownLine2Drelaxed | bool | determine if point lies on AK nown line 2D relaxed |
Function Arguments
name | type | description |
m1 | const double | m1 |
i1 | const double | i1 |
x3 | const double | x3 |
y3 | const double | y3 |
Function Reference List
Function Trace
location | current function being traced |
SHAREDvector.hpp | determineIfPointLiesOnAKnownLine2Drelaxed |
RToperations.hpp | find2DintersectionPoint |
RToperations.hpp | findIntersectLineWithLine2D |
RTraytracer.hpp | findIntersectLineWithLine |
RTraytracer.hpp | calculatePrimLine |
RTscene.hpp | rayTrace |
RTscene.hpp | createImage |
RTscene.hpp | rayTraceSceneWithoutParse |
RTmain.hpp | rayTraceScene |
Trace Diagram (magenta)
Function SHAREDvectorClass::twoPointsAreTheSame2Drelaxed()
Function Summary
name | return type | description |
twoPointsAreTheSame2Drelaxed | bool | two points are the same 2D relaxed |
Function Arguments
name | type | description |
x1 | const double | x1 |
y1 | const double | y1 |
x2 | const double | x2 |
y2 | const double | y2 |
Function Reference List
-
- compareDoublesRelaxed
- calcDistanceBetweenTwoPoints2D
Function Trace
location | current function being traced |
SHAREDvector.hpp | twoPointsAreTheSame2Drelaxed |
RToperations.hpp | find2DintersectionPoint |
RToperations.hpp | findIntersectLineWithLine2D |
RTraytracer.hpp | findIntersectLineWithLine |
RTraytracer.hpp | calculatePrimLine |
RTscene.hpp | rayTrace |
RTscene.hpp | createImage |
RTscene.hpp | rayTraceSceneWithoutParse |
RTmain.hpp | rayTraceScene |
Trace Diagram (magenta)