------------------------------------------------------------------------------
| 986 | |
| 987 | //------------------------------------------------------------------------------ |
| 988 | unsigned short* vtkVolumeRayCastSpaceLeapingImageFilter::GetMinMaxVolume(int size[4]) |
| 989 | { |
| 990 | if (vtkImageData* output = this->GetOutput()) |
| 991 | { |
| 992 | int dims[3]; |
| 993 | output->GetDimensions(dims); |
| 994 | size[0] = dims[0]; |
| 995 | size[1] = dims[1]; |
| 996 | size[2] = dims[2]; |
| 997 | size[3] = this->GetNumberOfIndependentComponents(); |
| 998 | |
| 999 | return static_cast<unsigned short*>(output->GetScalarPointer()); |
| 1000 | } |
| 1001 | return nullptr; |
| 1002 | } |
| 1003 | |
| 1004 | //------------------------------------------------------------------------------ |
| 1005 | // Fill in the min-max space leaping information. |
no test coverage detected