Set 3d world coordinate ranges * * This method is mostly used for charts and related renderables */
| 273 | * This method is mostly used for charts and related renderables |
| 274 | */ |
| 275 | void setRanges(const float pMinX, const float pMaxX, |
| 276 | const float pMinY, const float pMaxY, |
| 277 | const float pMinZ, const float pMaxZ) { |
| 278 | mRange[0] = pMinX; mRange[1] = pMaxX; |
| 279 | mRange[2] = pMinY; mRange[3] = pMaxY; |
| 280 | mRange[4] = pMinZ; mRange[5] = pMaxZ; |
| 281 | } |
| 282 | |
| 283 | /* virtual function to set colormap, a derviced class might |
| 284 | * use it or ignore it if it doesnt have a need for color maps. |