MCPcopy Create free account
hub / github.com/IENT/YUView / setInitialState

Method setInitialState

YUViewLib/src/statistics/StatisticsType.cpp:109–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107}
108
109void StatisticsType::setInitialState()
110{
111 this->init.render = this->render;
112 this->init.alphaFactor = this->alphaFactor;
113
114 this->init.renderValueData = this->renderValueData;
115 this->init.scaleValueToBlockSize = this->scaleValueToBlockSize;
116 this->init.colorMapper = this->colorMapper;
117
118 this->init.renderVectorData = this->renderVectorData;
119 this->init.scaleVectorToZoom = this->scaleVectorToZoom;
120 this->init.vectorStyle = this->vectorStyle;
121 this->init.vectorScale = this->vectorScale;
122 this->init.mapVectorToColor = this->mapVectorToColor;
123 this->init.arrowHead = this->arrowHead;
124
125 this->init.renderGrid = this->renderGrid;
126 this->init.gridStyle = this->gridStyle;
127 this->init.scaleGridToZoom = this->scaleGridToZoom;
128}
129
130/* Save all the settings of the statistics type that have changed from the initial state
131 */

Callers 3

StatisticsTypeMethod · 0.95
readHeaderFromFileMethod · 0.80
readHeaderFromFileMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected