You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
64 lines
1.7 KiB
C
64 lines
1.7 KiB
C
3 weeks ago
|
/*=========================================================================
|
||
|
|
||
|
Program: Visualization Toolkit
|
||
|
Module: vtkMRCReader.h
|
||
|
|
||
|
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
|
||
|
All rights reserved.
|
||
|
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
|
||
|
|
||
|
This software is distributed WITHOUT ANY WARRANTY; without even
|
||
|
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||
|
PURPOSE. See the above copyright notice for more information.
|
||
|
|
||
|
=========================================================================*/
|
||
|
/**
|
||
|
* @class vtkMRCReader
|
||
|
* @brief read MRC image files
|
||
|
*
|
||
|
*
|
||
|
* A reader to load MRC images. See http://bio3d.colorado.edu/imod/doc/mrc_format.txt
|
||
|
* for the file format specification.
|
||
|
*/
|
||
|
|
||
|
#ifndef vtkMRCReader_h
|
||
|
#define vtkMRCReader_h
|
||
|
|
||
|
#include "vtkIOImageModule.h" // For export macro
|
||
|
#include "vtkImageAlgorithm.h"
|
||
|
|
||
|
class vtkInformation;
|
||
|
class vtkInformationVector;
|
||
|
|
||
|
class VTKIOIMAGE_EXPORT vtkMRCReader : public vtkImageAlgorithm
|
||
|
{
|
||
|
public:
|
||
|
static vtkMRCReader* New();
|
||
|
vtkTypeMacro(vtkMRCReader, vtkImageAlgorithm);
|
||
|
|
||
|
void PrintSelf(ostream& stream, vtkIndent indent) override;
|
||
|
|
||
|
// .Description
|
||
|
// Get/Set the file to read
|
||
|
vtkSetStringMacro(FileName);
|
||
|
vtkGetStringMacro(FileName);
|
||
|
|
||
|
protected:
|
||
|
vtkMRCReader();
|
||
|
~vtkMRCReader() override;
|
||
|
|
||
|
int RequestInformation(vtkInformation* request, vtkInformationVector** inputVector,
|
||
|
vtkInformationVector* outputVector) override;
|
||
|
void ExecuteDataWithInformation(vtkDataObject* output, vtkInformation* outInfo) override;
|
||
|
|
||
|
char* FileName;
|
||
|
|
||
|
private:
|
||
|
vtkMRCReader(const vtkMRCReader&) = delete;
|
||
|
void operator=(const vtkMRCReader&) = delete;
|
||
|
class vtkInternal;
|
||
|
vtkInternal* Internals;
|
||
|
};
|
||
|
|
||
|
#endif
|