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


File Diagram (functions hierarchy)


Function SHAREDvectorClass::calculateRotationVectorFromDeformationMatrix()

Function Summary
namereturn typedescription
calculateRotationVectorFromDeformationMatrixvoidcalculate rotation vector from deformation matrix

Function Arguments
nametypedescription
deformationMatrixmat* deformation matrix
rotationVector vec* rotation vector

Function Reference List
N/A


Function Trace
locationcurrent function being traced
RTreferenceManipulation.hppcalculateRotationVectorFromDeformationMatrix
RTreferenceManipulation.hppaddReferenceToFileObjectRayTraceFormat
RTreferenceManipulation.hppwrite2DReferencesLayerToFileObjectRayTraceFormat
RTmain.hppwrite2DReferenceListCollapsedTo1DToFileRayTraceFormat

Trace Diagram (magenta)


Function SHAREDvectorClass::subtractVectorsRT()

Function Summary
namereturn typedescription
subtractVectorsRTvoidsubtract vectors RT

Function Arguments
nametypedescription
vect1const vec* vect 1
vect2 const vec* vect 2
vect vec* vect

Function Reference List
N/A


Function Trace
locationcurrent function being traced
RTscene.hppsubtractVectorsRT
RTscene.hppcalculateAmbientDiffuseSpecular
RTscene.hppcreateImage
RTscene.hpprayTraceSceneWithoutParse
RTmain.hpprayTraceScene
RTraytracer.hppsubtractVectorsRT
RTraytracer.hppcalculateSphere
RToperations.hppsubtractVectorsRT
RToperations.hppfindIntersectLineWithTri
RTraytracer.hppfindIntersectLineWithQuad
RTraytracer.hppfindIntersectLineWithTri
RTraytracer.hppsubtractVectorsRT
RTraytracer.hppsubtractVectorsRT

Trace Diagram (magenta)


Function SHAREDvectorClass::addVectorsRT()

Function Summary
namereturn typedescription
addVectorsRTvoidadd vectors RT

Function Arguments
nametypedescription
vect1const vec* vect 1
vect2 const vec* vect 2
vect vec* vect

Function Reference List
N/A


Function Trace
locationcurrent function being traced
RTraytracer.hppaddVectorsRT
RTraytracer.hppcalculateCylinder
RTscene.hpprayTrace
RTscene.hppcreateImage
RTscene.hpprayTraceSceneWithoutParse
RTmain.hpprayTraceScene
RTraytracer.hppaddVectorsRT
RTraytracer.hppaddVectorsRT
RTraytracer.hppaddVectorsRT
RTraytracer.hppaddVectorsRT
RTraytracer.hppaddVectorsRT

Trace Diagram (magenta)


Function SHAREDvectorClass::multiplyVectorByScalarRT()

Function Summary
namereturn typedescription
multiplyVectorByScalarRTvoidmultiply vector by scalar RT

Function Arguments
nametypedescription
vect1const vec* vect 1
multiplyer const double multiplyer
vect vec* vect

Function Reference List
N/A


Function Trace
locationcurrent function being traced
RTscene.hppmultiplyVectorByScalarRT
RTscene.hppcalculateAmbientDiffuseSpecular
RTscene.hppcreateImage
RTscene.hpprayTraceSceneWithoutParse
RTmain.hpprayTraceScene
RTraytracer.hppmultiplyVectorByScalarRT
RTraytracer.hppcalculateCylinder
RTraytracer.hppmultiplyVectorByScalarRT
RTraytracer.hppmultiplyVectorByScalarRT
RTraytracer.hppmultiplyVectorByScalarRT
RTraytracer.hppmultiplyVectorByScalarRT
RTraytracer.hppmultiplyVectorByScalarRT

Trace Diagram (magenta)


Function SHAREDvectorClass::copyVectorRT()

Function Summary
namereturn typedescription
copyVectorRTvoidcopy vector RT

Function Arguments
nametypedescription
vecNewvec* vec new
vecToCopy const vec* vec to copy

Function Reference List
N/A


Function Trace
locationcurrent function being traced
RTscene.hppcopyVectorRT
RTscene.hppcalculateAmbientDiffuseSpecular
RTscene.hppcreateImage
RTscene.hpprayTraceSceneWithoutParse
RTmain.hpprayTraceScene
RTscene.hppcopyVectorRT
RToperations.hppcopyVectorRT
RTraytracer.hppfindIntersectLineWithQuad
RTraytracer.hppcalculatePrimQuad
RTraytracer.hppcopyVectorRT

Trace Diagram (magenta)


Function SHAREDvectorClass::normaliseVector()

Function Summary
namereturn typedescription
normaliseVectorvoidnormalise vector

Function Arguments
nametypedescription
vect1vec* vect 1

Function Reference List


Function Trace
locationcurrent function being traced
RTscene.hppnormaliseVector
RTscene.hppcalculateAmbientDiffuseSpecular
RTscene.hppcreateImage
RTscene.hpprayTraceSceneWithoutParse
RTmain.hpprayTraceScene
RTraytracer.hppnormaliseVector
RTraytracer.hppdrawPoint

Trace Diagram (magenta)


Function SHAREDvectorClass::negativeVector()

Function Summary
namereturn typedescription
negativeVectorvoidnegative vector

Function Arguments
nametypedescription
vect1vec* vect 1
vect vec* vect

Function Reference List
N/A


Function Trace
locationcurrent function being traced
RTraytracer.hppnegativeVector
RTraytracer.hppcalculateCylinder
RTscene.hpprayTrace
RTscene.hppcreateImage
RTscene.hpprayTraceSceneWithoutParse
RTmain.hpprayTraceScene
RTraytracer.hppnegativeVector
RTraytracer.hppnegativeVector
RTraytracer.hppnegativeVector
RTraytracer.hppnegativeVector
RTraytracer.hppnegativeVector

Trace Diagram (magenta)


Function SHAREDvectorClass::dotProduct()

Function Summary
namereturn typedescription
dotProductdoubledot product

Function Arguments
nametypedescription
vect1const vec* vect 1
vect2 const vec* vect 2

Function Reference List
N/A


Function Trace
locationcurrent function being traced
RTscene.hppdotProduct
RTscene.hppcalculateAmbientDiffuseSpecular
RTscene.hppcreateImage
RTscene.hpprayTraceSceneWithoutParse
RTmain.hpprayTraceScene
RTraytracer.hppdotProduct
RTraytracer.hppcalculateSphere

Trace Diagram (magenta)


Function SHAREDvectorClass::crossProduct()

Function Summary
namereturn typedescription
crossProductvoidcross product

Function Arguments
nametypedescription
vect1vec* vect 1
vect2 vec* vect 2
vect vec* vect

Function Reference List
N/A


Function Trace
locationcurrent function being traced
RTscene.hppcrossProduct
RTscene.hppcreateImage
RTscene.hpprayTraceSceneWithoutParse
RTmain.hpprayTraceScene

Trace Diagram (magenta)


Function SHAREDvectorClass::makeMatrix()

Function Summary
namereturn typedescription
makeMatrixvoidmake matrix

Function Arguments
nametypedescription
vect1vec* vect 1
vect2 vec* vect 2
vect3 vec* vect 3
matx mat* matx

Function Reference List
N/A


Function Trace
locationcurrent function being traced
RTscene.hppmakeMatrix
RTscene.hppcreateImage
RTscene.hpprayTraceSceneWithoutParse
RTmain.hpprayTraceScene

Trace Diagram (magenta)


Function SHAREDvectorClass::multMatrixByVector()

Function Summary
namereturn typedescription
multMatrixByVectorvoidmult matrix by vector

Function Arguments
nametypedescription
matxmat* matx
vect1 vec* vect 1
vect vec* vect

Function Reference List
N/A


Function Trace
locationcurrent function being traced
RTraytracer.hppmultMatrixByVector
RTscene.hpprayTrace
RTscene.hppcreateImage
RTscene.hpprayTraceSceneWithoutParse
RTmain.hpprayTraceScene

Trace Diagram (magenta)


Function SHAREDvectorClass::createVector()

Function Summary
namereturn typedescription
createVectorvoidcreate vector

Function Arguments
nametypedescription
vecvec* vec

Function Reference List
N/A


Function Trace
locationcurrent function being traced
RTraytracer.hppcreateVector
RTscene.hpprayTrace
RTscene.hppcreateImage
RTscene.hpprayTraceSceneWithoutParse
RTmain.hpprayTraceScene

Trace Diagram (magenta)


Function SHAREDvectorClass::findMagnitudeOfVector()

Function Summary
namereturn typedescription
findMagnitudeOfVectordoublefind magnitude of vector

Function Arguments
nametypedescription
vect1const vec* vect 1

Function Reference List
N/A


Function Trace
locationcurrent function being traced
SHAREDvector.hppfindMagnitudeOfVector
RTscene.hppnormaliseVector
RTscene.hppcalculateAmbientDiffuseSpecular
RTscene.hppcreateImage
RTscene.hpprayTraceSceneWithoutParse
RTmain.hpprayTraceScene
RTraytracer.hppnormaliseVector
RTraytracer.hppdrawPoint

Trace Diagram (magenta)


Function SHAREDvectorClass::copyVectors()

Function Summary
namereturn typedescription
copyVectorsvoidcopy vectors

Function Arguments
nametypedescription
vecNewvec* vec new
vecToCopy const vec* vec to copy

Function Reference List
N/A


Function Trace
locationcurrent function being traced
LDreferenceManipulation.hppcopyVectors
RTreferenceManipulation.hppcopyReferences
RTreferenceManipulation.hppwrite2DReferencesLayerToFileObjectRayTraceFormat
RTmain.hppwrite2DReferenceListCollapsedTo1DToFileRayTraceFormat
LDreferenceManipulation.hppcopyReferences
LDreferenceManipulation.hppwrite2DreferencesLayerToFileObject
SHAREDvector.hppcopyVectors

Trace Diagram (magenta)


Function SHAREDvectorClass::copyMatricies()

Function Summary
namereturn typedescription
copyMatriciesvoidcopy matricies

Function Arguments
nametypedescription
matNewmat* mat new
matToCopy const mat* mat to copy

Function Reference List


Function Trace
locationcurrent function being traced
LDreferenceManipulation.hppcopyMatricies
RTreferenceManipulation.hppcopyReferences
RTreferenceManipulation.hppwrite2DReferencesLayerToFileObjectRayTraceFormat
RTmain.hppwrite2DReferenceListCollapsedTo1DToFileRayTraceFormat
LDreferenceManipulation.hppcopyReferences
LDreferenceManipulation.hppwrite2DreferencesLayerToFileObject

Trace Diagram (magenta)


Function SHAREDvectorClass::multiplyMatricies()

Function Summary
namereturn typedescription
multiplyMatriciesvoidmultiply matricies

Function Arguments
nametypedescription
matNewmat* mat new
mat1 mat* mat 1
mat2 mat* mat 2

Function Reference List
N/A


Function Trace
locationcurrent function being traced
LDparser.hppmultiplyMatricies
RTmain.hppparseFile

Trace Diagram (magenta)


Function SHAREDvectorClass::copyMatrixTwoIntoMatrixOne()

Function Summary
namereturn typedescription
copyMatrixTwoIntoMatrixOnevoidcopy matrix two into matrix one

Function Arguments
nametypedescription
mat1mat* mat 1
mat2 mat* mat 2

Function Reference List
N/A


Function Trace
locationcurrent function being traced
LDreferenceManipulation.hppcopyMatrixTwoIntoMatrixOne
LDreferenceManipulation.hppaddReferenceToFileObject
LDreferenceManipulation.hppwrite2DreferencesLayerToFileObject
RTmain.hppwrite2DreferenceListCollapsedTo1DtoFile

Trace Diagram (magenta)


Function SHAREDvectorClass::find2DintersectionPoint()

Function Summary
namereturn typedescription
find2DintersectionPointvoidfind 2D intersection point

Function Arguments
nametypedescription
axdouble 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


Function Trace
locationcurrent function being traced
RToperations.hppfind2DintersectionPoint
RToperations.hppfindIntersectLineWithLine2D
RTraytracer.hppfindIntersectLineWithLine
RTraytracer.hppcalculatePrimLine
RTscene.hpprayTrace
RTscene.hppcreateImage
RTscene.hpprayTraceSceneWithoutParse
RTmain.hpprayTraceScene

Trace Diagram (magenta)


Function SHAREDvectorClass::calcDistanceBetweenTwoPoints2D()

Function Summary
namereturn typedescription
calcDistanceBetweenTwoPoints2Ddoublecalc distance between two points 2D

Function Arguments
nametypedescription
x1const double x1
y1 const double y1
x2 const double x2
y2 const double y2

Function Reference List
N/A


Function Trace
locationcurrent function being traced
SHAREDvector.hppcalcDistanceBetweenTwoPoints2D
SHAREDvector.hpptwoPointsAreTheSame2D
RToperations.hppfind2DintersectionPoint
RToperations.hppfindIntersectLineWithLine2D
RTraytracer.hppfindIntersectLineWithLine
RTraytracer.hppcalculatePrimLine
RTscene.hpprayTrace
RTscene.hppcreateImage
RTscene.hpprayTraceSceneWithoutParse
RTmain.hpprayTraceScene
SHAREDvector.hppcalcDistanceBetweenTwoPoints2D

Trace Diagram (magenta)


Function SHAREDvectorClass::solve2DlineEquationWithTwoPoints()

Function Summary
namereturn typedescription
solve2DlineEquationWithTwoPointsboolsolve 2D line equation with two points

Function Arguments
nametypedescription
x1double 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
locationcurrent function being traced
SHAREDvector.hppsolve2DlineEquationWithTwoPoints
RToperations.hppfind2DintersectionPoint
RToperations.hppfindIntersectLineWithLine2D
RTraytracer.hppfindIntersectLineWithLine
RTraytracer.hppcalculatePrimLine
RTscene.hpprayTrace
RTscene.hppcreateImage
RTscene.hpprayTraceSceneWithoutParse
RTmain.hpprayTraceScene

Trace Diagram (magenta)


Function SHAREDvectorClass::find2DintersectionPointOfTwoLines()

Function Summary
namereturn typedescription
find2DintersectionPointOfTwoLinesboolfind 2D intersection point of two lines

Function Arguments
nametypedescription
m1double 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
locationcurrent function being traced
SHAREDvector.hppfind2DintersectionPointOfTwoLines
RToperations.hppfind2DintersectionPoint
RToperations.hppfindIntersectLineWithLine2D
RTraytracer.hppfindIntersectLineWithLine
RTraytracer.hppcalculatePrimLine
RTscene.hpprayTrace
RTscene.hppcreateImage
RTscene.hpprayTraceSceneWithoutParse
RTmain.hpprayTraceScene

Trace Diagram (magenta)


Function SHAREDvectorClass::twoPointsAreTheSame2D()

Function Summary
namereturn typedescription
twoPointsAreTheSame2Dbooltwo points are the same 2D

Function Arguments
nametypedescription
x1const double x1
y1 const double y1
x2 const double x2
y2 const double y2

Function Reference List


Function Trace
locationcurrent function being traced
SHAREDvector.hpptwoPointsAreTheSame2D
RToperations.hppfind2DintersectionPoint
RToperations.hppfindIntersectLineWithLine2D
RTraytracer.hppfindIntersectLineWithLine
RTraytracer.hppcalculatePrimLine
RTscene.hpprayTrace
RTscene.hppcreateImage
RTscene.hpprayTraceSceneWithoutParse
RTmain.hpprayTraceScene

Trace Diagram (magenta)


Function SHAREDvectorClass::determineIfPointLiesOnAKnownLine2D()

Function Summary
namereturn typedescription
determineIfPointLiesOnAKnownLine2Dbooldetermine if point lies on AK nown line 2D

Function Arguments
nametypedescription
m1const double m1
i1 const double i1
x3 const double x3
y3 const double y3

Function Reference List


Function Trace
locationcurrent function being traced
SHAREDvector.hppdetermineIfPointLiesOnAKnownLine2D
RToperations.hppfind2DintersectionPoint
RToperations.hppfindIntersectLineWithLine2D
RTraytracer.hppfindIntersectLineWithLine
RTraytracer.hppcalculatePrimLine
RTscene.hpprayTrace
RTscene.hppcreateImage
RTscene.hpprayTraceSceneWithoutParse
RTmain.hpprayTraceScene

Trace Diagram (magenta)


Function SHAREDvectorClass::compareDoublesRelaxed()

Function Summary
namereturn typedescription
compareDoublesRelaxedboolcompare doubles relaxed

Function Arguments
nametypedescription
aconst double a
b const double b

Function Reference List
N/A


Function Trace
locationcurrent function being traced
SHAREDvector.hppcompareDoublesRelaxed
RToperations.hppfind2DintersectionPoint
RToperations.hppfindIntersectLineWithLine2D
RTraytracer.hppfindIntersectLineWithLine
RTraytracer.hppcalculatePrimLine
RTscene.hpprayTrace
RTscene.hppcreateImage
RTscene.hpprayTraceSceneWithoutParse
RTmain.hpprayTraceScene
SHAREDvector.hppcompareDoublesRelaxed
SHAREDvector.hppcompareDoublesRelaxed

Trace Diagram (magenta)


Function SHAREDvectorClass::determineIfPointLiesOnAKnownLine2Drelaxed()

Function Summary
namereturn typedescription
determineIfPointLiesOnAKnownLine2Drelaxedbooldetermine if point lies on AK nown line 2D relaxed

Function Arguments
nametypedescription
m1const double m1
i1 const double i1
x3 const double x3
y3 const double y3

Function Reference List


Function Trace
locationcurrent function being traced
SHAREDvector.hppdetermineIfPointLiesOnAKnownLine2Drelaxed
RToperations.hppfind2DintersectionPoint
RToperations.hppfindIntersectLineWithLine2D
RTraytracer.hppfindIntersectLineWithLine
RTraytracer.hppcalculatePrimLine
RTscene.hpprayTrace
RTscene.hppcreateImage
RTscene.hpprayTraceSceneWithoutParse
RTmain.hpprayTraceScene

Trace Diagram (magenta)


Function SHAREDvectorClass::twoPointsAreTheSame2Drelaxed()

Function Summary
namereturn typedescription
twoPointsAreTheSame2Drelaxedbooltwo points are the same 2D relaxed

Function Arguments
nametypedescription
x1const double x1
y1 const double y1
x2 const double x2
y2 const double y2

Function Reference List


Function Trace
locationcurrent function being traced
SHAREDvector.hpptwoPointsAreTheSame2Drelaxed
RToperations.hppfind2DintersectionPoint
RToperations.hppfindIntersectLineWithLine2D
RTraytracer.hppfindIntersectLineWithLine
RTraytracer.hppcalculatePrimLine
RTscene.hpprayTrace
RTscene.hppcreateImage
RTscene.hpprayTraceSceneWithoutParse
RTmain.hpprayTraceScene

Trace Diagram (magenta)