------------------------------------------------------------------------------ Convenience method allows creation of cube by specifying bounding box.
| 183 | //------------------------------------------------------------------------------ |
| 184 | // Convenience method allows creation of cube by specifying bounding box. |
| 185 | void vtkCubeSource::SetBounds( |
| 186 | double xMin, double xMax, double yMin, double yMax, double zMin, double zMax) |
| 187 | { |
| 188 | double bounds[6]; |
| 189 | bounds[0] = xMin; |
| 190 | bounds[1] = xMax; |
| 191 | bounds[2] = yMin; |
| 192 | bounds[3] = yMax; |
| 193 | bounds[4] = zMin; |
| 194 | bounds[5] = zMax; |
| 195 | this->SetBounds(bounds); |
| 196 | } |
| 197 | |
| 198 | //------------------------------------------------------------------------------ |
| 199 | void vtkCubeSource::SetBounds(const double bounds[6]) |