This method displays the image that has been created
| 1209 | |
| 1210 | // This method displays the image that has been created |
| 1211 | void vtkFixedPointVolumeRayCastMapper::DisplayRenderedImage(vtkRenderer* ren, vtkVolume* vol) |
| 1212 | { |
| 1213 | float depth; |
| 1214 | if (this->IntermixIntersectingGeometry) |
| 1215 | { |
| 1216 | depth = this->MinimumViewDistance; |
| 1217 | } |
| 1218 | else |
| 1219 | { |
| 1220 | depth = -1; |
| 1221 | } |
| 1222 | |
| 1223 | if (this->FinalColorWindow != 1.0 || this->FinalColorLevel != 0.5) |
| 1224 | { |
| 1225 | this->ApplyFinalColorWindowLevel(); |
| 1226 | } |
| 1227 | |
| 1228 | this->ImageDisplayHelper->RenderTexture(vol, ren, this->RayCastImage, depth); |
| 1229 | } |
| 1230 | |
| 1231 | void vtkFixedPointVolumeRayCastMapper::ApplyFinalColorWindowLevel() |
| 1232 | { |
no test coverage detected