MCPcopy Create free account
hub / github.com/OpenSees/OpenSees / drawPoint

Method drawPoint

SRC/renderer/X11Renderer.cpp:186–200  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

184
185
186int
187X11Renderer::drawPoint(const Vector &pos1, float V1, int tag, int mode, int numPixels)
188{
189 float r, g, b;
190 r = theMap->getRed(V1);
191 g = theMap->getGreen(V1);
192 b = theMap->getBlue(V1);
193
194 if (aFile == 1) {
195 theFile << "Point\n" << pos1(0) << " " << pos1(1) << " " << pos1(2)
196 << " " << r << " " << g << " " << b << " " << endln;
197 }
198
199 return 0;
200}
201
202
203int

Callers 11

displaySelfMethod · 0.45
displaySelfMethod · 0.45
displaySelfMethod · 0.45
displaySelfMethod · 0.45
displaySelfMethod · 0.45
displaySelfMethod · 0.45
displaySelfMethod · 0.45
displaySelfMethod · 0.45
displaySelfMethod · 0.45
displaySelfMethod · 0.45
displayForcePointMethod · 0.45

Calls 3

getRedMethod · 0.45
getGreenMethod · 0.45
getBlueMethod · 0.45

Tested by

no test coverage detected