ITK
5.2.0
Insight Toolkit
|
#include <itkMeshFileWriter.h>
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool val) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
std::string | m_FileName |
MeshIOBase::Pointer | m_MeshIO |
bool | m_UserSpecifiedMeshIO |
bool | m_FactorySpecifiedMeshIO |
bool | m_UseCompression |
bool | m_FileTypeIsBINARY |
virtual void | SetFileName (const char *_arg) |
virtual const char * | GetFileName () const |
void | SetMeshIO (MeshIOBase *io) |
virtual MeshIOBase * | GetModifiableMeshIO () |
virtual const MeshIOBase * | GetMeshIO () const |
void | SetFileTypeAsASCII () |
void | SetFileTypeAsBINARY () |
virtual void | Write () |
void | Update () override |
virtual void | SetUseCompression (bool _arg) |
virtual const bool & | GetUseCompression () const |
virtual void | UseCompressionOn () |
virtual void | UseCompressionOff () |
MeshFileWriter () | |
~MeshFileWriter () override=default | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
template<typename Output > | |
void | CopyPointsToBuffer (Output *data) |
template<typename Output > | |
void | CopyCellsToBuffer (Output *data) |
template<typename Output > | |
void | CopyPointDataToBuffer (Output *data) |
template<typename Output > | |
void | CopyCellDataToBuffer (Output *data) |
void | WritePoints () |
void | WriteCells () |
void | WritePointData () |
void | WriteCellData () |
Writes mesh data to a single file.
MeshFileWriter writes its input data to a single output file. MeshFileWriter interfaces with an MeshIO class to write out the data.
A pluggable factory pattern is used that allows different kinds of writers to be registered (even at run time) without having to modify the code in this class. You can either manually instantiate the MeshIO object and associate it with the MeshFileWriter, or let the class figure it out from the extension. Normally just setting the filename with a suitable suffix (".vtk", etc) and setting the input to the writer is enough to get the writer to work properly.
Definition at line 52 of file itkMeshFileWriter.h.
using itk::MeshFileWriter< TInputMesh >::ConstPointer = SmartPointer<const Self> |
Definition at line 61 of file itkMeshFileWriter.h.
using itk::MeshFileWriter< TInputMesh >::InputMeshCellType = typename InputMeshType::CellType |
Definition at line 74 of file itkMeshFileWriter.h.
using itk::MeshFileWriter< TInputMesh >::InputMeshPixelType = typename InputMeshType::PixelType |
Definition at line 73 of file itkMeshFileWriter.h.
using itk::MeshFileWriter< TInputMesh >::InputMeshPointer = typename InputMeshType::Pointer |
Definition at line 71 of file itkMeshFileWriter.h.
using itk::MeshFileWriter< TInputMesh >::InputMeshRegionType = typename InputMeshType::RegionType |
Definition at line 72 of file itkMeshFileWriter.h.
using itk::MeshFileWriter< TInputMesh >::InputMeshType = TInputMesh |
Some convenient type alias.
Definition at line 70 of file itkMeshFileWriter.h.
using itk::MeshFileWriter< TInputMesh >::Pointer = SmartPointer<Self> |
Definition at line 60 of file itkMeshFileWriter.h.
using itk::MeshFileWriter< TInputMesh >::Self = MeshFileWriter |
Standard class type aliases.
Definition at line 58 of file itkMeshFileWriter.h.
using itk::MeshFileWriter< TInputMesh >::SizeValueType = typename MeshIOBase::SizeValueType |
Definition at line 75 of file itkMeshFileWriter.h.
using itk::MeshFileWriter< TInputMesh >::Superclass = ProcessObject |
Definition at line 59 of file itkMeshFileWriter.h.
|
protected |
Specify the name of the output file to write.
|
overrideprotecteddefault |
Specify the name of the output file to write.
|
protected |
Specify the name of the output file to write.
|
protected |
Specify the name of the output file to write.
|
protected |
Specify the name of the output file to write.
|
protected |
Specify the name of the output file to write.
|
virtual |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::Object.
|
virtual |
Specify the name of the output file to write.
const InputMeshType* itk::MeshFileWriter< TInputMesh >::GetInput | ( | ) |
const InputMeshType* itk::MeshFileWriter< TInputMesh >::GetInput | ( | unsigned int | idx | ) |
|
virtual |
Specify the name of the output file to write.
|
virtual |
Specify the name of the output file to write.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::ProcessObject.
|
virtual |
Specify the name of the output file to write.
|
static |
Method for creation through the object factory.
|
overrideprotectedvirtual |
Specify the name of the output file to write.
Reimplemented from itk::ProcessObject.
|
virtual |
Specify the name of the output file to write.
|
inline |
Specify the name of the output file to write.
Definition at line 117 of file itkMeshFileWriter.h.
|
inline |
Specify the name of the output file to write.
Definition at line 122 of file itkMeshFileWriter.h.
void itk::MeshFileWriter< TInputMesh >::SetInput | ( | const InputMeshType * | input | ) |
|
inline |
Set/Get the MeshIO helper class. Usually this is created via the object factory mechanism that determines whether a particular MeshIO can write a certain file. This method provides a way to get the MeshIO instance that is created, or one can be manually set where the IO factory mechanism may not work (some mesh files with non-standard filename suffix's. If the user specifies the MeshIO, we assume she makes the correct choice and will allow a file to be created regardless of the file extension. If the factory has set the MeshIO, the extension must be supported by the specified MeshIO.
Definition at line 103 of file itkMeshFileWriter.h.
|
virtual |
Set the compression On or Off
|
inlineoverridevirtual |
Aliased to the Write() method to be consistent with the rest of the pipeline.
Reimplemented from itk::ProcessObject.
Definition at line 136 of file itkMeshFileWriter.h.
|
virtual |
Specify the name of the output file to write.
|
virtual |
Specify the name of the output file to write.
|
virtual |
A special version of the Update() method for writers. It invokes start and end events and handles releasing data. It eventually calls GenerateData() which does the actual writing.
|
protected |
Specify the name of the output file to write.
|
protected |
Specify the name of the output file to write.
|
protected |
Specify the name of the output file to write.
|
protected |
Specify the name of the output file to write.
|
private |
Specify the name of the output file to write.
Definition at line 186 of file itkMeshFileWriter.h.
|
private |
Specify the name of the output file to write.
Definition at line 182 of file itkMeshFileWriter.h.
|
private |
Specify the name of the output file to write.
Definition at line 189 of file itkMeshFileWriter.h.
|
private |
Specify the name of the output file to write.
Definition at line 183 of file itkMeshFileWriter.h.
|
private |
Specify the name of the output file to write.
Definition at line 188 of file itkMeshFileWriter.h.
|
private |
Specify the name of the output file to write.
Definition at line 184 of file itkMeshFileWriter.h.