Software Project Documentation
Automatically generated with Code Structure Viewer (CS), Project Version: 3o4d 17-November-2020
Copyright © 2020, BAI Research. All Rights Reserved.
Software Project Code Structure - Files
Software Project Code Structure - Functions
File ANNmain Documentation
File Name: ANNmain.cpp/.hpp
File Description: ANN main
File Function List
- main
- mainUI
- loadNetworkFromXML
- loadExperienceDataFile
- createNetwork
- trainNetwork
- outputNetworkToXML
- outputNetworkAsVectorGraphics
File Diagram (functions hierarchy)
Function main()
Function Summary
name | return type | description |
main | int | main |
Function Arguments
name | type | description |
argc | const int | argc |
*argv | const char* | *argv |
Function Reference List
-
- SHAREDvarsClass::argumentExists
- SHAREDvarsClass::argumentExists
- SHAREDvarsClass::argumentExists
- SHAREDvarsClass::argumentExists
- SHAREDvarsClass::argumentExists
- SHAREDvarsClass::argumentExists
- SHAREDvarsClass::argumentExists
- SHAREDvarsClass::argumentExists
- SHAREDvarsClass::argumentExists
- SHAREDvarsClass::argumentExists
- SHAREDvarsClass::getStringArgument
- SHAREDvarsClass::argumentExists
- SHAREDvarsClass::getStringArgument
- SHAREDvarsClass::argumentExists
- SHAREDvarsClass::getFloatArgument
- SHAREDvarsClass::argumentExists
- SHAREDvarsClass::getFloatArgument
- SHAREDvarsClass::argumentExists
- SHAREDvarsClass::getFloatArgument
- SHAREDvarsClass::argumentExists
- SHAREDvarsClass::getFloatArgument
- SHAREDvarsClass::argumentExists
- SHAREDvarsClass::getFloatArgument
- SHAREDvarsClass::argumentExists
- SHAREDvarsClass::getFloatArgument
- SHAREDvarsClass::argumentExists
- SHAREDvarsClass::getFloatArgument
- SHAREDvarsClass::argumentExists
- SHAREDvarsClass::argumentExists
- SHAREDvarsClass::getFloatArgument
- SHAREDvarsClass::argumentExists
- SHAREDvarsClass::getFloatArgument
- SHAREDvarsClass::argumentExists
- SHAREDvarsClass::argumentExists
- SHAREDvarsClass::getFloatArgument
- SHAREDvarsClass::argumentExists
- SHAREDvarsClass::getFloatArgument
- SHAREDvarsClass::argumentExists
- SHAREDvarsClass::getFloatArgument
- SHAREDvarsClass::argumentExists
- SHAREDvarsClass::getStringArgument
- SHAREDvarsClass::argumentExists
- SHAREDvarsClass::getStringArgument
- SHAREDvarsClass::argumentExists
- SHAREDvarsClass::getStringArgument
- SHAREDvarsClass::argumentExists
- SHAREDvarsClass::getStringArgument
- SHAREDvarsClass::argumentExists
- SHAREDvarsClass::getStringArgument
- SHAREDvarsClass::argumentExists
- SHAREDvarsClass::getStringArgument
- SHAREDvarsClass::argumentExists
- SHAREDvarsClass::getStringArgument
- SHAREDvarsClass::argumentExists
- SHAREDvarsClass::argumentExists
- SHAREDvarsClass::argumentExists
- SHAREDvarsClass::getFloatArgument
- SHAREDvarsClass::argumentExists
- SHAREDvarsClass::getFloatArgument
- SHAREDvarsClass::argumentExists
- SHAREDvarsClass::getFloatArgument
- SHAREDvarsClass::getCurrentDirectory
- SHAREDvarsClass::argumentExists
- SHAREDvarsClass::getStringArgument
- SHAREDvarsClass::argumentExists
- SHAREDvarsClass::getStringArgument
- SHAREDvarsClass::argumentExists
- SHAREDvarsClass::getStringArgument
- SHAREDvarsClass::setCurrentDirectory
- SHAREDvarsClass::argumentExists
- SHAREDvarsClass::argumentExists
- XMLrulesClassClass::parseANNrulesXMLfile
- ANNdrawClass::fillInANNSpriteExternVariables
- ANNmainClass::mainUI
- LDopenglClass::initiateOpenGL
- ANNxmlConversionClass::readNetXMLfileAndRecordFormationVariables
- ANNparserClass::ANNparseDataFile
- ANNformationClass::formNeuralNetworkInputLayer
- ANNformationClass::formAdvancedNeuralNetwork
- ANNformationClass::formNeuralNet
- ANNformationClass::formNeuralNet
- ANNalgorithmClassificationNetworkClass::trainNeuralNetworkClassificationSimple
- ANNalgorithmBackpropagationClass::trainNeuralNetworkBackpropagation
- ANNalgorithmBreakawayNetworkClass::trainNeuralNetworkBreakaway
- ANNalgorithmMemoryNetworkClass::trainNeuralNetworkMemory
- ANNalgorithmBackpropagationClass::trainNeuralNetworkBackpropagationSimple
- ANNalgorithmBreakawayNetworkClass::trainNeuralNetworkBreakaway
- ANNalgorithmMemoryNetworkClass::trainNeuralNetworkMemorySimple
- SHAREDvarsClass::setCurrentDirectory
- ANNdisplayClass::outputNeuralNetworkToVectorGraphicsAndRaytrace
- ANNxmlConversionClass::writeNetXMLfile
Function ANNmainClass::mainUI()
Function Summary
name | return type | description |
mainUI | bool | main UI |
Function Reference List
-
-
- SHAREDvarsClass::convertStringToDouble
- loadNetworkFromXML
- createNetwork
- loadExperienceDataFile
- trainNetwork
- trainNetwork
- outputNetworkToXML
- outputNetworkAsVectorGraphics
Function ANNmainClass::loadNetworkFromXML()
Function Summary
name | return type | description |
loadNetworkFromXML | bool | load network from XML |
Function Reference List
-
- ANNxmlConversionClass::readNetXMLfileAndRecordFormationVariables
Function ANNmainClass::loadExperienceDataFile()
Function Summary
name | return type | description |
loadExperienceDataFile | bool | load experience data file |
Function Reference List
-
- ANNparserClass::ANNparseDataFile
Function ANNmainClass::createNetwork()
Function Summary
name | return type | description |
createNetwork | bool | create network |
Function Reference List
-
-
- SHAREDvarsClass::convertStringToDouble
- SHAREDvarsClass::convertStringToDouble
- SHAREDvarsClass::convertStringToDouble
- SHAREDvarsClass::convertStringToDouble
- SHAREDvarsClass::convertStringToDouble
- SHAREDvarsClass::convertStringToDouble
- SHAREDvarsClass::convertStringToDouble
- SHAREDvarsClass::convertStringToDouble
- SHAREDvarsClass::convertStringToDouble
- ANNformationClass::formAdvancedNeuralNetwork
- ANNformationClass::formNeuralNet
- ANNformationClass::formNeuralNetWithOptimisedProperties
Function ANNmainClass::trainNetwork()
Function Summary
name | return type | description |
trainNetwork | bool | train network |
Function Arguments
name | type | description |
advancedTraining | const bool | advanced training |
Function Reference List
-
-
- loadExperienceDataFile
- ANNformationClass::countNumberOfLayersInSubnet
- ANNalgorithmBackpropagationClass::trainNeuralNetworkBackpropagation
- ANNalgorithmBreakawayNetworkClass::trainNeuralNetworkBreakaway
- ANNalgorithmMemoryNetworkClass::trainNeuralNetworkMemory
- ANNalgorithmClassificationNetworkClass::trainNeuralNetworkClassificationSimple
- ANNalgorithmBackpropagationClass::trainNeuralNetworkBackpropagationSimple
- ANNalgorithmBreakawayNetworkClass::trainNeuralNetworkBreakaway
- ANNalgorithmMemoryNetworkClass::trainNeuralNetworkMemorySimple
- ANNalgorithmClassificationNetworkClass::trainNeuralNetworkClassificationSimple
Function ANNmainClass::outputNetworkToXML()
Function Summary
name | return type | description |
outputNetworkToXML | bool | output network to XML |
Function Reference List
-
- SHAREDvarsClass::setCurrentDirectory
- ANNxmlConversionClass::writeNetXMLfile
Function ANNmainClass::outputNetworkAsVectorGraphics()
Function Summary
name | return type | description |
outputNetworkAsVectorGraphics | bool | output network as vector graphics |
Function Reference List
-
- SHAREDvarsClass::setCurrentDirectory
-
- LDopenglClass::initiateOpenGL
- ANNdisplayClass::outputNeuralNetworkToVectorGraphicsAndRaytrace
File ANNformation Documentation
File Name: ANNformation.cpp/.hpp
File Description: ANN formation
File Function List
-
- formNeuralNetworkInputLayer
- formNeuralNetWithOptimisedProperties
- formNeuralNet
- formAdvancedNeuralNetwork
- formNonDistinctLayeredNeuralNetwork
- createInputLayerInNeuralNetwork
- createInputLayerInNeuralNetwork2D
- fillNonDistinctHiddenLayer
- createNewFrontLayer
- linkNewFrontLayerWithPreviousLayers
- linkNewFrontLayerWithPreviousLayers2D
- calcNumberOfLayersInSubnet
- advancedDivergenceFactor
- calculateNumberOfNeuronsInNewFrontLayer
- calculateDistanceBetween2Points
- addSideConnectionsForLayer
- addSideConnectionsForLayer2D
- addSideConnectionIfNotAlreadyAdded
- countNumberOfLayersInSubnet
File Diagram (functions hierarchy)
Function ANNformationClass::formNeuralNetworkInputLayer()
Function Summary
name | return type | description |
formNeuralNetworkInputLayer | void | form neural network input layer |
Function Arguments
name | type | description |
firstInputNeuronInNetwork | ANNneuron* | first input neuron in network |
numberOfInputNeurons | const int | number of input neurons |
Function Reference List
-
-
- ANNneuronClassClass::fillInNeuronIDProperties
Function ANNformationClass::formNeuralNetWithOptimisedProperties()
Function Summary
name | return type | description |
formNeuralNetWithOptimisedProperties | ANNneuron* | form neural net with optimised properties |
Function Arguments
name | type | description |
firstInputNeuronInNetwork | ANNneuron* | first input neuron in network |
numberOfInputNeurons | const int64_t | number of input neurons |
numberOfOutputNeurons | int64_t | number of output neurons |
numberOfLayers | const int64_t | number of layers |
Function Reference List
Function ANNformationClass::formNeuralNet()
Function Summary
name | return type | description |
formNeuralNet | ANNneuron* | form neural net |
Function Arguments
name | type | description |
firstInputNeuron | ANNneuron* | first input neuron |
numberOfInputNeurons | const int64_t | number of input neurons |
numberOfOutputNeurons | int64_t | number of output neurons |
numberOfLayers | const int64_t | number of layers |
layerDivergenceType | const int | layer divergence type |
meanLayerDivergenceFactor | const double | mean layer divergence factor |
probabilityANNneuronConnectionWithPreviousLayerNeuron | const double | probability ANN neuron connection with previous layer neuron |
probabilityANNneuronConnectionWithAllPreviousLayersNeurons | const double | probability ANN neuron connection with all previous layers neurons |
Function Reference List
-
- formNonDistinctLayeredNeuralNetwork
Function ANNformationClass::formAdvancedNeuralNetwork()
Function Summary
name | return type | description |
formAdvancedNeuralNetwork | ANNneuron* | form advanced neural network |
Function Arguments
name | type | description |
firstInputNeuron | ANNneuron* | first input neuron |
numberOfInputNeurons | const int64_t | number of input neurons |
numberOfOutputNeurons | int64_t | number of output neurons |
useSubnetDependentNumberOfLayers | const bool | use subnet dependent number of layers |
probabilityOfSubnetCreation | const double | probability of subnet creation |
maxNumberOfRecursiveSubnets | const int64_t | max number of recursive subnets |
numberOfLayers | const int64_t | number of layers |
layerDivergenceType | const int | layer divergence type |
meanLayerDivergenceFactor | const double | mean layer divergence factor |
probabilityANNneuronConnectionWithPreviousLayerNeuron | const double | probability ANN neuron connection with previous layer neuron |
probabilityANNneuronConnectionWithAllPreviousLayersNeurons | const double | probability ANN neuron connection with all previous layers neurons |
Function Reference List
-
- formNonDistinctLayeredNeuralNetwork
Function ANNformationClass::formNonDistinctLayeredNeuralNetwork()
Function Summary
name | return type | description |
formNonDistinctLayeredNeuralNetwork | ANNneuron* | form non distinct layered neural network |
Function Arguments
name | type | description |
firstInputNeuronInNetwork | ANNneuron* | first input neuron in network |
numberOfInputNeurons | const int64_t | number of input neurons |
numberOfOutputNeurons | int64_t | number of output neurons |
numberOfLayers | const int64_t | number of layers |
probabilityOfSubnetCreation | const double | probability of subnet creation |
maxNumberOfRecursiveSubnets | const int64_t | max number of recursive subnets |
useSubnetDependentNumberOfLayers | const bool | use subnet dependent number of layers |
subnetNumberOfLayersModifier | const double | subnet number of layers modifier |
layerDivergenceType | const int | layer divergence type |
meanLayerDivergenceFactor | const double | mean layer divergence factor |
probabilityANNneuronConnectionWithPreviousLayerNeuron | const double | probability ANN neuron connection with previous layer neuron |
probabilityANNneuronConnectionWithAllPreviousLayersNeurons | const double | probability ANN neuron connection with all previous layers neurons |
Function Reference List
-
-
- createInputLayerInNeuralNetwork2D
- createInputLayerInNeuralNetwork
- fillNonDistinctHiddenLayer
Function ANNformationClass::createInputLayerInNeuralNetwork()
Function Summary
name | return type | description |
createInputLayerInNeuralNetwork | void | create input layer in neural network |
Function Arguments
name | type | description |
firstInputNeuronInNetwork | ANNneuron* | first input neuron in network |
numberOfInputNeurons | const int64_t | number of input neurons |
Function Reference List
-
-
- ANNneuronClassClass::fillInNeuronIDProperties
Function ANNformationClass::createInputLayerInNeuralNetwork2D()
Function Summary
name | return type | description |
createInputLayerInNeuralNetwork2D | void | create input layer in neural network 2D |
Function Arguments
name | type | description |
firstInputNeuronInNetwork | ANNneuron* | first input neuron in network |
numberOfInputNeurons | const int64_t | number of input neurons |
Function Reference List
-
-
- ANNneuronClassClass::fillInNeuronIDProperties
Function ANNformationClass::fillNonDistinctHiddenLayer()
Function Summary
name | return type | description |
fillNonDistinctHiddenLayer | ANNneuron* | fill non distinct hidden layer |
Function Arguments
name | type | description |
firstNeuronInCurrentLayer | ANNneuron* | first neuron in current layer |
numberOfInputNeurons | const int64_t | number of input neurons |
numberOfOutputNeurons | int64_t | number of output neurons |
numberOfNeuronsInCurrentLayer | const int64_t | number of neurons in current layer |
currentNumberOfLayers | const int64_t | current number of layers |
numberOfLayers | const int64_t | number of layers |
probabilityOfSubnetCreation | const double | probability of subnet creation |
maxNumberOfRecursiveSubnets | const int64_t | max number of recursive subnets |
currentNumberOfRecursiveSubnets | const int64_t | current number of recursive subnets |
useSubnetDependentNumberOfLayers | const bool | use subnet dependent number of layers |
subnetNumberOfLayersModifier | const double | subnet number of layers modifier |
layerDivergenceType | const int | layer divergence type |
meanLayerDivergenceFactor | const double | mean layer divergence factor |
probabilityANNneuronConnectionWithPreviousLayerNeuron | const double | probability ANN neuron connection with previous layer neuron |
firstInputNeuronInSubnet | ANNneuron* | first input neuron in subnet |
probabilityANNneuronConnectionWithAllPreviousLayersNeurons | const double | probability ANN neuron connection with all previous layers neurons |
onlyLinkWithPreviousAndFirstLayer | const bool | only link with previous and first layer |
Function Reference List
-
- calculateNumberOfNeuronsInNewFrontLayer
- createNewFrontLayer
- linkNewFrontLayerWithPreviousLayers2D
- linkNewFrontLayerWithPreviousLayers
-
-
-
-
- ANNneuronClassClass::fillInNeuronIDProperties
- calcNumberOfLayersInSubnet
- fillNonDistinctHiddenLayer
- fillNonDistinctHiddenLayer
Function ANNformationClass::createNewFrontLayer()
Function Summary
name | return type | description |
createNewFrontLayer | void | create new front layer |
Function Arguments
name | type | description |
firstNeuronInCurrentLayer | ANNneuron* | first neuron in current layer |
firstNeuronInNewFrontLayer | ANNneuron* | first neuron in new front layer |
numberOfNeuronsInNewFrontLayer | const int64_t | number of neurons in new front layer |
currentNumberOfLayers | const int64_t | current number of layers |
numberOfLayers | const int64_t | number of layers |
Function Reference List
-
-
- ANNneuronClassClass::fillInNeuronIDProperties
Function ANNformationClass::linkNewFrontLayerWithPreviousLayers()
Function Summary
name | return type | description |
linkNewFrontLayerWithPreviousLayers | void | link new front layer with previous layers |
Function Arguments
name | type | description |
firstNeuronInCurrentLayer | ANNneuron* | first neuron in current layer |
firstNeuronInNewFrontLayer | ANNneuron* | first neuron in new front layer |
probabilityANNneuronConnectionWithPreviousLayerNeuron | const double | probability ANN neuron connection with previous layer neuron |
firstInputNeuronInSubnet | ANNneuron* | first input neuron in subnet |
probabilityANNneuronConnectionWithAllPreviousLayersNeurons | const double | probability ANN neuron connection with all previous layers neurons |
numberOfInputNeurons | const int64_t | number of input neurons |
numberOfOutputNeurons | const int64_t | number of output neurons |
currentNumberOfLayers | const int64_t | current number of layers |
onlyLinkWithPreviousAndFirstLayer | const bool | only link with previous and first layer |
Function Reference List
-
- addSideConnectionsForLayer
- addSideConnectionsForLayer
Function ANNformationClass::linkNewFrontLayerWithPreviousLayers2D()
Function Summary
name | return type | description |
linkNewFrontLayerWithPreviousLayers2D | void | link new front layer with previous layers 2D |
Function Arguments
name | type | description |
firstNeuronInCurrentLayer | ANNneuron* | first neuron in current layer |
firstNeuronInNewFrontLayer | ANNneuron* | first neuron in new front layer |
probabilityANNneuronConnectionWithPreviousLayerNeuron | const double | probability ANN neuron connection with previous layer neuron |
firstInputNeuronInSubnet | ANNneuron* | first input neuron in subnet |
probabilityANNneuronConnectionWithAllPreviousLayersNeurons | const double | probability ANN neuron connection with all previous layers neurons |
numberOfInputNeurons | const int64_t | number of input neurons |
numberOfOutputNeurons | const int64_t | number of output neurons |
currentNumberOfLayers | const int64_t | current number of layers |
numberOfLayers | const int64_t | number of layers |
numberOfNeuronsInCurrentLayer | const int64_t | number of neurons in current layer |
numberOfNeuronsInNewFrontLayer | const int64_t | number of neurons in new front layer |
layerDivergenceType | const int | layer divergence type |
onlyLinkWithPreviousAndFirstLayer | const bool | only link with previous and first layer |
Function Reference List
-
-
-
-
-
- calculateDistanceBetween2Points
- calculateDistanceBetween2Points
- calculateDistanceBetween2Points
- calculateDistanceBetween2Points
- calculateDistanceBetween2Points
- calculateDistanceBetween2Points
- calculateDistanceBetween2Points
- calculateDistanceBetween2Points
- calculateDistanceBetween2Points
- calculateDistanceBetween2Points
- calculateDistanceBetween2Points
- calculateDistanceBetween2Points
- calculateDistanceBetween2Points
- calculateDistanceBetween2Points
- addSideConnectionsForLayer2D
- addSideConnectionsForLayer2D
Function ANNformationClass::calcNumberOfLayersInSubnet()
Function Summary
name | return type | description |
calcNumberOfLayersInSubnet | int64_t | calc number of layers in subnet |
Function Arguments
name | type | description |
numberOfInputNeurons | const int64_t | number of input neurons |
numberOfOutputNeurons | const int64_t | number of output neurons |
currentNumberOfRecursiveSubnets | const int64_t | current number of recursive subnets |
maxNumberOfRecursiveSubnets | const int64_t | max number of recursive subnets |
useSubnetDependentNumberOfLayers | const bool | use subnet dependent number of layers |
subnetNumberOfLayersModifier | const double | subnet number of layers modifier |
Function Reference List
N/A
Function ANNformationClass::advancedDivergenceFactor()
Function Summary
name | return type | description |
advancedDivergenceFactor | double | advanced divergence factor |
Function Arguments
name | type | description |
currentNumberOfLayersFromNearestEndPoint | const int64_t | current number of layers from nearest end point |
numberOfLayers | const int64_t | number of layers |
Function Reference List
N/A
Function ANNformationClass::calculateNumberOfNeuronsInNewFrontLayer()
Function Summary
name | return type | description |
calculateNumberOfNeuronsInNewFrontLayer | int64_t | calculate number of neurons in new front layer |
Function Arguments
name | type | description |
numberOfInputNeurons | const int64_t | number of input neurons |
numberOfOutputNeurons | int64_t | number of output neurons |
numberOfNeuronsInCurrentLayer | const int64_t | number of neurons in current layer |
currentNumberOfLayers | const int64_t | current number of layers |
numberOfLayers | const int64_t | number of layers |
meanLayerDivergenceFactor | const double | mean layer divergence factor |
layerDivergenceType | const int | layer divergence type |
Function Reference List
-
-
-
-
-
- advancedDivergenceFactor
- advancedDivergenceFactor
Function ANNformationClass::calculateDistanceBetween2Points()
Function Summary
name | return type | description |
calculateDistanceBetween2Points | double | calculate distance between 2P oints |
Function Arguments
name | type | description |
xPositionOfUnit1 | const double | xPosition of unit 1 |
xPositionOfUnit2 | const double | xPosition of unit 2 |
yPositionOfUnit1 | const double | yPosition of unit 1 |
yPositionOfUnit2 | const double | yPosition of unit 2 |
Function Reference List
N/A
Function ANNformationClass::addSideConnectionsForLayer()
Function Summary
name | return type | description |
addSideConnectionsForLayer | void | add side connections for layer |
Function Arguments
name | type | description |
firstNeuronInLayer | ANNneuron* | first neuron in layer |
Function Reference List
-
-
-
- addSideConnectionIfNotAlreadyAdded
Function ANNformationClass::addSideConnectionsForLayer2D()
Function Summary
name | return type | description |
addSideConnectionsForLayer2D | void | add side connections for layer 2D |
Function Arguments
name | type | description |
firstNeuronInLayer | ANNneuron* | first neuron in layer |
layerDivergenceType | const int | layer divergence type |
currentNumberOfLayers | const int64_t | current number of layers |
numberOfLayers | const int64_t | number of layers |
Function Reference List
-
-
-
-
-
- calculateDistanceBetween2Points
- calculateDistanceBetween2Points
- calculateDistanceBetween2Points
- calculateDistanceBetween2Points
- addSideConnectionIfNotAlreadyAdded
Function ANNformationClass::addSideConnectionIfNotAlreadyAdded()
Function Summary
name | return type | description |
addSideConnectionIfNotAlreadyAdded | void | add side connection if not already added |
Function Arguments
name | type | description |
currentNeuronL1 | ANNneuron* | current neuron L1 |
currentNeuronL2 | ANNneuron* | current neuron L2 |
Function Reference List
N/A
Function ANNformationClass::countNumberOfLayersInSubnet()
Function Summary
name | return type | description |
countNumberOfLayersInSubnet | int | count number of layers in subnet |
Function Arguments
name | type | description |
firstInputNeuronInSubnet | ANNneuron* | first input neuron in subnet |
Function Reference List
N/A
File ANNneuronClass Documentation
File Name: ANNneuronClass.cpp/.hpp
File Description: ANN neuron class
File Function List
-
- fillInNeuronIDProperties
- averageNeuronKeyProperties
File Diagram (functions hierarchy)
Class ANNneuron
Class Data
name | type | description |
id | int64_t | id |
orderID | int64_t | order ID |
layerID | int64_t | layer ID |
subnetID | int64_t | subnet ID |
bias | double | bias |
storedBias | double | stored bias |
output | double | output |
classTarget | double | class target |
error | double | error |
backNeuronMatchTemp | bool | back neuron match temp |
memoryTrace | int64_t | memory trace |
intermediaryNeuronCreatedThisRound | bool | intermediary neuron created this round |
neuronTypeInput | bool | neuron type input |
neuronTypeTopLevelCategory | bool | neuron type top level category |
neuronTypeIntermediary | bool | neuron type intermediary |
topLevelCategoryAlreadyExistsDeleteThisNewCopy | bool | top level category already exists delete this new copy |
printed | bool | printed |
printedXML | bool | printed XML |
spatialCoordinatesSet2D | bool | spatial coordinates set 2D |
spatialCoordinatesSet3D | bool | spatial coordinates set 3D |
xPosRel | int64_t | xPos rel |
yPosRel | int64_t | yPos rel |
zPosRel | int64_t | zPos rel |
spatialCoordinatesSetClassification | bool | spatial coordinates set classification |
xPosRelFrac | double | xPos rel frac |
yPosRelFrac | double | yPos rel frac |
zPosRelFrac | double | zPos rel frac |
nextNeuron | ANNneuron* | next neuron |
hasFrontLayer | bool | has front layer |
hasBackLayer | bool | has back layer |
firstNeuronInFrontLayer | ANNneuron* | first neuron in front layer |
firstNeuronInBackLayer | ANNneuron* | first neuron in back layer |
frontANNneuronConnectionList | vector<ANNneuronConnection*> | front ANN neuron connection list |
backANNneuronConnectionList | vector<ANNneuronConnection*> | back ANN neuron connection list |
sideANNneuronConnectionList | vector<ANNneuronConnection*> | side ANN neuron connection list |
isSubnet | bool | is subnet |
firstNeuronInBackLayerOfSubnet | ANNneuron* | first neuron in back layer of subnet |
firstNeuronInFrontLayerOfSubnet | ANNneuron* | first neuron in front layer of subnet |
isInputSubnet | bool | is input subnet |
isOutputSubnet | bool | is output subnet |
GIAisConceptEntity | bool | GIA is concept entity |
GIAentityName | string | GIA entity name |
GIAactiveForSubnetIdentification | bool | GIA active for subnet identification |
GIAalreadyParsed | bool | GIA already parsed |
GIAactivationAge | int64_t | GIA activation age |
GIAconceptIndexBitID | int | GIA concept index bit ID |
GIAconceptIndexType | int | GIA concept index type |
GIAconceptIndex | int | GIA concept index |
SANIneuronName | string | SANI neuron name |
SANIneuronStrength | double | SANI neuron strength |
SANIactivationLevel | int | SANI activation level |
SANIgeneratedForLastSentence | bool | SANI generated for last sentence |
Class ANNtranslatorVariablesClass
Class Data
name | type | description |
firstInputNeuronInNetwork | ANNneuron* | first input neuron in network |
firstOutputNeuronInNetwork | ANNneuron* | first output neuron in network |
Function ANNneuronClassClass::fillInNeuronIDProperties()
Function Summary
name | return type | description |
fillInNeuronIDProperties | void | fill in neuron IDP roperties |
Function Arguments
name | type | description |
neuronToUpdate | ANNneuron* | neuron to update |
IDinit | int64_t | ID init |
orderIDinit | int64_t | order ID init |
layerIDinit | int64_t | layer ID init |
subnetIDinit | int64_t | subnet ID init |
Function Reference List
N/A
Function ANNneuronClassClass::averageNeuronKeyProperties()
Function Summary
name | return type | description |
averageNeuronKeyProperties | void | average neuron key properties |
Function Arguments
name | type | description |
neuronToUpdate | ANNneuron* | neuron to update |
neuronToCopy | ANNneuron* | neuron to copy |
Function Reference List
N/A
File ANNalgorithmBackpropagation Documentation
File Name: ANNalgorithmBackpropagation.cpp/.hpp
File Description: ANN algorithm backpropagation
File Function List
-
- trainNeuralNetworkBackpropagationSimple
- trainNeuralNetworkBackpropagationSimpleNoReset
- trainNeuralNetworkBackpropagation
- storeNeuralNetworkBiasAndWeights
- restoreNeuralNetworkWithStoredBiasAndWeights
- resetNeuralNetworkWithRandomBiasAndWeights
- resetInputsAndClassTargets
- calculateStandardDeviation
File Diagram (functions hierarchy)
Function ANNalgorithmBackpropagationClass::trainNeuralNetworkBackpropagationSimple()
Function Summary
name | return type | description |
trainNeuralNetworkBackpropagationSimple | void | train neural network backpropagation simple |
Function Arguments
name | type | description |
firstInputNeuron | ANNneuron* | first input neuron |
firstOutputNeuron | ANNneuron* | first output neuron |
numberOfInputNeurons | const int | number of input neurons |
numberOfOutputNeurons | const int | number of output neurons |
numEpochs | const int | num epochs |
firstExperienceInDataSet | ANNexperience* | first experience in data set |
numberOfExperiences | const int64_t | number of experiences |
Function Reference List
-
- resetNeuralNetworkWithRandomBiasAndWeights
- trainNeuralNetworkBackpropagationSimpleNoReset
Function ANNalgorithmBackpropagationClass::trainNeuralNetworkBackpropagationSimpleNoReset()
Function Summary
name | return type | description |
trainNeuralNetworkBackpropagationSimpleNoReset | void | train neural network backpropagation simple no reset |
Function Arguments
name | type | description |
firstInputNeuron | ANNneuron* | first input neuron |
firstOutputNeuron | ANNneuron* | first output neuron |
numberOfInputNeurons | const int | number of input neurons |
numberOfOutputNeurons | const int | number of output neurons |
numEpochs | const int | num epochs |
firstExperienceInDataSet | ANNexperience* | first experience in data set |
numberOfExperiences | const int64_t | number of experiences |
Function Reference List
-
-
-
- resetInputsAndClassTargets
- ANNalgorithmBackpropagationUpdateClass::ANNbackPropogationPass
- storeNeuralNetworkBiasAndWeights
- restoreNeuralNetworkWithStoredBiasAndWeights
- resetInputsAndClassTargets
- ANNalgorithmBackpropagationUpdateClass::ANNbackPropogationPass
- restoreNeuralNetworkWithStoredBiasAndWeights
Function ANNalgorithmBackpropagationClass::trainNeuralNetworkBackpropagation()
Function Summary
name | return type | description |
trainNeuralNetworkBackpropagation | void | train neural network backpropagation |
Function Arguments
name | type | description |
firstInputNeuron | ANNneuron* | first input neuron |
firstOutputNeuron | ANNneuron* | first output neuron |
numberOfInputNeurons | const int | number of input neurons |
numberOfOutputNeurons | const int | number of output neurons |
maxFolds | const int | max folds |
firstExperienceInDataSet | ANNexperience* | first experience in data set |
numberOfExperiences | const int64_t | number of experiences |
maxEpochs | const int | max epochs |
Function Reference List
-
-
- resetNeuralNetworkWithRandomBiasAndWeights
- ANNexperienceClassClass::findExperience
- ANNexperienceClassClass::findExperience
-
- resetInputsAndClassTargets
- ANNalgorithmBackpropagationUpdateClass::ANNbackPropogationPass
- resetInputsAndClassTargets
- ANNalgorithmBackpropagationUpdateClass::ANNbackPropogationPass
- storeNeuralNetworkBiasAndWeights
- restoreNeuralNetworkWithStoredBiasAndWeights
- resetInputsAndClassTargets
- ANNalgorithmBackpropagationUpdateClass::ANNbackPropogationPass
- restoreNeuralNetworkWithStoredBiasAndWeights
- calculateStandardDeviation
- calculateStandardDeviation
- calculateStandardDeviation
- resetNeuralNetworkWithRandomBiasAndWeights
-
- resetInputsAndClassTargets
- ANNalgorithmBackpropagationUpdateClass::ANNbackPropogationPass
- storeNeuralNetworkBiasAndWeights
- restoreNeuralNetworkWithStoredBiasAndWeights
- resetInputsAndClassTargets
- ANNalgorithmBackpropagationUpdateClass::ANNbackPropogationPass
- restoreNeuralNetworkWithStoredBiasAndWeights
- ANNexperienceClassClass::addExperiencesToOFStream
Function ANNalgorithmBackpropagationClass::storeNeuralNetworkBiasAndWeights()
Function Summary
name | return type | description |
storeNeuralNetworkBiasAndWeights | void | store neural network bias and weights |
Function Arguments
name | type | description |
neuronBeingAccessed | ANNneuron* | neuron being accessed |
Function Reference List
-
-
-
-
- storeNeuralNetworkBiasAndWeights
- storeNeuralNetworkBiasAndWeights
Function ANNalgorithmBackpropagationClass::restoreNeuralNetworkWithStoredBiasAndWeights()
Function Summary
name | return type | description |
restoreNeuralNetworkWithStoredBiasAndWeights | void | restore neural network with stored bias and weights |
Function Arguments
name | type | description |
neuronBeingAccessed | ANNneuron* | neuron being accessed |
Function Reference List
-
-
-
-
- restoreNeuralNetworkWithStoredBiasAndWeights
- restoreNeuralNetworkWithStoredBiasAndWeights
Function ANNalgorithmBackpropagationClass::resetNeuralNetworkWithRandomBiasAndWeights()
Function Summary
name | return type | description |
resetNeuralNetworkWithRandomBiasAndWeights | void | reset neural network with random bias and weights |
Function Arguments
name | type | description |
neuronBeingAccessed | ANNneuron* | neuron being accessed |
Function Reference List
-
-
-
-
- resetNeuralNetworkWithRandomBiasAndWeights
- resetNeuralNetworkWithRandomBiasAndWeights
Function ANNalgorithmBackpropagationClass::resetInputsAndClassTargets()
Function Summary
name | return type | description |
resetInputsAndClassTargets | void | reset inputs and class targets |
Function Arguments
name | type | description |
firstInputNeuron | ANNneuron* | first input neuron |
firstOutputNeuron | ANNneuron* | first output neuron |
numberOfInputNeurons | const int64_t | number of input neurons |
numberOfOutputNeurons | const int64_t | number of output neurons |
currentExperienceInDataSet | ANNexperience* | current experience in data set |
Function Reference List
N/A
Function ANNalgorithmBackpropagationClass::calculateStandardDeviation()
Function Summary
name | return type | description |
calculateStandardDeviation | float | calculate standard deviation |
Function Arguments
name | type | description |
array | const float* | array |
length | const int | length |
average | const float | average |
Function Reference List
N/A
File ANNexperienceClass Documentation
File Name: ANNexperienceClass.cpp/.hpp
File Description: ANN experience class
File Function List
-
- findExperience
- addExperiencesToOFStream
File Diagram (functions hierarchy)
Class ANNexperienceInput
Class Data
name | type | description |
inputValue | double | input value |
next | ANNexperienceInput* | next |
Class ANNexperience
Class Data
name | type | description |
classTargetValue | int64_t | class target value |
predictionError | double | prediction error |
firstExperienceInput | ANNexperienceInput* | first experience input |
next | ANNexperience* | next |
Function ANNexperienceClassClass::findExperience()
Function Summary
name | return type | description |
findExperience | ANNexperience* | find experience |
Function Arguments
name | type | description |
firstExperienceInDataSet | ANNexperience* | first experience in data set |
experienceNumToFind | const int64_t | experience num to find |
Function Reference List
N/A
Function ANNexperienceClassClass::addExperiencesToOFStream()
Function Summary
name | return type | description |
addExperiencesToOFStream | void | add experiences to OFS tream |
Function Arguments
name | type | description |
experienceDataSetOfStreamObject | ofstream* | experience data set of stream object |
firstExperienceInList | const ANNexperience* | first experience in list |
Function Reference List
Function ANNexperienceClassClass::addExperienceToOFStream()
Function Summary
name | return type | description |
addExperienceToOFStream | void | add experience to OFS tream |
Function Arguments
name | type | description |
experienceDataSetOfStreamObject | ofstream* | experience data set of stream object |
experience | const ANNexperience* | experience |
Function Reference List
-
- SHAREDvarsClass::convertIntToString
- SHAREDvarsClass::convertDoubleToString
File SHAREDvars Documentation
File Name: SHAREDvars.cpp/.hpp
File Description: SHARED vars
File Function List
-
- compareDoubles
- minInt
- absDouble
- argumentExists
- getFloatArgument
- getStringArgument
- getCurrentDirectory
- convertDoubleToString
- convertIntToString
- convertUnsignedIntToString
- convertLongToString
- convertStringToDouble
- writeStringToFile
- sprintfSafeDouble
- sprintfSafeInt
- sprintfSafeLong
File Diagram (functions hierarchy)
Function SHAREDvarsClass::compareDoubles()
Function Summary
name | return type | description |
compareDoubles | bool | compare doubles |
Function Arguments
name | type | description |
a | const double | a |
b | const double | b |
Function Reference List
N/A
Function SHAREDvarsClass::minInt()
Function Summary
name | return type | description |
minInt | int | min int |
Function Arguments
name | type | description |
a | int | a |
b | const int | b |
Function Reference List
N/A
Function SHAREDvarsClass::absDouble()
Function Summary
name | return type | description |
absDouble | double | abs double |
Function Arguments
name | type | description |
val | const double | val |
Function Reference List
N/A
Function SHAREDvarsClass::argumentExists()
Function Summary
name | return type | description |
argumentExists | bool | argument exists |
Function Arguments
name | type | description |
argc | const int | argc |
argv | const char** | argv |
keystr | const string | keystr |
Function Reference List
N/A
Function SHAREDvarsClass::getFloatArgument()
Function Summary
name | return type | description |
getFloatArgument | float | get float argument |
Function Arguments
name | type | description |
argc | const int | argc |
argv | const char** | argv |
keystr | const string | keystr |
Function Reference List
N/A
Function SHAREDvarsClass::getStringArgument()
Function Summary
name | return type | description |
getStringArgument | string | get string argument |
Function Arguments
name | type | description |
argc | const int | argc |
argv | const char** | argv |
keystr | const string | keystr |
Function Reference List
N/A
Function SHAREDvarsClass::getCurrentDirectory()
Function Summary
name | return type | description |
getCurrentDirectory | string | get current directory |
Function Reference List
N/A
Function SHAREDvarsClass::setCurrentDirectory()
Function Summary
name | return type | description |
setCurrentDirectory | void | set current directory |
Function Arguments
name | type | description |
folder | const string* | folder |
Function Reference List
N/A
Function SHAREDvarsClass::convertDoubleToString()
Function Summary
name | return type | description |
convertDoubleToString | string | convert double to string |
Function Arguments
name | type | description |
number | const double | number |
format | const string | format |
Function Reference List
Function SHAREDvarsClass::convertIntToString()
Function Summary
name | return type | description |
convertIntToString | string | convert int to string |
Function Arguments
name | type | description |
number | const int | number |
Function Reference List
Function SHAREDvarsClass::convertUnsignedIntToString()
Function Summary
name | return type | description |
convertUnsignedIntToString | string | convert unsigned int to string |
Function Arguments
name | type | description |
number | const int | number |
Function Reference List
Function SHAREDvarsClass::convertLongToString()
Function Summary
name | return type | description |
convertLongToString | string | convert long to string |
Function Arguments
name | type | description |
number | const int64_t | number |
Function Reference List
Function SHAREDvarsClass::convertStringToDouble()
Function Summary
name | return type | description |
convertStringToDouble | double | convert string to double |
Function Arguments
name | type | description |
number | const string | number |
Function Reference List
N/A
Function SHAREDvarsClass::writeStringToFile()
Function Summary
name | return type | description |
writeStringToFile | void | write string to file |
Function Arguments
name | type | description |
fileName | const string | file name |
s | string* | s |
Function Reference List
N/A
Function SHAREDvarsClass::sprintfSafeDouble()
Function Summary
name | return type | description |
sprintfSafeDouble | void | sprintf safe double |
Function Arguments
name | type | description |
stringCharStar | char* | string char star |
type | const char* | type |
number | double | number |
Function Reference List
N/A
Function SHAREDvarsClass::sprintfSafeInt()
Function Summary
name | return type | description |
sprintfSafeInt | void | sprintf safe int |
Function Arguments
name | type | description |
stringCharStar | char* | string char star |
type | const char* | type |
number | int | number |
Function Reference List
N/A
Function SHAREDvarsClass::sprintfSafeLong()
Function Summary
name | return type | description |
sprintfSafeLong | void | sprintf safe long |
Function Arguments
name | type | description |
stringCharStar | char* | string char star |
type | const char* | type |
number | int64_t | number |
Function Reference List
N/A
File ANNalgorithmBackpropagationUpdate Documentation
File Name: ANNalgorithmBackpropagationUpdate.cpp/.hpp
File Description: ANN algorithm backpropagation update
File Function List
-
- ANNbackPropogationPass
- calculateErrorOfBackPropPass
- backPropogationForwardPassStep
- backpropagationAdjustOutputValueOfANeuronBasedOnBackNeurons
- backPropogationBackwardPassStep
- calculateOutputErrorOfOutputNeuron
- calculateOutputErrorOfNonoutputNeuron
- calculateNewBackConnectionWeightsOfNeuron
- calculateNewBiasOfNeuron
- copyNeuronContainerListToANNneuronConnectionContainerList
- copyANNneuronConnectionContainerListToNeuronContainerList
File Diagram (functions hierarchy)
Function ANNalgorithmBackpropagationUpdateClass::ANNbackPropogationPass()
Function Summary
name | return type | description |
ANNbackPropogationPass | double | ANN back propogation pass |
Function Arguments
name | type | description |
firstInputNeuronInNetwork | ANNneuron* | first input neuron in network |
firstOutputNeuronInNetwork | ANNneuron* | first output neuron in network |
Function Reference List
-
- backPropogationForwardPassStep
- backPropogationBackwardPassStep
- calculateErrorOfBackPropPass
Function ANNalgorithmBackpropagationUpdateClass::calculateErrorOfBackPropPass()
Function Summary
name | return type | description |
calculateErrorOfBackPropPass | double | calculate error of back prop pass |
Function Arguments
name | type | description |
firstOutputNeuronInNetwork | const ANNneuron* | first output neuron in network |
Function Reference List
N/A
Function ANNalgorithmBackpropagationUpdateClass::backPropogationForwardPassStep()
Function Summary
name | return type | description |
backPropogationForwardPassStep | void | back propogation forward pass step |
Function Arguments
name | type | description |
neuronBeingAccessed | ANNneuron* | neuron being accessed |
Function Reference List
-
-
-
- backpropagationAdjustOutputValueOfANeuronBasedOnBackNeurons
- copyANNneuronConnectionContainerListToNeuronContainerList
- copyANNneuronConnectionContainerListToNeuronContainerList
- backPropogationForwardPassStep
- copyNeuronContainerListToANNneuronConnectionContainerList
- copyNeuronContainerListToANNneuronConnectionContainerList
- backPropogationForwardPassStep
Function ANNalgorithmBackpropagationUpdateClass::backpropagationAdjustOutputValueOfANeuronBasedOnBackNeurons()
Function Summary
name | return type | description |
backpropagationAdjustOutputValueOfANeuronBasedOnBackNeurons | void | backpropagation adjust output value of AN euron based on back neurons |
Function Arguments
name | type | description |
neuronBeingAccessed | ANNneuron* | neuron being accessed |
Function Reference List
Function ANNalgorithmBackpropagationUpdateClass::calculateOValue()
Function Summary
name | return type | description |
calculateOValue | float | calculate OV alue |
Function Arguments
name | type | description |
netValue | float | net value |
Function Reference List
N/A
Function ANNalgorithmBackpropagationUpdateClass::backPropogationBackwardPassStep()
Function Summary
name | return type | description |
backPropogationBackwardPassStep | void | back propogation backward pass step |
Function Arguments
name | type | description |
neuronBeingAccessed | ANNneuron* | neuron being accessed |
isOutputLayer | const int | is output layer |
isSubnet | const bool | is subnet |
Function Reference List
-
-
-
- calculateOutputErrorOfOutputNeuron
- calculateOutputErrorOfNonoutputNeuron
- calculateNewBackConnectionWeightsOfNeuron
- calculateNewBiasOfNeuron
- copyANNneuronConnectionContainerListToNeuronContainerList
- copyANNneuronConnectionContainerListToNeuronContainerList
- backPropogationBackwardPassStep
- copyNeuronContainerListToANNneuronConnectionContainerList
- copyNeuronContainerListToANNneuronConnectionContainerList
- backPropogationBackwardPassStep
- backPropogationBackwardPassStep
Function ANNalgorithmBackpropagationUpdateClass::calculateOutputErrorOfOutputNeuron()
Function Summary
name | return type | description |
calculateOutputErrorOfOutputNeuron | void | calculate output error of output neuron |
Function Arguments
name | type | description |
neuronBeingAccessed | ANNneuron* | neuron being accessed |
Function Reference List
N/A
Function ANNalgorithmBackpropagationUpdateClass::calculateOutputErrorOfNonoutputNeuron()
Function Summary
name | return type | description |
calculateOutputErrorOfNonoutputNeuron | void | calculate output error of nonoutput neuron |
Function Arguments
name | type | description |
neuronBeingAccessed | ANNneuron* | neuron being accessed |
Function Reference List
N/A
Function ANNalgorithmBackpropagationUpdateClass::calculateNewBackConnectionWeightsOfNeuron()
Function Summary
name | return type | description |
calculateNewBackConnectionWeightsOfNeuron | void | calculate new back connection weights of neuron |
Function Arguments
name | type | description |
neuronBeingAccessed | ANNneuron* | neuron being accessed |
Function Reference List
N/A
Function ANNalgorithmBackpropagationUpdateClass::calculateNewBiasOfNeuron()
Function Summary
name | return type | description |
calculateNewBiasOfNeuron | void | calculate new bias of neuron |
Function Arguments
name | type | description |
neuronBeingAccessed | ANNneuron* | neuron being accessed |
Function Reference List
N/A
Function ANNalgorithmBackpropagationUpdateClass::copyNeuronContainerListToANNneuronConnectionContainerList()
Function Summary
name | return type | description |
copyNeuronContainerListToANNneuronConnectionContainerList | void | copy neuron container list to ANN neuron connection container list |
Function Arguments
name | type | description |
ANNneuronConnectionListToUpdate | vector<ANNneuronConnection*>* | ANN neuron connection list to update |
firstNeuronInListToCopy | ANNneuron* | first neuron in list to copy |
frontOrBack | const bool | front or back |
Function Reference List
-
-
-
- ANNneuronClassClass::averageNeuronKeyProperties
- ANNneuronClassClass::averageNeuronKeyProperties
Function ANNalgorithmBackpropagationUpdateClass::copyANNneuronConnectionContainerListToNeuronContainerList()
Function Summary
name | return type | description |
copyANNneuronConnectionContainerListToNeuronContainerList | void | copy ANN neuron connection container list to neuron container list |
Function Arguments
name | type | description |
firstNeuronInListToUpdate | ANNneuron* | first neuron in list to update |
ANNneuronConnectionListToCopy | vector<ANNneuronConnection*>* | ANN neuron connection list to copy |
frontOrBack | const bool | front or back |
Function Reference List
-
-
-
- ANNneuronClassClass::averageNeuronKeyProperties
- ANNneuronClassClass::averageNeuronKeyProperties
File ANNalgorithmBreakawayNetwork Documentation
File Name: ANNalgorithmBreakawayNetwork.cpp/.hpp
File Description: ANN algorithm breakaway network
File Function List
-
- trainNeuralNetworkBreakaway
File Diagram (functions hierarchy)
Function ANNalgorithmBreakawayNetworkClass::trainNeuralNetworkBreakaway()
Function Summary
name | return type | description |
trainNeuralNetworkBreakaway | bool | train neural network breakaway |
Function Arguments
name | type | description |
firstInputNeuronInNetwork | ANNneuron* | first input neuron in network |
firstOutputNeuronInNetwork | ANNneuron** | first output neuron in network |
numberOfInputNeurons | const int | number of input neurons |
numberOfOutputNeurons | const int | number of output neurons |
simple | const bool | simple |
numEpochs | const int | num epochs |
maxFolds | const int | max folds |
maxEpochs | const int | max epochs |
firstExperienceInDataSet | ANNexperience* | first experience in data set |
numberOfExperiences | const int64_t | number of experiences |
sizeOfSupernet | const int | size of supernet |
numberOfLayersOriginal | int | number of layers original |
Function Reference List
-
-
-
- ANNformationClass::fillNonDistinctHiddenLayer
- ANNalgorithmBackpropagationClass::resetNeuralNetworkWithRandomBiasAndWeights
- ANNalgorithmBackpropagationClass::resetNeuralNetworkWithRandomBiasAndWeights
- ANNalgorithmBackpropagationClass::trainNeuralNetworkBackpropagationSimpleNoReset
File ANNalgorithmMemoryNetwork Documentation
File Name: ANNalgorithmMemoryNetwork.cpp/.hpp
File Description: ANN algorithm memory network
File Function List
-
- trainNeuralNetworkMemorySimple
- trainNeuralNetworkMemory
- storeNeuralNetworkMemoryTrace
- restoreNeuralNetworkWithStoredMemoryTrace
- resetNeuralNetworkWithRandomBiasAndWeightsAndEraseMemoryTrace
- resetInputs
File Diagram (functions hierarchy)
Function ANNalgorithmMemoryNetworkClass::trainNeuralNetworkMemorySimple()
Function Summary
name | return type | description |
trainNeuralNetworkMemorySimple | void | train neural network memory simple |
Function Arguments
name | type | description |
firstInputNeuron | ANNneuron* | first input neuron |
firstOutputNeuron | const ANNneuron* | first output neuron |
numberOfInputNeurons | const int64_t | number of input neurons |
numberOfOutputNeurons | const int64_t | number of output neurons |
firstExperienceInDataSet | ANNexperience* | first experience in data set |
numberOfExperiences | const int64_t | number of experiences |
Function Reference List
-
- resetNeuralNetworkWithRandomBiasAndWeightsAndEraseMemoryTrace
- resetInputs
- ANNalgorithmMemoryNetworkUpdateClass::ANNclassificationAndMemoryPass
- storeNeuralNetworkMemoryTrace
- restoreNeuralNetworkWithStoredMemoryTrace
- resetInputs
- ANNalgorithmMemoryNetworkUpdateClass::ANNclassificationAndMemoryPass
- restoreNeuralNetworkWithStoredMemoryTrace
Function ANNalgorithmMemoryNetworkClass::trainNeuralNetworkMemory()
Function Summary
name | return type | description |
trainNeuralNetworkMemory | void | train neural network memory |
Function Arguments
name | type | description |
firstInputNeuron | ANNneuron* | first input neuron |
firstOutputNeuron | const ANNneuron* | first output neuron |
numberOfInputNeurons | const int64_t | number of input neurons |
numberOfOutputNeurons | const int64_t | number of output neurons |
maxFolds | const int | max folds |
firstExperienceInDataSet | ANNexperience* | first experience in data set |
numberOfExperiences | const int64_t | number of experiences |
Function Reference List
-
- resetNeuralNetworkWithRandomBiasAndWeightsAndEraseMemoryTrace
- ANNexperienceClassClass::findExperience
- ANNexperienceClassClass::findExperience
- resetInputs
- ANNalgorithmMemoryNetworkUpdateClass::ANNclassificationAndMemoryPass
- resetInputs
- ANNalgorithmMemoryNetworkUpdateClass::ANNclassificationAndMemoryPass
- storeNeuralNetworkMemoryTrace
- restoreNeuralNetworkWithStoredMemoryTrace
- resetInputs
- ANNalgorithmMemoryNetworkUpdateClass::ANNclassificationAndMemoryPass
- restoreNeuralNetworkWithStoredMemoryTrace
Function ANNalgorithmMemoryNetworkClass::storeNeuralNetworkMemoryTrace()
Function Summary
name | return type | description |
storeNeuralNetworkMemoryTrace | void | store neural network memory trace |
Function Arguments
name | type | description |
neuronBeingAccessed | ANNneuron* | neuron being accessed |
Function Reference List
-
-
-
-
- storeNeuralNetworkMemoryTrace
- storeNeuralNetworkMemoryTrace
Function ANNalgorithmMemoryNetworkClass::restoreNeuralNetworkWithStoredMemoryTrace()
Function Summary
name | return type | description |
restoreNeuralNetworkWithStoredMemoryTrace | void | restore neural network with stored memory trace |
Function Arguments
name | type | description |
neuronBeingAccessed | ANNneuron* | neuron being accessed |
Function Reference List
-
-
-
-
- restoreNeuralNetworkWithStoredMemoryTrace
- restoreNeuralNetworkWithStoredMemoryTrace
Function ANNalgorithmMemoryNetworkClass::resetNeuralNetworkWithRandomBiasAndWeightsAndEraseMemoryTrace()
Function Summary
name | return type | description |
resetNeuralNetworkWithRandomBiasAndWeightsAndEraseMemoryTrace | void | reset neural network with random bias and weights and erase memory trace |
Function Arguments
name | type | description |
neuronBeingAccessed | ANNneuron* | neuron being accessed |
Function Reference List
-
-
-
-
- resetNeuralNetworkWithRandomBiasAndWeightsAndEraseMemoryTrace
- resetNeuralNetworkWithRandomBiasAndWeightsAndEraseMemoryTrace
Function ANNalgorithmMemoryNetworkClass::resetInputs()
Function Summary
name | return type | description |
resetInputs | void | reset inputs |
Function Arguments
name | type | description |
firstInputNeuron | ANNneuron* | first input neuron |
numberOfInputNeurons | const int64_t | number of input neurons |
currentExperienceInDataSet | ANNexperience* | current experience in data set |
Function Reference List
N/A
File ANNalgorithmMemoryNetworkUpdate Documentation
File Name: ANNalgorithmMemoryNetworkUpdate.cpp/.hpp
File Description: ANN algorithm memory network update
File Function List
-
- ANNclassificationAndMemoryPass
- calculateBinaryOutputCode
- isNeuronOutputFire
- memoryTraceForwardPassStep
- readAndUpdateMemoryTrace
- updateMemoryTraceBasedOnSimultaneouslyFiredNeuronsIeAssocation
- incrementMemoryTraceTallyBasedOnSimultaneouslyFiredNeuronsIeAssocation
File Diagram (functions hierarchy)
Function ANNalgorithmMemoryNetworkUpdateClass::ANNclassificationAndMemoryPass()
Function Summary
name | return type | description |
ANNclassificationAndMemoryPass | double | ANN classification and memory pass |
Function Arguments
name | type | description |
firstInputNeuronInNetwork | ANNneuron* | first input neuron in network |
firstOutputNeuronInNetwork | const ANNneuron* | first output neuron in network |
trainingClassificationResult | string* | training classification result |
trainingMemoryResult | double* | training memory result |
Function Reference List
-
- ANNalgorithmBackpropagationUpdateClass::backPropogationForwardPassStep
- calculateBinaryOutputCode
- memoryTraceForwardPassStep
Function ANNalgorithmMemoryNetworkUpdateClass::calculateBinaryOutputCode()
Function Summary
name | return type | description |
calculateBinaryOutputCode | void | calculate binary output code |
Function Arguments
name | type | description |
firstOutputNeuronInNetwork | const ANNneuron* | first output neuron in network |
trainingClassificationResult | string* | training classification result |
Function Reference List
Function ANNalgorithmMemoryNetworkUpdateClass::isNeuronOutputFire()
Function Summary
name | return type | description |
isNeuronOutputFire | bool | is neuron output fire |
Function Arguments
name | type | description |
currentNeuron | const ANNneuron* | current neuron |
Function Reference List
N/A
Function ANNalgorithmMemoryNetworkUpdateClass::memoryTraceForwardPassStep()
Function Summary
name | return type | description |
memoryTraceForwardPassStep | void | memory trace forward pass step |
Function Arguments
name | type | description |
neuronBeingAccessed | ANNneuron* | neuron being accessed |
trainingMemoryResult | double* | training memory result |
Function Reference List
-
-
-
- readAndUpdateMemoryTrace
- ANNalgorithmBackpropagationUpdateClass::copyANNneuronConnectionContainerListToNeuronContainerList
- ANNalgorithmBackpropagationUpdateClass::copyANNneuronConnectionContainerListToNeuronContainerList
- memoryTraceForwardPassStep
- ANNalgorithmBackpropagationUpdateClass::copyNeuronContainerListToANNneuronConnectionContainerList
- ANNalgorithmBackpropagationUpdateClass::copyNeuronContainerListToANNneuronConnectionContainerList
- memoryTraceForwardPassStep
Function ANNalgorithmMemoryNetworkUpdateClass::readAndUpdateMemoryTrace()
Function Summary
name | return type | description |
readAndUpdateMemoryTrace | void | read and update memory trace |
Function Arguments
name | type | description |
currentNeuronInLayer | ANNneuron* | current neuron in layer |
trainingMemoryResult | double* | training memory result |
Function Reference List
-
-
- isNeuronOutputFire
- isNeuronOutputFire
- updateMemoryTraceBasedOnSimultaneouslyFiredNeuronsIeAssocation
- incrementMemoryTraceTallyBasedOnSimultaneouslyFiredNeuronsIeAssocation
Function ANNalgorithmMemoryNetworkUpdateClass::updateMemoryTraceBasedOnSimultaneouslyFiredNeuronsIeAssocation()
Function Summary
name | return type | description |
updateMemoryTraceBasedOnSimultaneouslyFiredNeuronsIeAssocation | void | update memory trace based on simultaneously fired neurons ie assocation |
Function Arguments
name | type | description |
currentANNneuronConnectionSide | ANNneuronConnection* | current ANN neuron connection side |
Function Reference List
N/A
Function ANNalgorithmMemoryNetworkUpdateClass::incrementMemoryTraceTallyBasedOnSimultaneouslyFiredNeuronsIeAssocation()
Function Summary
name | return type | description |
incrementMemoryTraceTallyBasedOnSimultaneouslyFiredNeuronsIeAssocation | void | increment memory trace tally based on simultaneously fired neurons ie assocation |
Function Arguments
name | type | description |
trainingMemoryResult | double* | training memory result |
Function Reference List
N/A
File ANNalgorithmClassificationNetwork Documentation
File Name: ANNalgorithmClassificationNetwork.cpp/.hpp
File Description: ANN algorithm classification network
File Function List
-
- trainNeuralNetworkClassificationSimple
- resetIntermediaryNeuronCreatedThisRoundFlag
- resetBackNeuronMatchTemp
- pruneNetorkBasedOnRarelyUsedNeurons
- deleteNeuron
- mergeSimilarNeurons
- cullRedundantNeurons
- findCategoriesForExperienceWrapper
- findCategoriesForExperience
- connectNeurons
- updateConnectionIdealValuesParent
- updateConnectionIdealValuesChildren
- updateConnectionIdealValue
- updateConnectionIdealValueNoUpdating
- calculateIdealOutputValue
- calculateOutput
- calculateDiff
- calculateSum
- findInputs
File Diagram (functions hierarchy)
Function ANNalgorithmClassificationNetworkClass::trainNeuralNetworkClassificationSimple()
Function Summary
name | return type | description |
trainNeuralNetworkClassificationSimple | void | train neural network classification simple |
Function Arguments
name | type | description |
firstInputNeuron | ANNneuron* | first input neuron |
firstOutputNeuron | ANNneuron** | first output neuron |
numberOfInputNeurons | int64_t | number of input neurons |
numberOfOutputNeurons | int64_t* | number of output neurons |
firstExperienceInDataSet | ANNexperience* | first experience in data set |
numberOfExperiences | int64_t | number of experiences |
Function Reference List
-
-
-
-
- findCategoriesForExperienceWrapper
- findCategoriesForExperienceWrapper
- findCategoriesForExperienceWrapper
- resetIntermediaryNeuronCreatedThisRoundFlag
- SHAREDvarsClass::convertIntToString
- ANNdisplayClass::outputNeuralNetworkToVectorGraphicsAndRaytrace
- pruneNetorkBasedOnRarelyUsedNeurons
- mergeSimilarNeurons
- cullRedundantNeurons
Function ANNalgorithmClassificationNetworkClass::resetIntermediaryNeuronCreatedThisRoundFlag()
Function Summary
name | return type | description |
resetIntermediaryNeuronCreatedThisRoundFlag | void | reset intermediary neuron created this round flag |
Function Arguments
name | type | description |
categoryNeuron | ANNneuron* | category neuron |
Function Reference List
-
-
- resetIntermediaryNeuronCreatedThisRoundFlag
Function ANNalgorithmClassificationNetworkClass::resetBackNeuronMatchTemp()
Function Summary
name | return type | description |
resetBackNeuronMatchTemp | void | reset back neuron match temp |
Function Arguments
name | type | description |
categoryNeuron | ANNneuron* | category neuron |
Function Reference List
Function ANNalgorithmClassificationNetworkClass::pruneNetorkBasedOnRarelyUsedNeurons()
Function Summary
name | return type | description |
pruneNetorkBasedOnRarelyUsedNeurons | void | prune netork based on rarely used neurons |
Function Arguments
name | type | description |
categoryNeuron | ANNneuron* | category neuron |
firstOutputNeuron | ANNneuron** | first output neuron |
Function Reference List
-
-
-
- deleteNeuron
- pruneNetorkBasedOnRarelyUsedNeurons
Function ANNalgorithmClassificationNetworkClass::deleteNeuron()
Function Summary
name | return type | description |
deleteNeuron | void | delete neuron |
Function Arguments
name | type | description |
frontNeuron | ANNneuron* | front neuron |
categoryNeuron | ANNneuron* | category neuron |
firstOutputNeuron | ANNneuron** | first output neuron |
Function Reference List
-
-
- updateConnectionIdealValuesParent
Function ANNalgorithmClassificationNetworkClass::mergeSimilarNeurons()
Function Summary
name | return type | description |
mergeSimilarNeurons | void | merge similar neurons |
Function Arguments
name | type | description |
categoryNeuron | ANNneuron* | category neuron |
firstOutputNeuron | ANNneuron** | first output neuron |
Function Reference List
-
-
-
-
-
-
-
- SHAREDvarsClass::absDouble
- deleteNeuron
- mergeSimilarNeurons
Function ANNalgorithmClassificationNetworkClass::cullRedundantNeurons()
Function Summary
name | return type | description |
cullRedundantNeurons | bool | cull redundant neurons |
Function Arguments
name | type | description |
categoryNeuron | ANNneuron* | category neuron |
parentNeuron | ANNneuron* | parent neuron |
firstOutputNeuron | ANNneuron** | first output neuron |
Function Reference List
Function ANNalgorithmClassificationNetworkClass::findCategoriesForExperienceWrapper()
Function Summary
name | return type | description |
findCategoriesForExperienceWrapper | void | find categories for experience wrapper |
Function Arguments
name | type | description |
categoryNeuron | ANNneuron* | category neuron |
inputValuesCategoryFound | vector<bool>* | input values category found |
experienceClassificationneuronTypeTopLevelCategory | ANNneuron** | experience classificationneuron type top level category |
createIntermediaryNeuronsStage | int | create intermediary neurons stage |
Function Reference List
-
-
-
-
-
- calculateDiff
- findCategoriesForExperienceWrapper
- findCategoriesForExperience
-
-
-
-
-
-
- updateConnectionIdealValue
- calculateOutput
- calculateOutput
- connectNeurons
- connectNeurons
- updateConnectionIdealValuesChildren
- findInputs
- findCategoriesForExperienceWrapper
Function ANNalgorithmClassificationNetworkClass::findCategoriesForExperience()
Function Summary
name | return type | description |
findCategoriesForExperience | bool | find categories for experience |
Function Arguments
name | type | description |
categoryNeuron | ANNneuron* | category neuron |
inputValuesCategoryFound | vector<bool>* | input values category found |
level | int | level |
Function Reference List
-
-
- findCategoriesForExperience
- calculateDiff
- calculateSum
- calculateOutput
Function ANNalgorithmClassificationNetworkClass::connectNeurons()
Function Summary
name | return type | description |
connectNeurons | ANNneuronConnection* | connect neurons |
Function Arguments
name | type | description |
childNeuron | ANNneuron* | child neuron |
parentNeuron | ANNneuron* | parent neuron |
Function Reference List
-
- updateConnectionIdealValue
Function ANNalgorithmClassificationNetworkClass::updateConnectionIdealValuesParent()
Function Summary
name | return type | description |
updateConnectionIdealValuesParent | void | update connection ideal values parent |
Function Arguments
name | type | description |
categoryNeuron | ANNneuron* | category neuron |
updateIdealValues | bool | update ideal values |
Function Reference List
-
-
-
- updateConnectionIdealValue
- updateConnectionIdealValueNoUpdating
- updateConnectionIdealValuesParent
Function ANNalgorithmClassificationNetworkClass::updateConnectionIdealValuesChildren()
Function Summary
name | return type | description |
updateConnectionIdealValuesChildren | void | update connection ideal values children |
Function Arguments
name | type | description |
categoryNeuron | ANNneuron* | category neuron |
updateIdealValues | bool | update ideal values |
Function Reference List
-
-
-
- updateConnectionIdealValuesChildren
- updateConnectionIdealValuesParent
Function ANNalgorithmClassificationNetworkClass::updateConnectionIdealValue()
Function Summary
name | return type | description |
updateConnectionIdealValue | void | update connection ideal value |
Function Arguments
name | type | description |
connection | ANNneuronConnection* | connection |
Function Reference List
-
-
- updateConnectionIdealValueNoUpdating
- calculateIdealOutputValue
Function ANNalgorithmClassificationNetworkClass::updateConnectionIdealValueNoUpdating()
Function Summary
name | return type | description |
updateConnectionIdealValueNoUpdating | void | update connection ideal value no updating |
Function Arguments
name | type | description |
connection | ANNneuronConnection* | connection |
Function Reference List
-
-
- calculateIdealOutputValue
Function ANNalgorithmClassificationNetworkClass::calculateIdealOutputValue()
Function Summary
name | return type | description |
calculateIdealOutputValue | double | calculate ideal output value |
Function Arguments
name | type | description |
categoryNeuron | ANNneuron* | category neuron |
Function Reference List
Function ANNalgorithmClassificationNetworkClass::calculateOutput()
Function Summary
name | return type | description |
calculateOutput | double | calculate output |
Function Arguments
name | type | description |
totalOutput | double | total output |
numberOfCategoryInputValues | double | number of category input values |
Function Reference List
N/A
Function ANNalgorithmClassificationNetworkClass::calculateDiff()
Function Summary
name | return type | description |
calculateDiff | double | calculate diff |
Function Arguments
name | type | description |
idealValue | double | ideal value |
value | double | value |
Function Reference List
N/A
Function ANNalgorithmClassificationNetworkClass::calculateSum()
Function Summary
name | return type | description |
calculateSum | double | calculate sum |
Function Arguments
name | type | description |
value | double | value |
Function Reference List
N/A
Function ANNalgorithmClassificationNetworkClass::findInputs()
Function Summary
name | return type | description |
findInputs | void | find inputs |
Function Arguments
name | type | description |
categoryNeuron | ANNneuron* | category neuron |
inputFound | vector<bool>* | input found |
level | int | level |
Function Reference List
File ANNdisplay Documentation
File Name: ANNdisplay.cpp/.hpp
File Description: ANN display
File Function List
-
- outputNeuralNetworkToVectorGraphicsAndRaytrace
- outputNeuralNetworkToVectorGraphicsAndRaytrace
File Diagram (functions hierarchy)
Function ANNdisplayClass::outputNeuralNetworkToVectorGraphicsAndRaytrace()
Function Summary
name | return type | description |
outputNeuralNetworkToVectorGraphicsAndRaytrace | void | output neural network to vector graphics and raytrace |
Function Arguments
name | type | description |
firstInputNeuronInNetwork | ANNneuron* | first input neuron in network |
addSprites | const bool | add sprites |
allowRaytrace | const bool | allow raytrace |
displayInOpenGL | const bool | display in open GL |
useOutputLDRFile | const bool | use output LDRF ile |
useOutputSVGFile | const bool | use output SVGF ile |
useOutputPPMFile | const bool | use output PPMF ile |
outputLDRFileName | const string | output LDRF ile name |
outputSVGFileName | const string | output SVGF ile name |
outputPPMFileName | const string | output PPMF ile name |
outputPPMFileNameRaytraced | const string | output PPMF ile name raytraced |
outputTALFileName | const string | output TALF ile name |
width | const int | width |
height | const int | height |
Function Reference List
-
- outputNeuralNetworkToVectorGraphicsAndRaytrace
Function ANNdisplayClass::outputNeuralNetworkToVectorGraphicsAndRaytrace()
Function Summary
name | return type | description |
outputNeuralNetworkToVectorGraphicsAndRaytrace | void | output neural network to vector graphics and raytrace |
Function Arguments
name | type | description |
firstInputNeuronInNetwork | ANNneuron* | first input neuron in network |
addSprites | const bool | add sprites |
allowRaytrace | const bool | allow raytrace |
displayInOpenGL | const bool | display in open GL |
useOutputLDRFile | const bool | use output LDRF ile |
useOutputSVGFile | const bool | use output SVGF ile |
useOutputPPMFile | const bool | use output PPMF ile |
outputLDRFileName | const string | output LDRF ile name |
outputSVGFileName | const string | output SVGF ile name |
outputPPMFileName | const string | output PPMF ile name |
outputPPMFileNameRaytraced | const string | output PPMF ile name raytraced |
outputTALFileName | const string | output TALF ile name |
width | const int | width |
height | const int | height |
widthSVG | const int | width SVG |
heightSVG | const int | height SVG |
Function Reference List
-
-
- ANNdrawClass::ANNcreateNeuralNetworkReferenceLists
- ANNdrawClass::ANNcreateNeuralNetworkSceneFilesFromReferenceLists
- LDsvgClass::writeSVGfile
- LDparserClass::parseFile
-
- RTreferenceManipulationClass::write2DReferenceListCollapsedTo1DToFileRayTraceFormat
- RTsceneClass::rayTraceScene
- LDreferenceManipulationClass::write2DreferenceListCollapsedTo1DtoFile
- LDopenglClass::setViewPort3Dortho
- LDparserClass::parseFile
- LDopenglClass::drawPrimitivesReferenceListToOpenGLandCreateRGBmapBasic
- LDopenglClass::drawPrimitivesReferenceListToOpenGLandCreateRGBmapBasic
- RTpixelMapsClass::generatePixmapFromRGBmap
- LDopenglClass::exitOpenGL
File ANNxmlConversion Documentation
File Name: ANNxmlConversion.cpp/.hpp
File Description: ANN xml conversion
File Function List
-
- writeNetXMLfile
- generateXMLtagListBasedUponSubnet
- generateXMLtagListBasedUponLayer
- resetPrintedXMLbasedUponLayer
- readNetXMLfileAndRecordFormationVariables
- readNetXMLfile
- parseNetTag
- parseSubnetTag
- parseLayerTag
- parseNeuronContainerTag
- parseNeuronTag
- parseForwardANNneuronConnectionsListTag
-
- parseForwardANNneuronConnectionTag
- linkLayerXNeuronsBasedUponFrontANNneuronConnectionListNeuronIDs
- recordOutputNeuronAndNumInputAndOutputNeuronsInNetwork
- clearTag
File Diagram (functions hierarchy)
Function ANNxmlConversionClass::writeNetXMLfile()
Function Summary
name | return type | description |
writeNetXMLfile | bool | write net XML file |
Function Arguments
name | type | description |
xmlFileName | string | xml file name |
firstInputNeuronInNetwork | ANNneuron* | first input neuron in network |
Function Reference List
-
- generateXMLtagListBasedUponSubnet
- XMLparserClassClass::writeXMLfile
- resetPrintedXMLbasedUponLayer
Function ANNxmlConversionClass::generateXMLtagListBasedUponSubnet()
Function Summary
name | return type | description |
generateXMLtagListBasedUponSubnet | bool | generate XML tag list based upon subnet |
Function Arguments
name | type | description |
firstTagInSubnet | XMLparserTag* | first tag in subnet |
firstNeuronInSubnet | ANNneuron* | first neuron in subnet |
Function Reference List
-
- generateXMLtagListBasedUponLayer
Function ANNxmlConversionClass::generateXMLtagListBasedUponLayer()
Function Summary
name | return type | description |
generateXMLtagListBasedUponLayer | bool | generate XML tag list based upon layer |
Function Arguments
name | type | description |
firstTagInSubnet | XMLparserTag* | first tag in subnet |
firstNeuronInLayer | ANNneuron* | first neuron in layer |
Function Reference List
-
-
-
- SHAREDvarsClass::convertIntToString
- XMLparserClassClass::createNewAttribute
- SHAREDvarsClass::convertIntToString
- XMLparserClassClass::createNewAttribute
- SHAREDvarsClass::convertIntToString
- XMLparserClassClass::createNewAttribute
- SHAREDvarsClass::convertIntToString
- XMLparserClassClass::createNewAttribute
- SHAREDvarsClass::convertDoubleToString
- XMLparserClassClass::createNewAttribute
- SHAREDvarsClass::convertDoubleToString
- XMLparserClassClass::createNewAttribute
- SHAREDvarsClass::convertDoubleToString
- XMLparserClassClass::createNewAttribute
- SHAREDvarsClass::convertDoubleToString
- XMLparserClassClass::createNewAttribute
- SHAREDvarsClass::convertIntToString
- XMLparserClassClass::createNewAttribute
- SHAREDvarsClass::convertIntToString
- XMLparserClassClass::createNewAttribute
- SHAREDvarsClass::convertIntToString
- XMLparserClassClass::createNewAttribute
- SHAREDvarsClass::convertIntToString
- XMLparserClassClass::createNewAttribute
- SHAREDvarsClass::convertIntToString
- XMLparserClassClass::createNewAttribute
- SHAREDvarsClass::convertIntToString
- XMLparserClassClass::createNewAttribute
- SHAREDvarsClass::convertDoubleToString
- XMLparserClassClass::createNewAttribute
- SHAREDvarsClass::convertDoubleToString
- XMLparserClassClass::createNewAttribute
- SHAREDvarsClass::convertDoubleToString
- XMLparserClassClass::createNewAttribute
- XMLparserClassClass::createNewAttribute
- SHAREDvarsClass::convertIntToString
- XMLparserClassClass::createNewAttribute
- SHAREDvarsClass::convertDoubleToString
- XMLparserClassClass::createNewAttribute
- SHAREDvarsClass::convertDoubleToString
- XMLparserClassClass::createNewAttribute
- generateXMLtagListBasedUponSubnet
- generateXMLtagListBasedUponLayer
- clearTag
- generateXMLtagListBasedUponLayer
Function ANNxmlConversionClass::resetPrintedXMLbasedUponLayer()
Function Summary
name | return type | description |
resetPrintedXMLbasedUponLayer | bool | reset printed XML based upon layer |
Function Arguments
name | type | description |
firstNeuronInLayer | ANNneuron* | first neuron in layer |
Function Reference List
-
-
-
-
- resetPrintedXMLbasedUponLayer
- resetPrintedXMLbasedUponLayer
- resetPrintedXMLbasedUponLayer
Function ANNxmlConversionClass::readNetXMLfileAndRecordFormationVariables()
Function Summary
name | return type | description |
readNetXMLfileAndRecordFormationVariables | ANNneuron* | read net XML file and record formation variables |
Function Arguments
name | type | description |
xmlFileName | string | xml file name |
firstInputNeuronInNetwork | ANNneuron* | first input neuron in network |
numberOfInputNeurons | int64_t* | number of input neurons |
numberOfOutputNeurons | int64_t* | number of output neurons |
numberOfLayers | int64_t* | number of layers |
Function Reference List
-
- readNetXMLfile
- recordOutputNeuronAndNumInputAndOutputNeuronsInNetwork
Function ANNxmlConversionClass::readNetXMLfile()
Function Summary
name | return type | description |
readNetXMLfile | bool | read net XML file |
Function Arguments
name | type | description |
xmlFileName | string | xml file name |
firstInputNeuronInNetwork | ANNneuron* | first input neuron in network |
Function Reference List
-
- XMLparserClassClass::readXMLfile
- parseNetTag
- linkLayerXNeuronsBasedUponFrontANNneuronConnectionListNeuronIDs
Function ANNxmlConversionClass::parseNetTag()
Function Summary
name | return type | description |
parseNetTag | bool | parse net tag |
Function Arguments
name | type | description |
firstTagInNetwork | XMLparserTag* | first tag in network |
currentNeuron | ANNneuron* | current neuron |
Function Reference List
Function ANNxmlConversionClass::parseSubnetTag()
Function Summary
name | return type | description |
parseSubnetTag | bool | parse subnet tag |
Function Arguments
name | type | description |
firstTagInSubnet | XMLparserTag* | first tag in subnet |
firstNeuronInSubnet | ANNneuron* | first neuron in subnet |
layerIDcounter | int64_t | layer ID counter |
wrongAndNotUsedIDcounter | int64_t* | wrong and not used ID counter |
subnetIDcounter | int64_t | subnet ID counter |
Function Reference List
Function ANNxmlConversionClass::parseLayerTag()
Function Summary
name | return type | description |
parseLayerTag | bool | parse layer tag |
Function Arguments
name | type | description |
firstTagInLayer | XMLparserTag* | first tag in layer |
firstNeuronInLayer | ANNneuron* | first neuron in layer |
layerIDcounter | int64_t | layer ID counter |
orderIDcounter | int64_t | order ID counter |
wrongAndNotUsedIDcounter | int64_t* | wrong and not used ID counter |
subnetIDcounter | int64_t | subnet ID counter |
Function Reference List
Function ANNxmlConversionClass::parseNeuronContainerTag()
Function Summary
name | return type | description |
parseNeuronContainerTag | bool | parse neuron container tag |
Function Arguments
name | type | description |
firstTagInNeuronContainer | XMLparserTag* | first tag in neuron container |
currentNeuron | ANNneuron* | current neuron |
layerIDcounter | int64_t | layer ID counter |
orderIDcounter | int64_t | order ID counter |
wrongAndNotUsedIDcounter | int64_t* | wrong and not used ID counter |
subnetIDcounter | int64_t | subnet ID counter |
Function Reference List
-
-
- parseNeuronTag
- parseForwardANNneuronConnectionsListTag
- parseSubnetTag
Function ANNxmlConversionClass::parseNeuronTag()
Function Summary
name | return type | description |
parseNeuronTag | bool | parse neuron tag |
Function Arguments
name | type | description |
currentTag | XMLparserTag* | current tag |
currentNeuron | ANNneuron* | current neuron |
layerIDcounter | int64_t | layer ID counter |
orderIDcounter | int64_t | order ID counter |
wrongAndNotUsedIDcounter | int64_t* | wrong and not used ID counter |
subnetIDcounter | int64_t | subnet ID counter |
Function Reference List
-
-
-
- SHAREDvarsClass::convertStringToDouble
- SHAREDvarsClass::convertStringToDouble
- SHAREDvarsClass::convertStringToDouble
- SHAREDvarsClass::convertStringToDouble
- SHAREDvarsClass::convertStringToDouble
- SHAREDvarsClass::convertStringToDouble
- SHAREDvarsClass::convertStringToDouble
- SHAREDvarsClass::convertStringToDouble
- SHAREDvarsClass::convertStringToDouble
- SHAREDvarsClass::convertStringToDouble
- SHAREDvarsClass::convertStringToDouble
- SHAREDvarsClass::convertStringToDouble
- SHAREDvarsClass::convertStringToDouble
- SHAREDvarsClass::convertStringToDouble
- SHAREDvarsClass::convertStringToDouble
Function ANNxmlConversionClass::parseForwardANNneuronConnectionsListTag()
Function Summary
name | return type | description |
parseForwardANNneuronConnectionsListTag | bool | parse forward ANN neuron connections list tag |
Function Arguments
name | type | description |
firstTagInForwardANNneuronConnectionsList | XMLparserTag* | first tag in forward ANN neuron connections list |
currentNeuron | ANNneuron* | current neuron |
Function Reference List
-
-
- parseForwardANNneuronConnectionTag
Function ANNxmlConversionClass::parseForwardANNneuronConnectionTag()
Function Summary
name | return type | description |
parseForwardANNneuronConnectionTag | bool | parse forward ANN neuron connection tag |
Function Arguments
name | type | description |
currentTag | XMLparserTag* | current tag |
currentANNneuronConnection | ANNneuronConnection* | current ANN neuron connection |
Function Reference List
-
-
-
- SHAREDvarsClass::convertStringToDouble
- SHAREDvarsClass::convertStringToDouble
- SHAREDvarsClass::convertStringToDouble
Function ANNxmlConversionClass::linkLayerXNeuronsBasedUponFrontANNneuronConnectionListNeuronIDs()
Function Summary
name | return type | description |
linkLayerXNeuronsBasedUponFrontANNneuronConnectionListNeuronIDs | bool | link layer XN eurons based upon front ANN neuron connection list neuron ID s |
Function Arguments
name | type | description |
firstNeuronInLayer | ANNneuron* | first neuron in layer |
firstInputNeuronInNetwork | ANNneuron* | first input neuron in network |
hasBackLayer | bool | has back layer |
firstNeuronInBackLayer | ANNneuron* | first neuron in back layer |
Function Reference List
-
-
-
- findNeuron
- linkLayerXNeuronsBasedUponFrontANNneuronConnectionListNeuronIDs
- recordOutputNeuronAndNumInputAndOutputNeuronsInNetwork
- linkLayerXNeuronsBasedUponFrontANNneuronConnectionListNeuronIDs
Function ANNxmlConversionClass::findNeuron()
Function Summary
name | return type | description |
findNeuron | ANNneuron* | find neuron |
Function Arguments
name | type | description |
firstNeuronInLayer | ANNneuron* | first neuron in layer |
neuronIDtoFind | int64_t | neuron ID to find |
result | bool* | result |
Function Reference List
Function ANNxmlConversionClass::recordOutputNeuronAndNumInputAndOutputNeuronsInNetwork()
Function Summary
name | return type | description |
recordOutputNeuronAndNumInputAndOutputNeuronsInNetwork | ANNneuron* | record output neuron and num input and output neurons in network |
Function Arguments
name | type | description |
firstInputNeuronInNetwork | ANNneuron* | first input neuron in network |
numberOfInputNeurons | int64_t* | number of input neurons |
numberOfOutputNeurons | int64_t* | number of output neurons |
numberOfLayers | int64_t* | number of layers |
Function Reference List
N/A
Function ANNxmlConversionClass::clearTag()
Function Summary
name | return type | description |
clearTag | void | clear tag |
Function Arguments
name | type | description |
tag | XMLparserTag* | tag |
Function Reference List
N/A
File XMLparserClass Documentation
File Name: XMLparserClass.cpp/.hpp
File Description: XML parser class
File Function List
-
- parseTagDownALevel
- readXMLfile
- parseTagOpen
- parseTagName
- parseTagAttributeName
- parseTagValueAssumingExistenceOfSubtagsAndClose
- parseTagComment
- processTagClose
- createNewTag
- isBlankChar
- isBlankCharTabOrNewLine
- throwGenericXMLParseError
- createNewAttribute
- writeXMLHeader
- writeXMLfile
- addTagLayerToFileObject
- incrementLineAndAddTabsToFileObject
- addTabsToFileObject
File Diagram (functions hierarchy)
Class XMLparserAttribute
Class Data
name | type | description |
name | string | name |
value | string | value |
charCount | int | char count |
lineCount | int | line count |
nextAttribute | XMLparserAttribute* | next attribute |
Class XMLparserTag
Class Data
name | type | description |
name | string | name |
value | string | value |
nextTag | XMLparserTag* | next tag |
firstLowerLevelTag | XMLparserTag* | first lower level tag |
charCount | int | char count |
lineCount | int | line count |
firstAttribute | XMLparserAttribute* | first attribute |
currentAttribute | XMLparserAttribute* | current attribute |
Function XMLparserClassClass::parseTagDownALevel()
Function Summary
name | return type | description |
parseTagDownALevel | XMLparserTag* | parse tag down AL evel |
Function Arguments
name | type | description |
currentTag | XMLparserTag* | current tag |
sectionTagName | const string | section tag name |
result | bool* | result |
Function Reference List
N/A
Function XMLparserClassClass::readXMLfile()
Function Summary
name | return type | description |
readXMLfile | bool | read XML file |
Function Arguments
name | type | description |
xmlFileName | const string | xml file name |
firstTagInXMLfile | XMLparserTag* | first tag in XML file |
Function Reference List
Function XMLparserClassClass::parseTagOpen()
Function Summary
name | return type | description |
parseTagOpen | bool | parse tag open |
Function Arguments
name | type | description |
parseFileObject | ifstream* | parse file object |
currentTag | XMLparserTag* | current tag |
parentTagName | const string | parent tag name |
isSubTag | const bool | is sub tag |
treeLayer | int | tree layer |
Function Reference List
-
-
-
- parseTagName
- isBlankChar
- throwGenericXMLParseError
Function XMLparserClassClass::parseTagName()
Function Summary
name | return type | description |
parseTagName | bool | parse tag name |
Function Arguments
name | type | description |
parseFileObject | ifstream* | parse file object |
currentTag | XMLparserTag* | current tag |
parentTagName | const string | parent tag name |
isSubTag | const bool | is sub tag |
treeLayer | int | tree layer |
Function Reference List
-
-
-
-
- parseTagComment
- parseTagOpen
- isBlankChar
-
- parseTagAttributeName
- throwGenericXMLParseError
- throwGenericXMLParseError
- throwGenericXMLParseError
- throwGenericXMLParseError
- processTagClose
Function XMLparserClassClass::parseTagAttributeName()
Function Summary
name | return type | description |
parseTagAttributeName | bool | parse tag attribute name |
Function Arguments
name | type | description |
parseFileObject | ifstream* | parse file object |
currentTag | XMLparserTag* | current tag |
parentTagName | const string | parent tag name |
isSubTag | const bool | is sub tag |
treeLayer | int | tree layer |
Function Reference List
-
-
- isBlankChar
-
- throwGenericXMLParseError
- throwGenericXMLParseError
- throwGenericXMLParseError
- processTagClose
- parseTagAttributeValue
- throwGenericXMLParseError
Function XMLparserClassClass::parseTagAttributeValue()
Function Summary
name | return type | description |
parseTagAttributeValue | bool | parse tag attribute value |
Function Arguments
name | type | description |
parseFileObject | ifstream* | parse file object |
currentTag | XMLparserTag* | current tag |
parentTagName | const string | parent tag name |
isSubTag | const bool | is sub tag |
treeLayer | const int | tree layer |
Function Reference List
-
-
- isBlankChar
- throwGenericXMLParseError
- throwGenericXMLParseError
Function XMLparserClassClass::parseTagValueAssumingExistenceOfSubtagsAndClose()
Function Summary
name | return type | description |
parseTagValueAssumingExistenceOfSubtagsAndClose | bool | parse tag value assuming existence of subtags and close |
Function Arguments
name | type | description |
parseFileObject | ifstream* | parse file object |
currentTag | XMLparserTag* | current tag |
treeLayer | int | tree layer |
Function Reference List
Function XMLparserClassClass::parseTagComment()
Function Summary
name | return type | description |
parseTagComment | bool | parse tag comment |
Function Arguments
name | type | description |
parseFileObject | ifstream* | parse file object |
type | const char | type |
Function Reference List
-
-
-
-
-
-
- throwGenericXMLParseError
- throwGenericXMLParseError
- throwGenericXMLParseError
-
- throwGenericXMLParseError
Function XMLparserClassClass::processTagClose()
Function Summary
name | return type | description |
processTagClose | bool | process tag close |
Function Arguments
name | type | description |
parseFileObject | ifstream* | parse file object |
currentTag | XMLparserTag** | current tag |
parentTagName | const string | parent tag name |
isSubTag | const bool | is sub tag |
treeLayer | int | tree layer |
endTagFound | const bool | end tag found |
parsingAttributeName | const bool | parsing attribute name |
tagName | const string | tag name |
Function Reference List
-
-
-
- parseTagValueAssumingExistenceOfSubtagsAndClose
- createNewTag
- parseTagOpen
-
-
- throwGenericXMLParseError
- createNewTag
- parseTagOpen
- throwGenericXMLParseError
- parseTagValueAssumingExistenceOfSubtagsAndClose
- createNewTag
- parseTagOpen
Function XMLparserClassClass::createNewTag()
Function Summary
name | return type | description |
createNewTag | XMLparserTag* | create new tag |
Function Arguments
name | type | description |
currentTag | XMLparserTag* | current tag |
Function Reference List
N/A
Function XMLparserClassClass::isBlankChar()
Function Summary
name | return type | description |
isBlankChar | bool | is blank char |
Function Arguments
name | type | description |
parseFileObject | const ifstream* | parse file object |
c | const char | c |
Function Reference List
N/A
Function XMLparserClassClass::isBlankCharTabOrNewLine()
Function Summary
name | return type | description |
isBlankCharTabOrNewLine | bool | is blank char tab or new line |
Function Arguments
name | type | description |
parseFileObject | const ifstream* | parse file object |
c | const char | c |
Function Reference List
N/A
Function XMLparserClassClass::throwGenericXMLParseError()
Function Summary
name | return type | description |
throwGenericXMLParseError | void | throw generic XMLP arse error |
Function Reference List
N/A
Function XMLparserClassClass::createNewAttribute()
Function Summary
name | return type | description |
createNewAttribute | XMLparserAttribute* | create new attribute |
Function Arguments
name | type | description |
currentAttribute | XMLparserAttribute* | current attribute |
Function Reference List
N/A
Function XMLparserClassClass::writeXMLHeader()
Function Summary
name | return type | description |
writeXMLHeader | void | write XMLH eader |
Function Arguments
name | type | description |
writeFileString | string* | write file string |
Function Reference List
N/A
Function XMLparserClassClass::writeXMLfile()
Function Summary
name | return type | description |
writeXMLfile | bool | write XML file |
Function Arguments
name | type | description |
xmlFileName | const string | xml file name |
firstTagInXMLfile | const XMLparserTag* | first tag in XML file |
Function Reference List
-
- writeXMLHeader
- addTagLayerToFileObject
- SHAREDvarsClass::writeStringToFile
Function XMLparserClassClass::addTagLayerToFileObject()
Function Summary
name | return type | description |
addTagLayerToFileObject | bool | add tag layer to file object |
Function Arguments
name | type | description |
firstTagInCurrentLayer | const XMLparserTag* | first tag in current layer |
writeFileString | string* | write file string |
treeLayer | const int | tree layer |
Function Reference List
-
-
- incrementLineAndAddTabsToFileObject
-
- addTagLayerToFileObject
- addTabsToFileObject
- incrementLineAndAddTabsToFileObject
Function XMLparserClassClass::incrementLineAndAddTabsToFileObject()
Function Summary
name | return type | description |
incrementLineAndAddTabsToFileObject | void | increment line and add tabs to file object |
Function Arguments
name | type | description |
writeFileString | string* | write file string |
treeLayer | const int | tree layer |
Function Reference List
N/A
Function XMLparserClassClass::addTabsToFileObject()
Function Summary
name | return type | description |
addTabsToFileObject | void | add tabs to file object |
Function Arguments
name | type | description |
writeFileString | string* | write file string |
treeLayer | const int | tree layer |
Function Reference List
N/A
File ANNdraw Documentation
File Name: ANNdraw.cpp/.hpp
File Description: ANN draw
File Function List
-
- fillInANNSpriteExternVariables
- ANNcreateNeuralNetworkReferenceLists
- ANNcreateNeuralNetworkSceneFilesFromReferenceLists
- ANNsearchNeuralNetworkAndCreateReferences
- ANNsearchNeuralNetworkAndCreateReferencesReset
- ANNfillNeuronDisplayReference
- ANNfillANNneuronConnectionDisplayReference
- ANNdetermineSpriteInfoForNeuronAndAddSpriteToSpriteRefList
- ANNdetermineSpriteInfoForANNneuronConnectionAndAddSpriteToSpriteRefList
- ANNaddSpriteToSpriteReferenceList
- writeSpriteTextToSVG
- ANNgenerateTextualNeuronSpriteInfoString
- ANNgenerateTextualANNneuronConnectionSpriteInfoString
- convertDoubleToRainbow
File Diagram (functions hierarchy)
Function ANNdrawClass::fillInANNSpriteExternVariables()
Function Summary
name | return type | description |
fillInANNSpriteExternVariables | void | fill in ANNS prite extern variables |
Function Reference List
-
- LDspriteClass::fillInLDspriteExternVariables
Function ANNdrawClass::ANNcreateNeuralNetworkReferenceLists()
Function Summary
name | return type | description |
ANNcreateNeuralNetworkReferenceLists | bool | ANN create neural network reference lists |
Function Arguments
name | type | description |
sceneFileName | string | scene file name |
initialReference | LDreference* | initial reference |
firstNeuronInNetwork | ANNneuron* | first neuron in network |
addSprites | bool | add sprites |
numSpritesAdded | int* | num sprites added |
writeSVG | bool | write SVG |
currentTagSVG | XMLparserTag** | current tag SVG |
writeLDR | bool | write LDR |
Function Reference List
-
- ANNsearchNeuralNetworkAndCreateReferences
- ANNsearchNeuralNetworkAndCreateReferencesReset
Function ANNdrawClass::ANNcreateNeuralNetworkSceneFilesFromReferenceLists()
Function Summary
name | return type | description |
ANNcreateNeuralNetworkSceneFilesFromReferenceLists | bool | ANN create neural network scene files from reference lists |
Function Arguments
name | type | description |
sceneFileName | string | scene file name |
addSprites | bool | add sprites |
initialReference | LDreference* | initial reference |
numSpritesAdded | int | num sprites added |
Function Reference List
-
- LDreferenceManipulationClass::writeReferencesToFile
Function ANNdrawClass::ANNsearchNeuralNetworkAndCreateReferences()
Function Summary
name | return type | description |
ANNsearchNeuralNetworkAndCreateReferences | LDreference* | ANN search neural network and create references |
Function Arguments
name | type | description |
firstNeuronInLayer | ANNneuron* | first neuron in layer |
currentListReference | LDreference* | current list reference |
eyeCoords | vec* | eye coords |
numSpritesAdded | int* | num sprites added |
sceneFileName | string | scene file name |
isSubnet | bool | is subnet |
positionOfSubnetNeuron | vec* | position of subnet neuron |
addSprites | bool | add sprites |
writeSVG | bool | write SVG |
currentTagSVG | XMLparserTag** | current tag SVG |
writeLDR | bool | write LDR |
Function Reference List
-
-
-
- ANNfillNeuronDisplayReference
-
- ANNdetermineSpriteInfoForNeuronAndAddSpriteToSpriteRefList
- ANNfillNeuronDisplayReference
- ANNfillANNneuronConnectionDisplayReference
-
- ANNdetermineSpriteInfoForANNneuronConnectionAndAddSpriteToSpriteRefList
- ANNfillNeuronDisplayReference
- ANNfillNeuronDisplayReference
- ANNfillANNneuronConnectionDisplayReference
- ANNfillNeuronDisplayReference
- ANNfillNeuronDisplayReference
- ANNfillANNneuronConnectionDisplayReference
- ANNsearchNeuralNetworkAndCreateReferences
- ANNsearchNeuralNetworkAndCreateReferences
- ANNsearchNeuralNetworkAndCreateReferences
Function ANNdrawClass::ANNsearchNeuralNetworkAndCreateReferencesReset()
Function Summary
name | return type | description |
ANNsearchNeuralNetworkAndCreateReferencesReset | void | ANN search neural network and create references reset |
Function Arguments
name | type | description |
firstNeuronInLayer | ANNneuron* | first neuron in layer |
Function Reference List
-
-
-
-
-
- ANNsearchNeuralNetworkAndCreateReferencesReset
- ANNsearchNeuralNetworkAndCreateReferencesReset
Function ANNdrawClass::ANNfillNeuronDisplayReference()
Function Summary
name | return type | description |
ANNfillNeuronDisplayReference | bool | ANN fill neuron display reference |
Function Arguments
name | type | description |
currentNeuronDispayReference | LDreference* | current neuron dispay reference |
neuron | ANNneuron* | neuron |
hasSubnetNeuron | bool | has subnet neuron |
positionOfsubnetNeuron | vec* | position ofsubnet neuron |
writeSVG | bool | write SVG |
currentTagSVG | XMLparserTag** | current tag SVG |
Function Reference List
-
- SHAREDvectorClass::createIdentityMatrix
- SHAREDvectorClass::scaleMatrix
- SHAREDvectorClass::copyMatrixTwoIntoMatrixOne
-
- LDreferenceClassClass::convertLdrawColourToDatFileRGB
- LDreferenceClassClass::convertLdrawColourToDatFileRGB
- LDreferenceClassClass::convertLdrawColourToDatFileRGB
- convertDoubleToRainbow
- LDreferenceClassClass::convertLdrawColourToDatFileRGB
- LDsvgClass::writeSVGbox3
Function ANNdrawClass::ANNfillANNneuronConnectionDisplayReference()
Function Summary
name | return type | description |
ANNfillANNneuronConnectionDisplayReference | bool | ANN fill ANN neuron connection display reference |
Function Arguments
name | type | description |
currentNeuronDispayReference | LDreference* | current neuron dispay reference |
backNeuronReference | LDreference* | back neuron reference |
forwardNeuronReference | LDreference* | forward neuron reference |
ANNneuronConnection | ANNneuronConnection* | ANN neuron connection |
writeSVG | bool | write SVG |
currentTagSVG | XMLparserTag** | current tag SVG |
Function Reference List
-
-
- LDsvgClass::writeSVGline
- convertDoubleToRainbow
- LDsvgClass::writeSVGline
- convertDoubleToRainbow
- LDsvgClass::writeSVGline
- LDsvgClass::writeSVGline
Function ANNdrawClass::ANNdetermineSpriteInfoForNeuronAndAddSpriteToSpriteRefList()
Function Summary
name | return type | description |
ANNdetermineSpriteInfoForNeuronAndAddSpriteToSpriteRefList | bool | ANN determine sprite info for neuron and add sprite to sprite ref list |
Function Arguments
name | type | description |
neuron | ANNneuron* | neuron |
currentListReference | LDreference** | current list reference |
eyeCoords | vec* | eye coords |
numSpritesAdded | int* | num sprites added |
sceneFileName | string | scene file name |
neuronReferenceRelativePosition | vec* | neuron reference relative position |
writeSVG | bool | write SVG |
currentTagSVG | XMLparserTag** | current tag SVG |
writeLDR | bool | write LDR |
Function Reference List
-
- ANNgenerateTextualNeuronSpriteInfoString
- writeSpriteTextToSVG
- LDspriteClass::LDaddTextualSpriteInfoStringToReferenceList
- LDspriteClass::LDcreateSpriteReferenceName
- LDreferenceManipulationClass::writeReferencesToFile
- ANNaddSpriteToSpriteReferenceList
Function ANNdrawClass::ANNdetermineSpriteInfoForANNneuronConnectionAndAddSpriteToSpriteRefList()
Function Summary
name | return type | description |
ANNdetermineSpriteInfoForANNneuronConnectionAndAddSpriteToSpriteRefList | bool | ANN determine sprite info for ANN neuron connection and add sprite to sprite ref list |
Function Arguments
name | type | description |
ANNneuronConnection | ANNneuronConnection* | ANN neuron connection |
currentListReference | LDreference** | current list reference |
eyeCoords | vec* | eye coords |
numSpritesAdded | int* | num sprites added |
sceneFileName | string | scene file name |
backNeuronReferenceRelativePosition | vec* | back neuron reference relative position |
forwardNeuronReferenceRelativePosition | vec* | forward neuron reference relative position |
writeSVG | bool | write SVG |
currentTagSVG | XMLparserTag** | current tag SVG |
writeLDR | bool | write LDR |
Function Reference List
-
- ANNgenerateTextualANNneuronConnectionSpriteInfoString
- writeSpriteTextToSVG
- LDspriteClass::LDaddTextualSpriteInfoStringToReferenceList
- LDspriteClass::LDcreateSpriteReferenceName
- LDreferenceManipulationClass::writeReferencesToFile
- ANNaddSpriteToSpriteReferenceList
Function ANNdrawClass::ANNaddSpriteToSpriteReferenceList()
Function Summary
name | return type | description |
ANNaddSpriteToSpriteReferenceList | bool | ANN add sprite to sprite reference list |
Function Arguments
name | type | description |
spriteSceneCoords | vec* | sprite scene coords |
eyeCoords | vec* | eye coords |
currentListReference | LDreference** | current list reference |
spriteReferenceFileName | string | sprite reference file name |
spriteDefaultColour | int | sprite default colour |
spriteScaleFactor | double | sprite scale factor |
Function Reference List
-
- SHAREDvectorClass::createIdentityMatrix
- SHAREDvectorClass::scaleMatrix
- SHAREDvectorClass::copyMatrixTwoIntoMatrixOne
- LDreferenceManipulationClass::copyReferences
Function ANNdrawClass::writeSpriteTextToSVG()
Function Summary
name | return type | description |
writeSpriteTextToSVG | void | write sprite text to SVG |
Function Arguments
name | type | description |
spriteTextString | string* | sprite text string |
writeSVG | bool | write SVG |
currentTagSVG | XMLparserTag** | current tag SVG |
referencePosition | vec* | reference position |
Function Reference List
Function ANNdrawClass::ANNgenerateTextualNeuronSpriteInfoString()
Function Summary
name | return type | description |
ANNgenerateTextualNeuronSpriteInfoString | void | ANN generate textual neuron sprite info string |
Function Arguments
name | type | description |
neuron | ANNneuron* | neuron |
spriteTextString | string* | sprite text string |
spriteColourArray[] | int | sprite colour array [] |
Function Reference List
-
-
- SHAREDvarsClass::convertIntToString
- SHAREDvarsClass::convertIntToString
- SHAREDvarsClass::convertIntToString
- SHAREDvarsClass::convertIntToString
- SHAREDvarsClass::convertLongToString
- SHAREDvarsClass::convertDoubleToString
- SHAREDvarsClass::convertDoubleToString
- SHAREDvarsClass::convertDoubleToString
- SHAREDvarsClass::convertDoubleToString
Function ANNdrawClass::ANNgenerateTextualANNneuronConnectionSpriteInfoString()
Function Summary
name | return type | description |
ANNgenerateTextualANNneuronConnectionSpriteInfoString | void | ANN generate textual ANN neuron connection sprite info string |
Function Arguments
name | type | description |
ANNneuronConnection | ANNneuronConnection* | ANN neuron connection |
spriteTextString | string* | sprite text string |
spriteColourArray[] | int | sprite colour array [] |
Function Reference List
-
- SHAREDvarsClass::convertDoubleToString
- SHAREDvarsClass::convertDoubleToString
Function ANNdrawClass::convertDoubleToRainbow()
Function Summary
name | return type | description |
convertDoubleToRainbow | colour | convert double to rainbow |
Function Arguments
name | type | description |
colourDouble | const double | colour double |
doubleMaxValue | const double | double max value |
Function Reference List
Function ANNdrawClass::convertDoubleToRainbow()
Function Summary
name | return type | description |
convertDoubleToRainbow | colour | convert double to rainbow |
Function Arguments
name | type | description |
f | const double | f |
Function Reference List
N/A
File LDreferenceClass Documentation
File Name: LDreferenceClass.cpp/.hpp
File Description: LD reference class
File Function List
-
- convertLdrawColourToDatFileRGB
File Diagram (functions hierarchy)
Class LDreference
Class Data
name | type | description |
relativePosition | vec | relative position |
absolutePosition | vec | absolute position |
deformationMatrix | mat | deformation matrix |
absoluteDeformationMatrix | mat | absolute deformation matrix |
colour | uint32_t | colour |
name | string | name |
next | LDreference* | next |
vertex1relativePosition | vec | vertex 1relative position |
vertex2relativePosition | vec | vertex 2relative position |
vertex3relativePosition | vec | vertex 3relative position |
vertex4relativePosition | vec | vertex 4relative position |
vertex1absolutePosition | vec | vertex 1absolute position |
vertex2absolutePosition | vec | vertex 2absolute position |
vertex3absolutePosition | vec | vertex 3absolute position |
vertex4absolutePosition | vec | vertex 4absolute position |
relativeColourString | string | relative colour string |
isTopLevel | bool | is top level |
intermediatePosition | vec | intermediate position |
intermediateDeformationMatrix | mat | intermediate deformation matrix |
vertex1intermediatePosition | vec | vertex 1intermediate position |
vertex2intermediatePosition | vec | vertex 2intermediate position |
vertex3intermediatePosition | vec | vertex 3intermediate position |
vertex4intermediatePosition | vec | vertex 4intermediate position |
partAdditional | bool | part additional |
partModified | bool | part modified |
partDeleted | bool | part deleted |
vertex1absolutePositionBackup | vec | vertex 1absolute position backup |
vertex2absolutePositionBackup | vec | vertex 2absolute position backup |
vertex3absolutePositionBackup | vec | vertex 3absolute position backup |
vertex4absolutePositionBackup | vec | vertex 4absolute position backup |
referenceEnabledMethod2DOD | bool | reference enabled method 2DOD |
type | int | type |
absoluteColour | uint32_t | absolute colour |
isSubModelReference | bool | is sub model reference |
subModelDetails | ModelDetails* | sub model details |
firstReferenceWithinSubModel | LDreference* | first reference within sub model |
Function LDreferenceClassClass::convertLdrawColourToDatFileRGB()
Function Summary
name | return type | description |
convertLdrawColourToDatFileRGB | void | convert ldraw colour to dat file RGB |
Function Arguments
name | type | description |
dataFileColour | const int | data file colour |
col | colour* | col |
Function Reference List
N/A
File LDsprite Documentation
File Name: LDsprite.cpp/.hpp
File Description: LD sprite
File Function List
-
- fillInLDspriteExternVariables
- LDcreateSpriteReferenceName
- LDaddTextualSpriteInfoStringToReferenceList
- LDspriteSubmodelFillTextualReference
File Diagram (functions hierarchy)
Function LDspriteClass::fillInLDspriteExternVariables()
Function Summary
name | return type | description |
fillInLDspriteExternVariables | void | fill in LD sprite extern variables |
Function Reference List
N/A
Function LDspriteClass::LDcreateSpriteReferenceName()
Function Summary
name | return type | description |
LDcreateSpriteReferenceName | string | LD create sprite reference name |
Function Arguments
name | type | description |
spriteIndex | const int | sprite index |
sceneFileName | string | scene file name |
Function Reference List
-
- SHAREDvarsClass::convertIntToString
Function LDspriteClass::LDaddTextualSpriteInfoStringToReferenceList()
Function Summary
name | return type | description |
LDaddTextualSpriteInfoStringToReferenceList | LDreference* | LD add textual sprite info string to reference list |
Function Arguments
name | type | description |
unitReference | LDreference* | unit reference |
spriteTextString | string | sprite text string |
spriteColourArray[] | int | sprite colour array [] |
spriteSubmodelInitialReference | LDreference* | sprite submodel initial reference |
spriteNumberOfLines | const int | sprite number of lines |
numSpritesAdded | int* | num sprites added |
addIndividualSprites | const bool | add individual sprites |
Function Reference List
-
-
-
-
- SHAREDvectorClass::addVectors
- LDspriteSubmodelFillTextualReference
- LDspriteSubmodelFillTextualReference
- SHAREDvectorClass::addVectors
- LDspriteSubmodelFillTextualReference
- LDspriteSubmodelFillTextualReference
- SHAREDvectorClass::addVectors
- LDspriteSubmodelFillTextualReference
- LDspriteSubmodelFillTextualReference
Function LDspriteClass::LDspriteSubmodelFillTextualReference()
Function Summary
name | return type | description |
LDspriteSubmodelFillTextualReference | void | LD sprite submodel fill textual reference |
Function Arguments
name | type | description |
spriteSubmodelCurrentReference | LDreference* | sprite submodel current reference |
spriteParagraphCurrentPosition | vec* | sprite paragraph current position |
characterToWrite | const char | character to write |
spriteColour | int | sprite colour |
scale | double | scale |
Function Reference List
-
-
- SHAREDvectorClass::createIdentityMatrix
- SHAREDvectorClass::scaleMatrix
- SHAREDvectorClass::createIdentityMatrix
- SHAREDvectorClass::scaleMatrix
- SHAREDvectorClass::copyMatrixTwoIntoMatrixOne
File LDreferenceManipulation Documentation
File Name: LDreferenceManipulation.cpp/.hpp
File Description: LD reference manipulation
File Function List
-
- copyReferences
- convertPositionCoordinatesToString
- writeReferencesToFile
- addReferenceToFileObject
- convertRotationMatrixToString
- write2DreferenceListCollapsedTo1DtoFile
- write2DreferencesLayerToFileObject
File Diagram (functions hierarchy)
Function LDreferenceManipulationClass::copyReferences()
Function Summary
name | return type | description |
copyReferences | void | copy references |
Function Arguments
name | type | description |
referenceNew | LDreference* | reference new |
referenceToCopy | LDreference* | reference to copy |
type | const int | type |
Function Reference List
-
-
- SHAREDvectorClass::copyVectors
- SHAREDvectorClass::copyVectors
- SHAREDvectorClass::copyMatricies
- SHAREDvectorClass::copyVectors
- SHAREDvectorClass::copyVectors
- SHAREDvectorClass::copyVectors
- SHAREDvectorClass::copyVectors
Function LDreferenceManipulationClass::convertPositionCoordinatesToString()
Function Summary
name | return type | description |
convertPositionCoordinatesToString | string | convert position coordinates to string |
Function Arguments
name | type | description |
spriteSceneCoords | const vec* | sprite scene coords |
Function Reference List
-
- SHAREDvarsClass::sprintfSafeDouble
- SHAREDvarsClass::sprintfSafeDouble
- SHAREDvarsClass::sprintfSafeDouble
Function LDreferenceManipulationClass::writeReferencesToFile()
Function Summary
name | return type | description |
writeReferencesToFile | bool | write references to file |
Function Arguments
name | type | description |
fileName | const string | file name |
firstReference | LDreference* | first reference |
Function Reference List
Function LDreferenceManipulationClass::addReferenceToFileObject()
Function Summary
name | return type | description |
addReferenceToFileObject | bool | add reference to file object |
Function Arguments
name | type | description |
writeFileObject | ofstream* | write file object |
currentReference | LDreference* | current reference |
Function Reference List
-
-
- SHAREDvarsClass::convertIntToString
- SHAREDvarsClass::convertUnsignedIntToString
- convertPositionCoordinatesToString
- SHAREDvectorClass::copyMatrixTwoIntoMatrixOne
- convertRotationMatrixToString
- convertPositionCoordinatesToString
- convertPositionCoordinatesToString
- convertPositionCoordinatesToString
- convertPositionCoordinatesToString
Function LDreferenceManipulationClass::convertRotationMatrixToString()
Function Summary
name | return type | description |
convertRotationMatrixToString | string | convert rotation matrix to string |
Function Arguments
name | type | description |
rotationMatrix | const mat* | rotation matrix |
Function Reference List
-
- SHAREDvarsClass::convertDoubleToString
- SHAREDvarsClass::convertDoubleToString
- SHAREDvarsClass::convertDoubleToString
- SHAREDvarsClass::convertDoubleToString
- SHAREDvarsClass::convertDoubleToString
- SHAREDvarsClass::convertDoubleToString
- SHAREDvarsClass::convertDoubleToString
- SHAREDvarsClass::convertDoubleToString
- SHAREDvarsClass::convertDoubleToString
Function LDreferenceManipulationClass::write2DreferenceListCollapsedTo1DtoFile()
Function Summary
name | return type | description |
write2DreferenceListCollapsedTo1DtoFile | bool | write 2D reference list collapsed to 1D to file |
Function Arguments
name | type | description |
fileName | const string | file name |
firstReference | LDreference* | first reference |
Function Reference List
-
- write2DreferencesLayerToFileObject
Function LDreferenceManipulationClass::write2DreferencesLayerToFileObject()
Function Summary
name | return type | description |
write2DreferencesLayerToFileObject | bool | write 2D references layer to file object |
Function Arguments
name | type | description |
writeFileObject | ofstream* | write file object |
firstReferenceInLayer | LDreference* | first reference in layer |
Function Reference List
-
-
-
- write2DreferencesLayerToFileObject
- copyReferences
- SHAREDvectorClass::copyMatricies
- SHAREDvectorClass::copyVectors
- SHAREDvectorClass::copyVectors
- SHAREDvectorClass::copyVectors
- SHAREDvectorClass::copyVectors
File SHAREDvector Documentation
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
- addVectors
- createIdentityMatrix
- copyMatrixTwoIntoMatrixOne
- scaleMatrix
- 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 SHAREDvectorClass::addVectors()
Function Summary
name | return type | description |
addVectors | void | add vectors |
Function Arguments
name | type | description |
vecNew | vec* | vec new |
a | vec* | a |
b | vec* | b |
Function Reference List
N/A
Function SHAREDvectorClass::createIdentityMatrix()
Function Summary
name | return type | description |
createIdentityMatrix | void | create identity matrix |
Function Arguments
name | type | description |
matrix | mat* | matrix |
Function Reference List
N/A
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 SHAREDvectorClass::scaleMatrix()
Function Summary
name | return type | description |
scaleMatrix | void | scale matrix |
Function Arguments
name | type | description |
matrix | mat* | matrix |
scaleFactor | double | scale factor |
Function Reference List
N/A
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 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 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 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 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 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 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 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 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
File XMLrulesClass Documentation
File Name: XMLrulesClass.cpp/.hpp
File Description: XML rules class
File Function List
-
- parseANNrulesXMLfile
- addRulesClassObjectsBasedOnSectionTag
- addRulesClassObjectBasedOnTag
File Diagram (functions hierarchy)
Class XMLrulesClass
Class Data
name | type | description |
name | string | name |
stringValue | string | string value |
fractionalValue | double | fractional value |
attribute4 | int | attribute 4 |
attribute5 | int | attribute 5 |
attribute6 | int | attribute 6 |
attribute7 | int | attribute 7 |
attribute8 | int | attribute 8 |
next | XMLrulesClass* | next |
Function XMLrulesClassClass::parseANNrulesXMLfile()
Function Summary
name | return type | description |
parseANNrulesXMLfile | bool | parse ANN rules XML file |
Function Reference List
-
- XMLparserClassClass::readXMLfile
- parseANNrulesTag
Function XMLrulesClassClass::parseANNrulesTag()
Function Summary
name | return type | description |
parseANNrulesTag | bool | parse ANN rules tag |
Function Arguments
name | type | description |
currentTag | XMLparserTag* | current tag |
Function Reference List
-
- XMLparserClassClass::parseTagDownALevel
- addRulesClassObjectsBasedOnSectionTag
Function XMLrulesClassClass::addRulesClassObjectsBasedOnSectionTag()
Function Summary
name | return type | description |
addRulesClassObjectsBasedOnSectionTag | bool | add rules class objects based on section tag |
Function Arguments
name | type | description |
currentTag | XMLparserTag* | current tag |
sectionTagName | const string | section tag name |
firstReferenceToObjectClass | XMLrulesClass* | first reference to object class |
tagName | const string | tag name |
numberOfAttributes | const int | number of attributes |
attributeName1 | const string | attribute name 1 |
attributeName2 | const string | attribute name 2 |
attributeName3 | const string | attribute name 3 |
attributeName4 | const string | attribute name 4 |
attributeName5 | const string | attribute name 5 |
attributeName6 | const string | attribute name 6 |
attributeName7 | const string | attribute name 7 |
attributeName8 | const string | attribute name 8 |
Function Reference List
-
-
-
- addRulesClassObjectBasedOnTag
Function XMLrulesClassClass::addRulesClassObjectBasedOnTag()
Function Summary
name | return type | description |
addRulesClassObjectBasedOnTag | bool | add rules class object based on tag |
Function Arguments
name | type | description |
currentTag | XMLparserTag* | current tag |
currentReferenceToObjectClass | XMLrulesClass* | current reference to object class |
tagName | const string | tag name |
numberOfAttributes | const int | number of attributes |
attributeName1 | const string | attribute name 1 |
attributeName2 | const string | attribute name 2 |
attributeName3 | const string | attribute name 3 |
attributeName4 | const string | attribute name 4 |
attributeName5 | const string | attribute name 5 |
attributeName6 | const string | attribute name 6 |
attributeName7 | const string | attribute name 7 |
attributeName8 | const string | attribute name 8 |
Function Reference List
-
-
-
-
- SHAREDvarsClass::convertStringToDouble
- SHAREDvarsClass::convertStringToDouble
- SHAREDvarsClass::convertStringToDouble
- SHAREDvarsClass::convertStringToDouble
- SHAREDvarsClass::convertStringToDouble
- SHAREDvarsClass::convertStringToDouble
File LDsvg Documentation
File Name: LDsvg.cpp/.hpp
File Description: LD svg
File Function List
-
-
-
- writeSVGfile
- writeSVGheader
- writeSVGfooter
- writeSVGbox3
- writeSVGline
- writeSVGtext
File Diagram (functions hierarchy)
Function LDsvgClass::writeSVGfile()
Function Summary
name | return type | description |
writeSVGfile | bool | write SVG file |
Function Arguments
name | type | description |
writeFileString | string* | write file string |
firstTagInXMLfile | const XMLparserTag* | first tag in XML file |
viewBoxMinX | const int | view box min X |
viewBoxMaxX | const int | view box max X |
viewBoxMinY | const int | view box min Y |
viewBoxMaxY | const int | view box max Y |
Function Reference List
-
- writeSVGheader
- XMLparserClassClass::addTagLayerToFileObject
- writeSVGfooter
Function LDsvgClass::writeSVGheader()
Function Summary
name | return type | description |
writeSVGheader | void | write SVG header |
Function Arguments
name | type | description |
writeFileString | string* | write file string |
viewBoxMinX | const int | view box min X |
viewBoxMaxX | const int | view box max X |
viewBoxMinY | const int | view box min Y |
viewBoxMaxY | const int | view box max Y |
Function Reference List
-
- SHAREDvarsClass::convertIntToString
- SHAREDvarsClass::convertIntToString
- SHAREDvarsClass::convertIntToString
- SHAREDvarsClass::convertIntToString
- SHAREDvarsClass::convertIntToString
- SHAREDvarsClass::convertIntToString
Function LDsvgClass::writeSVGfooter()
Function Summary
name | return type | description |
writeSVGfooter | void | write SVG footer |
Function Arguments
name | type | description |
writeFileString | string* | write file string |
Function Reference List
N/A
Function LDsvgClass::writeSVGbox3()
Function Summary
name | return type | description |
writeSVGbox3 | void | write SVG box 3 |
Function Arguments
name | type | description |
currentTag | XMLparserTag** | current tag |
pos | const vec* | pos |
width | const double | width |
height | const double | height |
colourrgb | const colour | colourrgb |
boxOutlineWidth | const double | box outline width |
useEllipse | const bool | use ellipse |
transparent | bool | transparent |
fillOpacity | const double | fill opacity |
Function Reference List
-
- SHAREDvarsClass::convertDoubleToString
- SHAREDvarsClass::convertIntToString
- SHAREDvarsClass::convertIntToString
- SHAREDvarsClass::convertIntToString
- SHAREDvarsClass::convertIntToString
- SHAREDvarsClass::convertIntToString
- SHAREDvarsClass::convertIntToString
- SHAREDvarsClass::convertIntToString
- SHAREDvarsClass::convertDoubleToString
Function LDsvgClass::writeSVGline()
Function Summary
name | return type | description |
writeSVGline | void | write SVG line |
Function Arguments
name | type | description |
currentTag | XMLparserTag** | current tag |
pos1 | const vec* | pos 1 |
pos2 | const vec* | pos 2 |
colourrgb | const colour | colourrgb |
Function Reference List
-
- SHAREDvarsClass::convertIntToString
- SHAREDvarsClass::convertIntToString
- SHAREDvarsClass::convertIntToString
- SHAREDvarsClass::convertIntToString
- SHAREDvarsClass::convertIntToString
- SHAREDvarsClass::convertIntToString
- SHAREDvarsClass::convertIntToString
Function LDsvgClass::writeSVGtext()
Function Summary
name | return type | description |
writeSVGtext | void | write SVG text |
Function Arguments
name | type | description |
currentTag | XMLparserTag** | current tag |
text | const string | text |
pos | const vec* | pos |
fontSize | const int | font size |
col | const int | col |
Function Reference List
Function LDsvgClass::writeSVGtext()
Function Summary
name | return type | description |
writeSVGtext | void | write SVG text |
Function Arguments
name | type | description |
currentTag | XMLparserTag** | current tag |
text | const string | text |
pos | const vec* | pos |
fontSize | const int | font size |
col | const int | col |
svgTinySpec | bool | svg tiny spec |
Function Reference List
-
- LDreferenceClassClass::convertLdrawColourToDatFileRGB
- SHAREDvarsClass::convertIntToString
- SHAREDvarsClass::convertIntToString
- SHAREDvarsClass::convertIntToString
- SHAREDvarsClass::convertIntToString
- SHAREDvarsClass::convertIntToString
- SHAREDvarsClass::convertIntToString
File LDparser Documentation
File Name: LDparser.cpp/.hpp
File Description: LD parser
File Function List
-
- parseFile
- calcModXPosBasedUponRotate
- calcModYPosBasedUponRotate
- calcModZPosBasedUponRotate
- removeWhiteSpaceFromString
File Diagram (functions hierarchy)
Function LDparserClass::parseFile()
Function Summary
name | return type | description |
parseFile | bool | parse file |
Function Arguments
name | type | description |
parseFileName | string | parse file name |
initialReference | LDreference* | initial reference |
parentReference | LDreference* | parent reference |
recurseIntoPartsDir | const bool | recurse into parts dir |
Function Reference List
-
-
-
- removeWhiteSpaceFromString
- removeWhiteSpaceFromString
-
- SHAREDvarsClass::convertStringToDouble
- SHAREDvarsClass::convertStringToDouble
- SHAREDvarsClass::convertStringToDouble
- SHAREDvarsClass::convertStringToDouble
- SHAREDvarsClass::convertStringToDouble
- SHAREDvarsClass::convertStringToDouble
- SHAREDvarsClass::convertStringToDouble
- SHAREDvarsClass::convertStringToDouble
- SHAREDvarsClass::convertStringToDouble
- SHAREDvarsClass::convertStringToDouble
- SHAREDvarsClass::convertStringToDouble
- SHAREDvarsClass::convertStringToDouble
- SHAREDvarsClass::convertStringToDouble
- calcModXPosBasedUponRotate
- calcModYPosBasedUponRotate
- calcModZPosBasedUponRotate
- calcModXPosBasedUponRotate
- calcModYPosBasedUponRotate
- calcModZPosBasedUponRotate
- calcModXPosBasedUponRotate
- calcModYPosBasedUponRotate
- calcModZPosBasedUponRotate
- calcModXPosBasedUponRotate
- calcModYPosBasedUponRotate
- calcModZPosBasedUponRotate
- calcModXPosBasedUponRotate
- calcModYPosBasedUponRotate
- calcModZPosBasedUponRotate
- calcModXPosBasedUponRotate
- calcModYPosBasedUponRotate
- calcModZPosBasedUponRotate
- calcModXPosBasedUponRotate
- calcModYPosBasedUponRotate
- calcModZPosBasedUponRotate
- calcModXPosBasedUponRotate
- calcModYPosBasedUponRotate
- calcModZPosBasedUponRotate
- SHAREDvarsClass::convertStringToDouble
- SHAREDvarsClass::convertStringToDouble
- SHAREDvarsClass::convertStringToDouble
- SHAREDvarsClass::convertStringToDouble
- SHAREDvarsClass::convertStringToDouble
- SHAREDvarsClass::convertStringToDouble
- SHAREDvarsClass::convertStringToDouble
- SHAREDvarsClass::convertStringToDouble
- SHAREDvarsClass::convertStringToDouble
- SHAREDvarsClass::convertStringToDouble
- SHAREDvarsClass::convertStringToDouble
- SHAREDvarsClass::convertStringToDouble
- SHAREDvarsClass::convertStringToDouble
- SHAREDvectorClass::multiplyMatricies
- calcModXPosBasedUponRotate
- calcModYPosBasedUponRotate
- calcModZPosBasedUponRotate
- SHAREDvectorClass::multiplyMatricies
- calcModXPosBasedUponRotate
- calcModYPosBasedUponRotate
- calcModZPosBasedUponRotate
- parseFile
Function LDparserClass::calcModXPosBasedUponRotate()
Function Summary
name | return type | description |
calcModXPosBasedUponRotate | double | calc mod XP os based upon rotate |
Function Arguments
name | type | description |
childRelativePosition | const vec* | child relative position |
parentReferenceDeformationMatrix | const mat* | parent reference deformation matrix |
Function Reference List
N/A
Function LDparserClass::calcModYPosBasedUponRotate()
Function Summary
name | return type | description |
calcModYPosBasedUponRotate | double | calc mod YP os based upon rotate |
Function Arguments
name | type | description |
childRelativePosition | const vec* | child relative position |
parentReferenceDeformationMatrix | const mat* | parent reference deformation matrix |
Function Reference List
N/A
Function LDparserClass::calcModZPosBasedUponRotate()
Function Summary
name | return type | description |
calcModZPosBasedUponRotate | double | calc mod ZP os based upon rotate |
Function Arguments
name | type | description |
childRelativePosition | const vec* | child relative position |
parentReferenceDeformationMatrix | const mat* | parent reference deformation matrix |
Function Reference List
N/A
Function LDparserClass::removeWhiteSpaceFromString()
Function Summary
name | return type | description |
removeWhiteSpaceFromString | string | remove white space from string |
Function Arguments
name | type | description |
s | const string | s |
Function Reference List
N/A
File LDopengl Documentation
File Name: LDopengl.cpp/.hpp
File Description: LD opengl
File Function List
-
- initiateOpenGL
- exitOpenGL
- setViewPort3Dortho
- drawPrimitivesReferenceListToOpenGLandCreateRGBmapBasic
File Diagram (functions hierarchy)
Function LDopenglClass::initiateOpenGL()
Function Summary
name | return type | description |
initiateOpenGL | bool | initiate open GL |
Function Arguments
name | type | description |
width | const int | width |
height | const int | height |
windowPositionX | const int | window position X |
windowPositionY | const int | window position Y |
confidentialWarnings | const bool | confidential warnings |
Function Reference List
N/A
Function LDopenglClass::exitOpenGL()
Function Summary
name | return type | description |
exitOpenGL | bool | exit open GL |
Function Reference List
N/A
Function LDopenglClass::setViewPort3Dortho()
Function Summary
name | return type | description |
setViewPort3Dortho | void | set view port 3D ortho |
Function Arguments
name | type | description |
left | const double | left |
right | const double | right |
bottom | const double | bottom |
top | const double | top |
back | const double | back |
forward | const double | forward |
Function Reference List
N/A
Function LDopenglClass::drawPrimitivesReferenceListToOpenGLandCreateRGBmapBasic()
Function Summary
name | return type | description |
drawPrimitivesReferenceListToOpenGLandCreateRGBmapBasic | void | draw primitives reference list to open GL and create RGB map basic |
Function Arguments
name | type | description |
firstReferenceInPrimitivesReferenceList | const LDreference* | first reference in primitives reference list |
width | int | width |
height | const int | height |
rgbMap | uchar* | rgb map |
Function Reference List
Function LDopenglClass::writeScreenToRGBMap()
Function Summary
name | return type | description |
writeScreenToRGBMap | void | write screen to RGBM ap |
Function Arguments
name | type | description |
width | int | width |
height | const int | height |
rgbMap | uchar* | rgb map |
Function Reference List
N/A
File RTscene Documentation
File Name: RTscene.cpp/.hpp
File Description: RT scene
File Function List
-
- rayTraceScene
- rayTraceSceneWithoutParse
- parseTalFileInitialiseParser
- parseTalFileGetViewInfo
- parseTalFileGetLightInfo
- parseTalFileGetSceneInfo
- createImage
- calculateTransparencyColour
- calculateUVNScalars
- calculateAmbientDiffuseSpecular
- calculateBasicColour
- stripExtension
- addExtension
File Diagram (functions hierarchy)
Class RTlightingInfo
Class Data
name | type | description |
ls | RTlightSource | ls |
nextLight | RTlightingInfo* | next light |
Function RTsceneClass::rayTraceScene()
Function Summary
name | return type | description |
rayTraceScene | int | ray trace scene |
Function Arguments
name | type | description |
talFileName | const string | tal file name |
imageFileName | string | image file name |
outputImageFiles | const int | output image files |
setRGBAndDepthAndNormalAndPointMaps | const int | set RGBA nd depth and normal and point maps |
rgbMap | uchar* | rgb map |
depthMap | double* | depth map |
normalMap | double* | normal map |
pointMap | double* | point map |
Function Reference List
-
- RTpixelMapsClass::fillInRTRulesExternVariables
- parseTalFileInitialiseParser
- parseTalFileGetViewInfo
- parseTalFileGetLightInfo
- parseTalFileGetSceneInfo
- RTparserClass::exitParser
- SHAREDvarsClass::setCurrentDirectory
- rayTraceSceneWithoutParse
Function RTsceneClass::rayTraceSceneWithoutParse()
Function Summary
name | return type | description |
rayTraceSceneWithoutParse | int | ray trace scene without parse |
Function Arguments
name | type | description |
vi | RTviewInfo* | vi |
si | RTsceneInfo* | si |
li | const RTlightingInfo* | li |
imageFileName | string | image file name |
outputImageFiles | const int | output image files |
setRGBAndDepthAndNormalAndPointMaps | const int | set RGBA nd depth and normal and point maps |
rgbMap | uchar* | rgb map |
depthMap | double* | depth map |
normalMap | double* | normal map |
pointMap | double* | point map |
Function Reference List
-
- createImage
- createImage
- RTppmClass::newPixmap
- RTppmClass::newPixmap
- RTppmClass::newPixmap
-
- RTpixelMapsClass::getRGBMapValues
- RTppmClass::placepointPPM
- RTpixelMapsClass::getNormalMapValue
- RTppmClass::placepointPPM
- RTpixelMapsClass::getLumOrContrastOrDepthMapValue
- SHAREDvarsClass::minInt
- RTppmClass::placepointPPM
- RTpixelMapsClass::writeImage
- stripExtension
- addExtension
- RTpixelMapsClass::writeImage
- RTpixelMapsClass::writeImage
Function RTsceneClass::parseTalFileInitialiseParser()
Function Summary
name | return type | description |
parseTalFileInitialiseParser | void | parse tal file initialise parser |
Function Arguments
name | type | description |
talFileName | const string | tal file name |
Function Reference List
-
-
- RTparserClass::initParser
Function RTsceneClass::parseTalFileGetViewInfo()
Function Summary
name | return type | description |
parseTalFileGetViewInfo | RTviewInfo* | parse tal file get view info |
Function Arguments
name | type | description |
vi | RTviewInfo* | vi |
Function Reference List
-
- RTparserClass::readViewport
- RTparserClass::get_view_info
Function RTsceneClass::parseTalFileGetLightInfo()
Function Summary
name | return type | description |
parseTalFileGetLightInfo | RTlightingInfo* | parse tal file get light info |
Function Arguments
name | type | description |
li | RTlightingInfo* | li |
Function Reference List
-
- RTparserClass::nextLightSource
- RTparserClass::get_light_info
Function RTsceneClass::parseTalFileGetSceneInfo()
Function Summary
name | return type | description |
parseTalFileGetSceneInfo | RTsceneInfo* | parse tal file get scene info |
Function Arguments
name | type | description |
si | RTsceneInfo* | si |
Function Reference List
-
- RTparserClass::nextSceneCommand
- RTparserClass::getPieceInfo
- RTparserClass::getDimensionsInfo
- RToperationsClass::createRotationxMatrix
- RToperationsClass::toRadians
- RToperationsClass::createRotationyMatrix
- RToperationsClass::toRadians
- RToperationsClass::createRotationzMatrix
- RToperationsClass::toRadians
- RToperationsClass::createTranslationMatrix
- RToperationsClass::createScaleMatrix
- RToperationsClass::multAdvancedMatrix
- RToperationsClass::multAdvancedMatrix
- RToperationsClass::multAdvancedMatrix
- RToperationsClass::multAdvancedMatrix
- RToperationsClass::createInverseRotationxMatrix
- RToperationsClass::toRadians
- RToperationsClass::createInverseRotationyMatrix
- RToperationsClass::toRadians
- RToperationsClass::createInverseRotationzMatrix
- RToperationsClass::toRadians
- RToperationsClass::createInverseTranslationMatrix
- RToperationsClass::createInverseScaleMatrix
- RToperationsClass::multAdvancedMatrix
- RToperationsClass::multAdvancedMatrix
- RToperationsClass::multAdvancedMatrix
- RToperationsClass::multAdvancedMatrix
Function RTsceneClass::createImage()
Function Summary
name | return type | description |
createImage | void | create image |
Function Arguments
name | type | description |
setRGBAndDepthAndNormalAndPointMaps | const int | set RGBA nd depth and normal and point maps |
rgbMap | uchar* | rgb map |
depthMap | double* | depth map |
normalMap | double* | normal map |
pointMap | double* | point map |
vi | RTviewInfo* | vi |
si | RTsceneInfo* | si |
li | const RTlightingInfo* | li |
Function Reference List
-
- SHAREDvectorClass::negativeVector
- SHAREDvectorClass::addVectorsRT
- SHAREDvectorClass::normaliseVector
- SHAREDvectorClass::negativeVector
- SHAREDvectorClass::addVectorsRT
- SHAREDvectorClass::normaliseVector
- SHAREDvectorClass::crossProduct
- SHAREDvectorClass::normaliseVector
- SHAREDvectorClass::crossProduct
- SHAREDvectorClass::normaliseVector
- SHAREDvectorClass::makeMatrix
-
- calculateUVNScalars
- RTraytracerClass::rayTrace
- calculateBasicColour
- calculateTransparencyColour
- calculateAmbientDiffuseSpecular
- RTpixelMapsClass::setRGBMapValues
- RTpixelMapsClass::setLumOrContrastOrDepthMapValue
- RTpixelMapsClass::setNormalMapValue
- RTpixelMapsClass::setPointMapValue
Function RTsceneClass::calculateTransparencyColour()
Function Summary
name | return type | description |
calculateTransparencyColour | void | calculate transparency colour |
Function Arguments
name | type | description |
vi | const RTviewInfo* | vi |
si | const RTsceneInfo* | si |
li | const RTlightingInfo* | li |
rgb | colour* | rgb |
Function Reference List
N/A
Function RTsceneClass::calculateUVNScalars()
Function Summary
name | return type | description |
calculateUVNScalars | void | calculate UVNS calars |
Function Arguments
name | type | description |
vi | const RTviewInfo* | vi |
uvn | vec* | uvn |
x | const int | x |
y | const int | y |
Function Reference List
N/A
Function RTsceneClass::calculateAmbientDiffuseSpecular()
Function Summary
name | return type | description |
calculateAmbientDiffuseSpecular | void | calculate ambient diffuse specular |
Function Arguments
name | type | description |
vi | RTviewInfo* | vi |
si | const RTsceneInfo* | si |
li | const RTlightingInfo* | li |
rgb | colour* | rgb |
tAtSurface | double* | tAt surface |
nAtSurface | vec* | nAt surface |
pointAtSurface | vec* | point at surface |
Function Reference List
-
-
-
- SHAREDvectorClass::subtractVectorsRT
- SHAREDvectorClass::normaliseVector
- SHAREDvectorClass::subtractVectorsRT
- SHAREDvectorClass::normaliseVector
- SHAREDvectorClass::multiplyVectorByScalarRT
- SHAREDvectorClass::dotProduct
- SHAREDvectorClass::subtractVectorsRT
- SHAREDvectorClass::dotProduct
- SHAREDvectorClass::dotProduct
- SHAREDvectorClass::dotProduct
- SHAREDvectorClass::copyVectorRT
- SHAREDvectorClass::copyVectorRT
Function RTsceneClass::calculateBasicColour()
Function Summary
name | return type | description |
calculateBasicColour | void | calculate basic colour |
Function Arguments
name | type | description |
vi | const RTviewInfo* | vi |
si | const RTsceneInfo* | si |
li | const RTlightingInfo* | li |
rgb | colour* | rgb |
tAtSurface | double* | tAt surface |
nAtSurface | vec* | nAt surface |
pointAtSurface | vec* | point at surface |
Function Reference List
-
- SHAREDvectorClass::copyVectorRT
- SHAREDvectorClass::copyVectorRT
Function RTsceneClass::stripExtension()
Function Summary
name | return type | description |
stripExtension | bool | strip extension |
Function Arguments
name | type | description |
filenameWithExtension | string | filename with extension |
filenameWithoutExtension | string* | filename without extension |
Function Reference List
N/A
Function RTsceneClass::addExtension()
Function Summary
name | return type | description |
addExtension | bool | add extension |
Function Arguments
name | type | description |
filenameWithoutExtension | string | filename without extension |
extension | string | extension |
filenameWithExtension | string* | filename with extension |
Function Reference List
N/A
File RTraytracer Documentation
File Name: RTraytracer.cpp/.hpp
File Description: RT raytracer
File Function List
-
- rayTrace
- calculateCylinder
- calculateCube
- calculateSphere
- calculatePrimQuad
- calculatePrimTri
- calculatePrimLine
- drawPoint
- drawPointNoLighting
File Diagram (functions hierarchy)
Class RTsceneInfo
Class Data
name | type | description |
standardMatrix | advancedMat | standard matrix |
reverseMatrix | advancedMat | reverse matrix |
pi | RTpieceInfo | pi |
di | RTdimensionsInfo | di |
tOut | double | tOut |
n | vec | n |
nextScene | RTsceneInfo* | next scene |
Function RTraytracerClass::rayTrace()
Function Summary
name | return type | description |
rayTrace | void | ray trace |
Function Arguments
name | type | description |
vi | const RTviewInfo* | vi |
si | RTsceneInfo* | si |
tildaMat | mat* | tilda mat |
uvn | vec* | uvn |
Function Reference List
-
- SHAREDvectorClass::multMatrixByVector
- SHAREDvectorClass::addVectorsRT
- RToperationsClass::createInverseScaleMatrix
- RToperationsClass::createInverseTranslationMatrix
- RToperationsClass::multAdvancedMatrix
- RToperationsClass::multAdvancedMatrix
- RToperationsClass::toAdvancedVector
- RToperationsClass::toAdvancedVector
- RToperationsClass::multAdvancedMatrixByVector
- RToperationsClass::multAdvancedMatrixByVector
- RToperationsClass::fromAdvancedVector
- RToperationsClass::fromAdvancedVector
- calculateCube
- calculateCylinder
- calculateSphere
- calculatePrimQuad
- calculatePrimTri
- calculatePrimLine
- SHAREDvectorClass::createVector
- SHAREDvectorClass::createVector
- drawPoint
- drawPoint
- drawPoint
- drawPoint
- drawPoint
- drawPointNoLighting
Function RTraytracerClass::calculateCylinder()
Function Summary
name | return type | description |
calculateCylinder | void | calculate cylinder |
Function Arguments
name | type | description |
p0 | vec* | p0 |
p1 | vec* | p1 |
tInOut | double* | tIn out |
norm | vec* | norm |
finalReverseMatrix | advancedMat* | final reverse matrix |
relevantFinalReverseMatrix | advancedMat* | relevant final reverse matrix |
Function Reference List
-
-
- SHAREDvectorClass::negativeVector
- SHAREDvectorClass::addVectorsRT
- SHAREDvectorClass::multiplyVectorByScalarRT
- SHAREDvectorClass::addVectorsRT
- SHAREDvectorClass::multiplyVectorByScalarRT
- SHAREDvectorClass::addVectorsRT
- SHAREDvectorClass::negativeVector
- SHAREDvectorClass::addVectorsRT
- SHAREDvectorClass::multiplyVectorByScalarRT
- SHAREDvectorClass::addVectorsRT
- SHAREDvectorClass::multiplyVectorByScalarRT
- SHAREDvectorClass::addVectorsRT
- RToperationsClass::findPositionOfSmallestValueWhichHits
- RToperationsClass::findPositionOfGreatestValueWhichHits
- SHAREDvectorClass::negativeVector
- SHAREDvectorClass::addVectorsRT
- SHAREDvectorClass::multiplyVectorByScalarRT
- SHAREDvectorClass::addVectorsRT
Function RTraytracerClass::calculateCube()
Function Summary
name | return type | description |
calculateCube | void | calculate cube |
Function Arguments
name | type | description |
p0 | vec* | p0 |
p1 | vec* | p1 |
tInOut | double* | tIn out |
norm | vec* | norm |
finalReverseMatrix | advancedMat* | final reverse matrix |
relevantFinalReverseMatrix | advancedMat* | relevant final reverse matrix |
Function Reference List
-
-
- SHAREDvectorClass::negativeVector
- SHAREDvectorClass::addVectorsRT
- SHAREDvectorClass::multiplyVectorByScalarRT
- SHAREDvectorClass::addVectorsRT
- SHAREDvectorClass::multiplyVectorByScalarRT
- SHAREDvectorClass::addVectorsRT
- SHAREDvectorClass::negativeVector
- SHAREDvectorClass::addVectorsRT
- SHAREDvectorClass::multiplyVectorByScalarRT
- SHAREDvectorClass::addVectorsRT
- SHAREDvectorClass::multiplyVectorByScalarRT
- SHAREDvectorClass::addVectorsRT
- SHAREDvectorClass::negativeVector
- SHAREDvectorClass::addVectorsRT
- SHAREDvectorClass::multiplyVectorByScalarRT
- SHAREDvectorClass::addVectorsRT
- SHAREDvectorClass::multiplyVectorByScalarRT
- SHAREDvectorClass::addVectorsRT
- RToperationsClass::findGreatestValue
- RToperationsClass::findSmallestValue
- RToperationsClass::findPositionOfSmallestValueWhichHits
- RToperationsClass::findPositionOfGreatestValueWhichHits
- SHAREDvectorClass::negativeVector
- SHAREDvectorClass::addVectorsRT
- SHAREDvectorClass::multiplyVectorByScalarRT
- SHAREDvectorClass::addVectorsRT
Function RTraytracerClass::calculateSphere()
Function Summary
name | return type | description |
calculateSphere | void | calculate sphere |
Function Arguments
name | type | description |
p0 | vec* | p0 |
p1 | vec* | p1 |
tInOut | double* | tIn out |
norm | vec* | norm |
finalReverseMatrix | advancedMat* | final reverse matrix |
relevantFinalReverseMatrix | advancedMat* | relevant final reverse matrix |
Function Reference List
-
- SHAREDvectorClass::subtractVectorsRT
- SHAREDvectorClass::dotProduct
- SHAREDvectorClass::multiplyVectorByScalarRT
- SHAREDvectorClass::dotProduct
- SHAREDvectorClass::dotProduct
- SHAREDvectorClass::negativeVector
- SHAREDvectorClass::addVectorsRT
- SHAREDvectorClass::multiplyVectorByScalarRT
- SHAREDvectorClass::addVectorsRT
- SHAREDvectorClass::negativeVector
- SHAREDvectorClass::addVectorsRT
- SHAREDvectorClass::multiplyVectorByScalarRT
- SHAREDvectorClass::addVectorsRT
- SHAREDvectorClass::negativeVector
- SHAREDvectorClass::addVectorsRT
- SHAREDvectorClass::multiplyVectorByScalarRT
- SHAREDvectorClass::addVectorsRT
Function RTraytracerClass::calculatePrimQuad()
Function Summary
name | return type | description |
calculatePrimQuad | void | calculate prim quad |
Function Arguments
name | type | description |
p0 | vec* | p0 |
p1 | vec* | p1 |
tInOut | double* | tIn out |
pi | const RTpieceInfo* | pi |
norm | vec* | norm |
finalReverseMatrix | advancedMat* | final reverse matrix |
relevantFinalReverseMatrix | advancedMat* | relevant final reverse matrix |
Function Reference List
-
- RToperationsClass::findIntersectLineWithQuad
- SHAREDvectorClass::negativeVector
- SHAREDvectorClass::addVectorsRT
- SHAREDvectorClass::multiplyVectorByScalarRT
- SHAREDvectorClass::addVectorsRT
- SHAREDvectorClass::copyVectorRT
- SHAREDvectorClass::negativeVector
Function RTraytracerClass::calculatePrimTri()
Function Summary
name | return type | description |
calculatePrimTri | void | calculate prim tri |
Function Arguments
name | type | description |
p0 | vec* | p0 |
p1 | vec* | p1 |
tInOut | double* | tIn out |
pi | const RTpieceInfo* | pi |
norm | vec* | norm |
finalReverseMatrix | advancedMat* | final reverse matrix |
relevantFinalReverseMatrix | advancedMat* | relevant final reverse matrix |
Function Reference List
-
- RToperationsClass::findIntersectLineWithTri
- SHAREDvectorClass::negativeVector
- SHAREDvectorClass::addVectorsRT
- SHAREDvectorClass::multiplyVectorByScalarRT
- SHAREDvectorClass::addVectorsRT
- SHAREDvectorClass::copyVectorRT
- SHAREDvectorClass::negativeVector
Function RTraytracerClass::calculatePrimLine()
Function Summary
name | return type | description |
calculatePrimLine | void | calculate prim line |
Function Arguments
name | type | description |
p0 | vec* | p0 |
p1 | vec* | p1 |
tInOut | double* | tIn out |
pi | const RTpieceInfo* | pi |
norm | const vec* | norm |
finalReverseMatrix | advancedMat* | final reverse matrix |
relevantFinalReverseMatrix | advancedMat* | relevant final reverse matrix |
Function Reference List
-
- SHAREDvectorClass::subtractVectorsRT
- RToperationsClass::findIntersectLineWithLine
Function RTraytracerClass::drawPoint()
Function Summary
name | return type | description |
drawPoint | void | draw point |
Function Arguments
name | type | description |
si | RTsceneInfo* | si |
reverseMatrix | advancedMat* | reverse matrix |
tInDash | double | tIn dash |
tOutDash | double | tOut dash |
p0Dash | vec* | p0D ash |
p1Dash | vec* | p1D ash |
norm | vec* | norm |
Function Reference List
-
- SHAREDvectorClass::negativeVector
- SHAREDvectorClass::addVectorsRT
- SHAREDvectorClass::multiplyVectorByScalarRT
- SHAREDvectorClass::addVectorsRT
- RToperationsClass::toAdvancedVector
- RToperationsClass::multAdvancedMatrixByVector
- RToperationsClass::fromAdvancedVector
- SHAREDvectorClass::subtractVectorsRT
- SHAREDvectorClass::subtractVectorsRT
- RToperationsClass::createAdvancedVector
- RToperationsClass::toAdvancedVector
- RToperationsClass::transposeAdvancedMatrix
- RToperationsClass::multAdvancedMatrixByVector
- RToperationsClass::fromAdvancedVector
- SHAREDvectorClass::normaliseVector
Function RTraytracerClass::drawPointNoLighting()
Function Summary
name | return type | description |
drawPointNoLighting | void | draw point no lighting |
Function Arguments
name | type | description |
si | RTsceneInfo* | si |
reverseMatrix | const advancedMat* | reverse matrix |
tIn | double | tIn |
tOut | double | tOut |
p0 | const vec* | p0 |
p1 | const vec* | p1 |
norm | const vec* | norm |
Function Reference List
N/A
File RTparser Documentation
File Name: RTparser.cpp/.hpp
File Description: RT parser
File Function List
-
- initParser
- readViewport
- get_view_info
- nextLightSource
- get_light_info
- nextSceneCommand
- getPieceInfo
- getDimensionsInfo
- exitParser
File Diagram (functions hierarchy)
Class RTlightSource
Class Data
name | type | description |
type | lightType | type |
pos | vec | pos |
col | colour | col |
Class RTpieceInfo
Class Data
name | type | description |
type | pieceType | type |
col | colour | col |
pos | vec | pos |
xrot | double | xrot |
yrot | double | yrot |
zrot | double | zrot |
vertex1Position | vec | vertex 1P osition |
vertex2Position | vec | vertex 2P osition |
vertex3Position | vec | vertex 3P osition |
vertex4Position | vec | vertex 4P osition |
Class RTdimensionsInfo
Class Data
name | type | description |
width | double | width |
length | double | length |
height | double | height |
translucent | int | translucent |
transparency | int | transparency |
is_invisible | int | is _invisible |
Class RTdecalInfo
Class Data
name | type | description |
width | double | width |
length | double | length |
filename | char* | filename |
haveTransparent | int | have transparent |
transparentcolour | colour | transparentcolour |
Class RTunknownInfo
Class Data
name | type | description |
commandString | char* | command string |
param_count | int | param _count |
*params | char* | *params |
Function RTparserClass::initParser()
Function Summary
name | return type | description |
initParser | void | init parser |
Function Arguments
name | type | description |
f | FILE* | f |
Function Reference List
N/A
Function RTparserClass::readViewport()
Function Summary
name | return type | description |
readViewport | int | read viewport |
Function Reference List
N/A
Function RTparserClass::get_view_info()
Function Summary
name | return type | description |
get_view_info | RTviewInfo* | get _view _info |
Function Reference List
N/A
Function RTparserClass::nextLightSource()
Function Summary
name | return type | description |
nextLightSource | int | next light source |
Function Reference List
N/A
Function RTparserClass::get_light_info()
Function Summary
name | return type | description |
get_light_info | RTlightSource* | get _light _info |
Function Reference List
N/A
Function RTparserClass::nextSceneCommand()
Function Summary
name | return type | description |
nextSceneCommand | int | next scene command |
Function Reference List
N/A
Function RTparserClass::getPieceInfo()
Function Summary
name | return type | description |
getPieceInfo | RTpieceInfo* | get piece info |
Function Reference List
N/A
Function RTparserClass::getDimensionsInfo()
Function Summary
name | return type | description |
getDimensionsInfo | RTdimensionsInfo* | get dimensions info |
Function Reference List
N/A
Function RTparserClass::exitParser()
Function Summary
name | return type | description |
exitParser | void | exit parser |
Function Reference List
N/A
File RToperations Documentation
File Name: RToperations.cpp/.hpp
File Description: RT operations
File Function List
-
- makeAdvancedMatrix
- multAdvancedMatrix
- createIdentityMatrixAdvanced
- createInverseTranslationMatrix
- createTranslationMatrix
- createScaleMatrix
- createInverseScaleMatrix
- createRotationxMatrix
- createInverseRotationxMatrix
- createRotationyMatrix
- createInverseRotationyMatrix
- createRotationzMatrix
- createInverseRotationzMatrix
- invertAdvancedMatrix
- transposeAdvancedMatrix
- multAdvancedMatrixByVector
- toRadians
- toAdvancedVector
- fromAdvancedVector
- createAdvancedVector
- findSmallestValue
- findGreatestValue
- findIntersectLineWithTri
- findIntersectLineWithLine
- findIntersectLineWithLine2D
- findIntersectLineWithQuad
- findPositionOfSmallestValueWhichHits
- findPositionOfGreatestValueWhichHits
File Diagram (functions hierarchy)
Function RToperationsClass::makeAdvancedMatrix()
Function Summary
name | return type | description |
makeAdvancedMatrix | void | make advanced matrix |
Function Arguments
name | type | description |
matxAdv | advancedMat* | matx adv |
matx | mat* | matx |
type | int | type |
Function Reference List
N/A
Function RToperationsClass::multAdvancedMatrix()
Function Summary
name | return type | description |
multAdvancedMatrix | void | mult advanced matrix |
Function Arguments
name | type | description |
matxAdv1 | advancedMat* | matx adv 1 |
matxAdv2 | advancedMat* | matx adv 2 |
matxAdv | advancedMat* | matx adv |
Function Reference List
N/A
Function RToperationsClass::createIdentityMatrixAdvanced()
Function Summary
name | return type | description |
createIdentityMatrixAdvanced | void | create identity matrix advanced |
Function Arguments
name | type | description |
matx | advancedMat* | matx |
Function Reference List
N/A
Function RToperationsClass::createInverseTranslationMatrix()
Function Summary
name | return type | description |
createInverseTranslationMatrix | void | create inverse translation matrix |
Function Arguments
name | type | description |
xpos | double | xpos |
ypos | double | ypos |
zpos | double | zpos |
matx | advancedMat* | matx |
Function Reference List
-
- createIdentityMatrixAdvanced
Function RToperationsClass::createTranslationMatrix()
Function Summary
name | return type | description |
createTranslationMatrix | void | create translation matrix |
Function Arguments
name | type | description |
xpos | double | xpos |
ypos | double | ypos |
zpos | double | zpos |
matx | advancedMat* | matx |
Function Reference List
-
- createIdentityMatrixAdvanced
Function RToperationsClass::createScaleMatrix()
Function Summary
name | return type | description |
createScaleMatrix | void | create scale matrix |
Function Arguments
name | type | description |
width | double | width |
length | double | length |
height | double | height |
matx | advancedMat* | matx |
Function Reference List
-
- createIdentityMatrixAdvanced
Function RToperationsClass::createInverseScaleMatrix()
Function Summary
name | return type | description |
createInverseScaleMatrix | void | create inverse scale matrix |
Function Arguments
name | type | description |
width | const double | width |
length | const double | length |
height | const double | height |
matx | advancedMat* | matx |
Function Reference List
-
- createIdentityMatrixAdvanced
Function RToperationsClass::createRotationxMatrix()
Function Summary
name | return type | description |
createRotationxMatrix | void | create rotationx matrix |
Function Arguments
name | type | description |
rotation | double | rotation |
matx | advancedMat* | matx |
Function Reference List
-
- createIdentityMatrixAdvanced
Function RToperationsClass::createInverseRotationxMatrix()
Function Summary
name | return type | description |
createInverseRotationxMatrix | void | create inverse rotationx matrix |
Function Arguments
name | type | description |
rotation | double | rotation |
matx | advancedMat* | matx |
Function Reference List
-
- createRotationxMatrix
- invertAdvancedMatrix
Function RToperationsClass::createRotationyMatrix()
Function Summary
name | return type | description |
createRotationyMatrix | void | create rotationy matrix |
Function Arguments
name | type | description |
rotation | double | rotation |
matx | advancedMat* | matx |
Function Reference List
-
- createIdentityMatrixAdvanced
Function RToperationsClass::createInverseRotationyMatrix()
Function Summary
name | return type | description |
createInverseRotationyMatrix | void | create inverse rotationy matrix |
Function Arguments
name | type | description |
rotation | double | rotation |
matx | advancedMat* | matx |
Function Reference List
-
- createRotationyMatrix
- invertAdvancedMatrix
Function RToperationsClass::createRotationzMatrix()
Function Summary
name | return type | description |
createRotationzMatrix | void | create rotationz matrix |
Function Arguments
name | type | description |
rotation | double | rotation |
matx | advancedMat* | matx |
Function Reference List
-
- createIdentityMatrixAdvanced
Function RToperationsClass::createInverseRotationzMatrix()
Function Summary
name | return type | description |
createInverseRotationzMatrix | void | create inverse rotationz matrix |
Function Arguments
name | type | description |
rotation | double | rotation |
matx | advancedMat* | matx |
Function Reference List
-
- createRotationzMatrix
- invertAdvancedMatrix
Function RToperationsClass::invertAdvancedMatrix()
Function Summary
name | return type | description |
invertAdvancedMatrix | void | invert advanced matrix |
Function Arguments
name | type | description |
matx | advancedMat* | matx |
Function Reference List
Function RToperationsClass::transposeAdvancedMatrix()
Function Summary
name | return type | description |
transposeAdvancedMatrix | void | transpose advanced matrix |
Function Arguments
name | type | description |
matx | advancedMat* | matx |
Function Reference List
N/A
Function RToperationsClass::multAdvancedMatrixByVector()
Function Summary
name | return type | description |
multAdvancedMatrixByVector | void | mult advanced matrix by vector |
Function Arguments
name | type | description |
vecAdv1 | advancedVec* | vec adv 1 |
matxAdv1 | advancedMat* | matx adv 1 |
vecAdv | advancedVec* | vec adv |
Function Reference List
N/A
Function RToperationsClass::toRadians()
Function Summary
name | return type | description |
toRadians | double | to radians |
Function Arguments
name | type | description |
degrees | const double | degrees |
Function Reference List
N/A
Function RToperationsClass::toAdvancedVector()
Function Summary
name | return type | description |
toAdvancedVector | void | to advanced vector |
Function Arguments
name | type | description |
vec | vec* | vec |
type | int | type |
vecAdv | advancedVec* | vec adv |
Function Reference List
N/A
Function RToperationsClass::fromAdvancedVector()
Function Summary
name | return type | description |
fromAdvancedVector | void | from advanced vector |
Function Arguments
name | type | description |
vecAdv | advancedVec* | vec adv |
vec | vec* | vec |
Function Reference List
N/A
Function RToperationsClass::createAdvancedVector()
Function Summary
name | return type | description |
createAdvancedVector | void | create advanced vector |
Function Arguments
name | type | description |
vec | advancedVec* | vec |
Function Reference List
N/A
Function RToperationsClass::findSmallestValue()
Function Summary
name | return type | description |
findSmallestValue | double | find smallest value |
Function Arguments
name | type | description |
val1 | const double | val 1 |
val2 | const double | val 2 |
val3 | double | val 3 |
Function Reference List
N/A
Function RToperationsClass::findGreatestValue()
Function Summary
name | return type | description |
findGreatestValue | double | find greatest value |
Function Arguments
name | type | description |
val1 | const double | val 1 |
val2 | const double | val 2 |
val3 | double | val 3 |
Function Reference List
N/A
Function RToperationsClass::findIntersectLineWithTri()
Function Summary
name | return type | description |
findIntersectLineWithTri | int | find intersect line with tri |
Function Arguments
name | type | description |
pt1 | const vec* | pt 1 |
pt2 | const vec* | pt 2 |
pt3 | const vec* | pt 3 |
linept1 | vec* | linept 1 |
linept2 | vec* | linept 2 |
pt_int | vec* | pt _int |
norm | vec* | norm |
t | double* | t |
Function Reference List
-
- SHAREDvectorClass::subtractVectorsRT
Function RToperationsClass::checkSameClockDir()
Function Summary
name | return type | description |
checkSameClockDir | int | check same clock dir |
Function Arguments
name | type | description |
pt1 | const vec* | pt 1 |
pt2 | const vec* | pt 2 |
pt3 | const vec* | pt 3 |
norm | const vec* | norm |
Function Reference List
N/A
Function RToperationsClass::findIntersectLineWithLine()
Function Summary
name | return type | description |
findIntersectLineWithLine | int | find intersect line with line |
Function Arguments
name | type | description |
linept1 | const vec* | linept 1 |
linept2 | const vec* | linept 2 |
povpt1 | vec* | povpt 1 |
povpt2 | vec* | povpt 2 |
pt_int | vec* | pt _int |
norm | const vec* | norm |
t | double* | t |
Function Reference List
-
- findIntersectLineWithLine2D
Function RToperationsClass::findIntersectLineWithLine2D()
Function Summary
name | return type | description |
findIntersectLineWithLine2D | bool | find intersect line with line 2D |
Function Arguments
name | type | description |
povpt1 | const vec* | povpt 1 |
povpt2 | const vec* | povpt 2 |
linept1 | const vec* | linept 1 |
linept2 | const vec* | linept 2 |
pt_int | vec* | pt _int |
Function Reference List
-
- SHAREDvectorClass::find2DintersectionPoint
- SHAREDvectorClass::find2DintersectionPoint
- SHAREDvectorClass::find2DintersectionPoint
-
- SHAREDvectorClass::compareDoublesRelaxed
- SHAREDvectorClass::compareDoublesRelaxed
- SHAREDvectorClass::compareDoublesRelaxed
Function RToperationsClass::findIntersectLineWithQuad()
Function Summary
name | return type | description |
findIntersectLineWithQuad | int | find intersect line with quad |
Function Arguments
name | type | description |
pt1 | const vec* | pt 1 |
pt2 | const vec* | pt 2 |
pt3 | const vec* | pt 3 |
pt4 | const vec* | pt 4 |
linept1 | vec* | linept 1 |
linept2 | vec* | linept 2 |
pt_int | vec* | pt _int |
norm | vec* | norm |
t | double* | t |
Function Reference List
-
- findIntersectLineWithTri
- findIntersectLineWithTri
- SHAREDvectorClass::copyVectorRT
- SHAREDvectorClass::copyVectorRT
- SHAREDvectorClass::copyVectorRT
- SHAREDvectorClass::copyVectorRT
- SHAREDvectorClass::copyVectorRT
- SHAREDvectorClass::copyVectorRT
- SHAREDvectorClass::copyVectorRT
- SHAREDvectorClass::copyVectorRT
Function RToperationsClass::findPositionOfSmallestValueWhichHits()
Function Summary
name | return type | description |
findPositionOfSmallestValueWhichHits | int | find position of smallest value which hits |
Function Arguments
name | type | description |
array | const double* | array |
hitsArray | const int* | hits array |
size | const int | size |
Function Reference List
N/A
Function RToperationsClass::findPositionOfGreatestValueWhichHits()
Function Summary
name | return type | description |
findPositionOfGreatestValueWhichHits | int | find position of greatest value which hits |
Function Arguments
name | type | description |
array | const double* | array |
hitsArray | const int* | hits array |
size | const int | size |
Function Reference List
N/A
File RTpixelMaps Documentation
File Name: RTpixelMaps.cpp/.hpp
File Description: RT pixel maps
File Function List
-
- getRGBMapValues
- setRGBMapValues
- setNormalMapValue
- getNormalMapValue
- setPointMapValue
- setVectorMapValue
- getVectorMapValue
- setLumOrContrastOrDepthMapValue
- getLumOrContrastOrDepthMapValue
- generatePixmapFromRGBmap
- writeImage
- fillInRTRulesExternVariables
File Diagram (functions hierarchy)
Function RTpixelMapsClass::getRGBMapValues()
Function Summary
name | return type | description |
getRGBMapValues | void | get RGBM ap values |
Function Arguments
name | type | description |
x | int | x |
y | int | y |
imageWidth | int | image width |
rgbMap | uchar* | rgb map |
col | colour* | col |
Function Reference List
N/A
Function RTpixelMapsClass::setRGBMapValues()
Function Summary
name | return type | description |
setRGBMapValues | void | set RGBM ap values |
Function Arguments
name | type | description |
x | const int | x |
y | const int | y |
imageWidth | const int | image width |
col | colour* | col |
rgbMap | uchar* | rgb map |
Function Reference List
N/A
Function RTpixelMapsClass::setNormalMapValue()
Function Summary
name | return type | description |
setNormalMapValue | void | set normal map value |
Function Arguments
name | type | description |
x | const int | x |
y | const int | y |
imageWidth | const int | image width |
normalVal | vec* | normal val |
normalMap | double* | normal map |
Function Reference List
Function RTpixelMapsClass::getNormalMapValue()
Function Summary
name | return type | description |
getNormalMapValue | void | get normal map value |
Function Arguments
name | type | description |
x | int | x |
y | int | y |
imageWidth | int | image width |
normalMap | double* | normal map |
normalVal | vec* | normal val |
Function Reference List
Function RTpixelMapsClass::setPointMapValue()
Function Summary
name | return type | description |
setPointMapValue | void | set point map value |
Function Arguments
name | type | description |
x | const int | x |
y | const int | y |
imageWidth | const int | image width |
pointVal | vec* | point val |
pointMap | double* | point map |
Function Reference List
Function RTpixelMapsClass::setVectorMapValue()
Function Summary
name | return type | description |
setVectorMapValue | void | set vector map value |
Function Arguments
name | type | description |
x | const int | x |
y | const int | y |
imageWidth | const int | image width |
vectorVal | vec* | vector val |
vectorMap | double* | vector map |
Function Reference List
N/A
Function RTpixelMapsClass::getVectorMapValue()
Function Summary
name | return type | description |
getVectorMapValue | void | get vector map value |
Function Arguments
name | type | description |
x | int | x |
y | int | y |
imageWidth | int | image width |
vectorMap | double* | vector map |
vectorVal | vec* | vector val |
Function Reference List
N/A
Function RTpixelMapsClass::setLumOrContrastOrDepthMapValue()
Function Summary
name | return type | description |
setLumOrContrastOrDepthMapValue | void | set lum or contrast or depth map value |
Function Arguments
name | type | description |
x | const int | x |
y | const int | y |
imageWidth | const int | image width |
contrastVal | double | contrast val |
contrastMap | double* | contrast map |
Function Reference List
N/A
Function RTpixelMapsClass::getLumOrContrastOrDepthMapValue()
Function Summary
name | return type | description |
getLumOrContrastOrDepthMapValue | double | get lum or contrast or depth map value |
Function Arguments
name | type | description |
x | const int | x |
y | const int | y |
imageWidth | const int | image width |
contrastMap | const double* | contrast map |
Function Reference List
N/A
Function RTpixelMapsClass::generatePixmapFromRGBmap()
Function Summary
name | return type | description |
generatePixmapFromRGBmap | void | generate pixmap from RGB map |
Function Arguments
name | type | description |
imageFileName | const string | image file name |
imageWidth | int | image width |
imageHeight | const int | image height |
rgbMap | uchar* | rgb map |
Function Reference List
-
- RTppmClass::newPixmap
-
- getRGBMapValues
- RTppmClass::placepointPPM
- writeImage
Function RTpixelMapsClass::writeImage()
Function Summary
name | return type | description |
writeImage | void | write image |
Function Arguments
name | type | description |
imageFileName | const string | image file name |
pm | pixmap* | pm |
Function Reference List
-
- RTppmClass::writePPM
- RTppmClass::freePixmap
Function RTpixelMapsClass::fillInRTRulesExternVariables()
Function Summary
name | return type | description |
fillInRTRulesExternVariables | void | fill in RTR ules extern variables |
Function Reference List
N/A
File RTppm Documentation
File Name: RTppm.cpp/.hpp
File Description: RT ppm
File Function List
-
- placepointPPM
- newPixmap
- writePPM
- freePixmap
File Diagram (functions hierarchy)
Function RTppmClass::placepointPPM()
Function Summary
name | return type | description |
placepointPPM | void | placepoint PPM |
Function Arguments
name | type | description |
pm | pixmap* | pm |
x | const int | x |
y | const int | y |
r | int | r |
g | int | g |
b | int | b |
Function Reference List
N/A
Function RTppmClass::newPixmap()
Function Summary
name | return type | description |
newPixmap | pixmap* | new pixmap |
Function Arguments
name | type | description |
wide | const int | wide |
high | const int | high |
Function Reference List
N/A
Function RTppmClass::writePPM()
Function Summary
name | return type | description |
writePPM | void | write PPM |
Function Arguments
name | type | description |
fname | const string | fname |
pm | const pixmap* | pm |
Function Reference List
N/A
Function RTppmClass::freePixmap()
Function Summary
name | return type | description |
freePixmap | void | free pixmap |
Function Arguments
name | type | description |
pm | pixmap* | pm |
Function Reference List
N/A
File RTreferenceManipulation Documentation
File Name: RTreferenceManipulation.cpp/.hpp
File Description: RT reference manipulation
File Function List
-
- write2DReferenceListCollapsedTo1DToFileRayTraceFormat
- writeRayTraceFormatHeaderInfo
- write2DReferencesLayerToFileObjectRayTraceFormat
- addReferenceToFileObjectRayTraceFormat
File Diagram (functions hierarchy)
Function RTreferenceManipulationClass::write2DReferenceListCollapsedTo1DToFileRayTraceFormat()
Function Summary
name | return type | description |
write2DReferenceListCollapsedTo1DToFileRayTraceFormat | bool | write 2DR eference list collapsed to 1DT o file ray trace format |
Function Arguments
name | type | description |
fileName | string | file name |
firstReference | LDreference* | first reference |
useCustomViewInfo | const bool | use custom view info |
vi | const RTviewInfo* | vi |
useCustomLightSource | const bool | use custom light source |
lightSourcePosition | const vec* | light source position |
lightSourceColour | const string | light source colour |
Function Reference List
-
-
- writeRayTraceFormatHeaderInfo
- write2DReferencesLayerToFileObjectRayTraceFormat
Function RTreferenceManipulationClass::writeRayTraceFormatHeaderInfo()
Function Summary
name | return type | description |
writeRayTraceFormatHeaderInfo | bool | write ray trace format header info |
Function Arguments
name | type | description |
writeFileObject | ofstream* | write file object |
useCustomViewInfo | const bool | use custom view info |
vi | const RTviewInfo* | vi |
useCustomLightSource | const bool | use custom light source |
lightSourcePosition | const vec* | light source position |
lightSourceColour | const string | light source colour |
Function Reference List
-
- SHAREDvarsClass::convertIntToString
- SHAREDvarsClass::convertIntToString
- SHAREDvarsClass::convertDoubleToString
- SHAREDvarsClass::convertDoubleToString
- SHAREDvarsClass::convertDoubleToString
- SHAREDvarsClass::convertDoubleToString
- SHAREDvarsClass::convertDoubleToString
- SHAREDvarsClass::convertDoubleToString
- SHAREDvarsClass::convertDoubleToString
- SHAREDvarsClass::convertDoubleToString
- SHAREDvarsClass::convertDoubleToString
- SHAREDvarsClass::convertDoubleToString
- SHAREDvarsClass::convertDoubleToString
- SHAREDvarsClass::convertDoubleToString
- SHAREDvarsClass::convertDoubleToString
- SHAREDvarsClass::convertDoubleToString
- SHAREDvarsClass::convertDoubleToString
Function RTreferenceManipulationClass::write2DReferencesLayerToFileObjectRayTraceFormat()
Function Summary
name | return type | description |
write2DReferencesLayerToFileObjectRayTraceFormat | bool | write 2DR eferences layer to file object ray trace format |
Function Arguments
name | type | description |
writeFileObject | ofstream* | write file object |
firstReferenceInLayer | LDreference* | first reference in layer |
Function Reference List
-
-
-
- write2DReferencesLayerToFileObjectRayTraceFormat
- LDreferenceManipulationClass::copyReferences
- SHAREDvectorClass::copyVectors
- SHAREDvectorClass::copyMatricies
- SHAREDvectorClass::copyVectors
- SHAREDvectorClass::copyVectors
- SHAREDvectorClass::copyVectors
- SHAREDvectorClass::copyVectors
- addReferenceToFileObjectRayTraceFormat
Function RTreferenceManipulationClass::addReferenceToFileObjectRayTraceFormat()
Function Summary
name | return type | description |
addReferenceToFileObjectRayTraceFormat | bool | add reference to file object ray trace format |
Function Arguments
name | type | description |
writeFileObject | ofstream* | write file object |
currentReference | LDreference* | current reference |
Function Reference List
-
-
- LDreferenceManipulationClass::convertPositionCoordinatesToString
- LDreferenceManipulationClass::convertPositionCoordinatesToString
- LDreferenceManipulationClass::convertPositionCoordinatesToString
- LDreferenceManipulationClass::convertPositionCoordinatesToString
- LDreferenceManipulationClass::convertPositionCoordinatesToString
- SHAREDvectorClass::calculateRotationVectorFromDeformationMatrix
- LDreferenceManipulationClass::convertPositionCoordinatesToString
- LDreferenceManipulationClass::convertPositionCoordinatesToString
- SHAREDvarsClass::compareDoubles
- SHAREDvarsClass::compareDoubles
- SHAREDvarsClass::compareDoubles
- RToperationsClass::makeAdvancedMatrix
- RToperationsClass::createInverseRotationxMatrix
- RToperationsClass::createInverseRotationyMatrix
- RToperationsClass::createInverseRotationzMatrix
- RToperationsClass::multAdvancedMatrix
- RToperationsClass::multAdvancedMatrix
- RToperationsClass::multAdvancedMatrix
File ANNparser Documentation
File Name: ANNparser.cpp/.hpp
File Description: ANN parser
File Function List
File Diagram (functions hierarchy)
Function ANNparserClass::ANNparseDataFile()
Function Summary
name | return type | description |
ANNparseDataFile | void | ANN parse data file |
Function Arguments
name | type | description |
nameOfExperiencesDataSetFile | string | name of experiences data set file |
Function Reference List
-
-
-
-
- SHAREDvarsClass::convertStringToDouble
- SHAREDvarsClass::convertStringToDouble