------------------------------------------------------------------------------ Destructor ------------------------------------------------------------------------------
| 146 | // Destructor |
| 147 | //------------------------------------------------------------------------------ |
| 148 | vtkSmartVolumeMapper::~vtkSmartVolumeMapper() |
| 149 | { |
| 150 | if (this->RayCastMapper) |
| 151 | { |
| 152 | this->RayCastMapper->Delete(); |
| 153 | this->RayCastMapper = nullptr; |
| 154 | } |
| 155 | if (this->GPUMapper) |
| 156 | { |
| 157 | this->GPUMapper->Delete(); |
| 158 | this->GPUMapper = nullptr; |
| 159 | } |
| 160 | if (this->GPULowResMapper) |
| 161 | { |
| 162 | this->GPULowResMapper->Delete(); |
| 163 | this->GPULowResMapper = nullptr; |
| 164 | } |
| 165 | if (this->GPUResampleFilter) |
| 166 | { |
| 167 | this->GPUResampleFilter->Delete(); |
| 168 | this->GPUResampleFilter = nullptr; |
| 169 | } |
| 170 | if (this->ImageMagnitude) |
| 171 | { |
| 172 | this->ImageMagnitude->Delete(); |
| 173 | this->ImageMagnitude = nullptr; |
| 174 | } |
| 175 | if (this->InputDataMagnitude) |
| 176 | { |
| 177 | this->InputDataMagnitude->Delete(); |
| 178 | this->InputDataMagnitude = nullptr; |
| 179 | } |
| 180 | if (this->OSPRayMapper) |
| 181 | { |
| 182 | this->OSPRayMapper->Delete(); |
| 183 | this->OSPRayMapper = nullptr; |
| 184 | } |
| 185 | if (this->AnariMapper) |
| 186 | { |
| 187 | this->AnariMapper->Delete(); |
| 188 | this->AnariMapper = nullptr; |
| 189 | } |
| 190 | |
| 191 | this->SetTransfer2DYAxisArray(nullptr); |
| 192 | |
| 193 | this->LastInput = nullptr; |
| 194 | this->LastFilterInput = nullptr; |
| 195 | } |
| 196 | |
| 197 | //------------------------------------------------------------------------------ |
| 198 | // The Render method will determine the render mode and then render using the |
nothing calls this directly
no test coverage detected