RTK  2.1.0
Reconstruction Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
rtk::ThreeDCircularProjectionGeometryXMLFileWriter Class Reference

#include <rtkThreeDCircularProjectionGeometryXMLFileWriter.h>

+ Inheritance diagram for rtk::ThreeDCircularProjectionGeometryXMLFileWriter:
+ Collaboration diagram for rtk::ThreeDCircularProjectionGeometryXMLFileWriter:

Public Types

using Pointer = itk::SmartPointer< Self >
using Self = ThreeDCircularProjectionGeometryXMLFileWriter
using Superclass = itk::XMLWriterBase< ThreeDCircularProjectionGeometry >

Public Member Functions

int CanWriteFile (const char *name) override
virtual ::itk::LightObject::Pointer CreateAnother () const
virtual const char * GetNameOfClass () const
int WriteFile () override

Static Public Member Functions

static Pointer New ()

Protected Member Functions

 ThreeDCircularProjectionGeometryXMLFileWriter ()=default
bool WriteGlobalParameter (std::ofstream &output, const std::string &indent, const std::vector< double > &v, const std::string &s, bool convertToDegrees=false, double defval=0.)
void WriteLocalParameter (std::ofstream &output, const std::string &indent, const double &v, const std::string &s)
 ~ThreeDCircularProjectionGeometryXMLFileWriter () override=default

Detailed Description

Writes an XML-format file containing geometry for reconstruction

Simon Rit

Definition at line 41 of file rtkThreeDCircularProjectionGeometryXMLFileWriter.h.

Member Typedef Documentation

◆ Pointer

◆ Self

◆ Superclass

standard type alias

Definition at line 48 of file rtkThreeDCircularProjectionGeometryXMLFileWriter.h.

Constructor & Destructor Documentation

◆ ThreeDCircularProjectionGeometryXMLFileWriter()

rtk::ThreeDCircularProjectionGeometryXMLFileWriter::ThreeDCircularProjectionGeometryXMLFileWriter ( )

◆ ~ThreeDCircularProjectionGeometryXMLFileWriter()

rtk::ThreeDCircularProjectionGeometryXMLFileWriter::~ThreeDCircularProjectionGeometryXMLFileWriter ( )

Member Function Documentation

◆ CanWriteFile()

int rtk::ThreeDCircularProjectionGeometryXMLFileWriter::CanWriteFile ( const char *  name)

Test whether a file is writable.

◆ CreateAnother()

virtual::itk::LightObject::Pointer rtk::ThreeDCircularProjectionGeometryXMLFileWriter::CreateAnother ( ) const

Reimplemented from itk::LightProcessObject.

◆ GetNameOfClass()

virtual const char* rtk::ThreeDCircularProjectionGeometryXMLFileWriter::GetNameOfClass ( ) const

Run-time type information (and related methods).

Reimplemented from itk::LightProcessObject.

◆ New()

static Pointer rtk::ThreeDCircularProjectionGeometryXMLFileWriter::New ( )

Method for creation through the object factory.

◆ WriteFile()

int rtk::ThreeDCircularProjectionGeometryXMLFileWriter::WriteFile ( )

Actually write out the file in question

◆ WriteGlobalParameter()

bool rtk::ThreeDCircularProjectionGeometryXMLFileWriter::WriteGlobalParameter ( std::ofstream &  output,
const std::string &  indent,
const std::vector< double > &  v,
const std::string &  s,
bool  convertToDegrees = false,
double  defval = 0. 

If all values are equal in v, write first value (if not 0.) in output file with parameter value s and return true. Return false otherwise.

◆ WriteLocalParameter()

void rtk::ThreeDCircularProjectionGeometryXMLFileWriter::WriteLocalParameter ( std::ofstream &  output,
const std::string &  indent,
const double &  v,
const std::string &  s 

Write projection specific parameter with name s.

The documentation for this class was generated from the following file: