------------------------------------------------------------------------------
| 175 | |
| 176 | //------------------------------------------------------------------------------ |
| 177 | void vtkTIFFReader::vtkTIFFReaderInternal::Clean() |
| 178 | { |
| 179 | if (this->Image) |
| 180 | { |
| 181 | TIFFClose(this->Image); |
| 182 | this->Image = nullptr; |
| 183 | } |
| 184 | this->Width = 0; |
| 185 | this->Height = 0; |
| 186 | this->SamplesPerPixel = 0; |
| 187 | this->Compression = 0; |
| 188 | this->BitsPerSample = 0; |
| 189 | this->Photometrics = 0; |
| 190 | this->HasValidPhotometricInterpretation = false; |
| 191 | this->PlanarConfig = 0; |
| 192 | this->TileDepth = 0; |
| 193 | this->CurrentPage = 0; |
| 194 | this->NumberOfPages = 0; |
| 195 | this->NumberOfTiles = 0; |
| 196 | this->TileRows = 0; |
| 197 | this->TileColumns = 0; |
| 198 | this->TileWidth = 0; |
| 199 | this->TileHeight = 0; |
| 200 | this->XResolution = 1; |
| 201 | this->YResolution = 1; |
| 202 | this->SubFiles = 0; |
| 203 | this->SampleFormat = 1; |
| 204 | this->ResolutionUnit = 1; // none |
| 205 | this->IsOpen = false; |
| 206 | } |
| 207 | |
| 208 | //------------------------------------------------------------------------------ |
| 209 | vtkTIFFReader::vtkTIFFReaderInternal::vtkTIFFReaderInternal() |
no test coverage detected