File SHAREDvars Documentation

Automatically generated with Code Structure Viewer (CS), Project Version: 3o4d 17-November-2020

Copyright © 2020, BAI Research. All Rights Reserved.

File Name: SHAREDvars.cpp/.hpp

File Description: SHARED vars

File Function List


File Diagram (functions hierarchy)


Function SHAREDvarsClass::compareDoubles()

Function Summary
namereturn typedescription
compareDoublesboolcompare doubles

Function Arguments
nametypedescription
aconst double a
b const double b

Function Reference List
N/A


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

Trace Diagram (magenta)


Function SHAREDvarsClass::minInt()

Function Summary
namereturn typedescription
minIntintmin int

Function Arguments
nametypedescription
aint a
b const int b

Function Reference List
N/A


Function Trace
locationcurrent function being traced
RTscene.hppminInt
RTscene.hpprayTraceSceneWithoutParse
RTmain.hpprayTraceScene

Trace Diagram (magenta)


Function SHAREDvarsClass::argumentExists()

Function Summary
namereturn typedescription
argumentExistsboolargument exists

Function Arguments
nametypedescription
argcconst int argc
argv const char** argv
keystr const string keystr

Function Reference List
N/A


Function Trace
locationcurrent function being traced
RTmain.hppargumentExists

Trace Diagram (magenta)


Function SHAREDvarsClass::getFloatArgument()

Function Summary
namereturn typedescription
getFloatArgumentfloatget float argument

Function Arguments
nametypedescription
argcconst int argc
argv const char** argv
keystr const string keystr

Function Reference List
N/A


Function Trace
locationcurrent function being traced
RTmain.hppgetFloatArgument

Trace Diagram (magenta)


Function SHAREDvarsClass::getStringArgument()

Function Summary
namereturn typedescription
getStringArgumentstringget string argument

Function Arguments
nametypedescription
argcconst int argc
argv const char** argv
keystr const string keystr

Function Reference List
N/A


Function Trace
locationcurrent function being traced
RTmain.hppgetStringArgument

Trace Diagram (magenta)


Function SHAREDvarsClass::getCurrentDirectory()

Function Summary
namereturn typedescription
getCurrentDirectorystringget current directory

Function Reference List
N/A


Function Trace
locationcurrent function being traced
RTmain.hppgetCurrentDirectory

Trace Diagram (magenta)


Function SHAREDvarsClass::setCurrentDirectory()

Function Summary
namereturn typedescription
setCurrentDirectoryvoidset current directory

Function Arguments
nametypedescription
folderconst string* folder

Function Reference List
N/A


Function Trace
locationcurrent function being traced
RTscene.hppsetCurrentDirectory
RTmain.hpprayTraceScene

Trace Diagram (magenta)


Function SHAREDvarsClass::convertDoubleToString()

Function Summary
namereturn typedescription
convertDoubleToStringstringconvert double to string

Function Arguments
nametypedescription
numberconst double number
format const string format

Function Reference List


Function Trace
locationcurrent function being traced
RTreferenceManipulation.hppconvertDoubleToString
RTreferenceManipulation.hppwriteRayTraceFormatHeaderInfo
RTmain.hppwrite2DReferenceListCollapsedTo1DToFileRayTraceFormat
LDreferenceManipulation.hppconvertDoubleToString
LDreferenceManipulation.hppconvertRotationMatrixToString
LDreferenceManipulation.hppaddReferenceToFileObject
LDreferenceManipulation.hppwrite2DreferencesLayerToFileObject

Trace Diagram (magenta)


Function SHAREDvarsClass::convertIntToString()

Function Summary
namereturn typedescription
convertIntToStringstringconvert int to string

Function Arguments
nametypedescription
numberconst int number

Function Reference List


Function Trace
locationcurrent function being traced
RTreferenceManipulation.hppconvertIntToString
RTreferenceManipulation.hppwriteRayTraceFormatHeaderInfo
RTmain.hppwrite2DReferenceListCollapsedTo1DToFileRayTraceFormat
LDreferenceManipulation.hppconvertIntToString
LDreferenceManipulation.hppaddReferenceToFileObject
LDreferenceManipulation.hppwrite2DreferencesLayerToFileObject

Trace Diagram (magenta)


Function SHAREDvarsClass::convertUnsignedIntToString()

Function Summary
namereturn typedescription
convertUnsignedIntToStringstringconvert unsigned int to string

Function Arguments
nametypedescription
numberconst int number

Function Reference List


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

Trace Diagram (magenta)


Function SHAREDvarsClass::convertStringToDouble()

Function Summary
namereturn typedescription
convertStringToDoubledoubleconvert string to double

Function Arguments
nametypedescription
numberconst string number

Function Reference List
N/A


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

Trace Diagram (magenta)


Function SHAREDvarsClass::sprintfSafeDouble()

Function Summary
namereturn typedescription
sprintfSafeDoublevoidsprintf safe double

Function Arguments
nametypedescription
stringCharStarchar* string char star
type const char* type
number double number

Function Reference List
N/A


Function Trace
locationcurrent function being traced
SHAREDvars.hppsprintfSafeDouble
RTreferenceManipulation.hppconvertDoubleToString
RTreferenceManipulation.hppwriteRayTraceFormatHeaderInfo
RTmain.hppwrite2DReferenceListCollapsedTo1DToFileRayTraceFormat
LDreferenceManipulation.hppconvertDoubleToString
LDreferenceManipulation.hppconvertRotationMatrixToString
LDreferenceManipulation.hppaddReferenceToFileObject
LDreferenceManipulation.hppwrite2DreferencesLayerToFileObject
LDreferenceManipulation.hppsprintfSafeDouble
RTreferenceManipulation.hppconvertPositionCoordinatesToString
RTreferenceManipulation.hppaddReferenceToFileObjectRayTraceFormat

Trace Diagram (magenta)


Function SHAREDvarsClass::sprintfSafeInt()

Function Summary
namereturn typedescription
sprintfSafeIntvoidsprintf safe int

Function Arguments
nametypedescription
stringCharStarchar* string char star
type const char* type
number int number

Function Reference List
N/A


Function Trace
locationcurrent function being traced
SHAREDvars.hppsprintfSafeInt
RTreferenceManipulation.hppconvertIntToString
RTreferenceManipulation.hppwriteRayTraceFormatHeaderInfo
RTmain.hppwrite2DReferenceListCollapsedTo1DToFileRayTraceFormat
LDreferenceManipulation.hppconvertIntToString
LDreferenceManipulation.hppaddReferenceToFileObject
LDreferenceManipulation.hppwrite2DreferencesLayerToFileObject
SHAREDvars.hppsprintfSafeInt

Trace Diagram (magenta)