RTK  1.4.0
Reconstruction Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private 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

typedef itk::SmartPointer< SelfPointer
typedef ThreeDCircularProjectionGeometryXMLFileWriter Self
typedef itk::XMLWriterBase< ThreeDCircularProjectionGeometrySuperclass

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 ()
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 ()

Private Member Functions

void operator= (const Self &)
 ThreeDCircularProjectionGeometryXMLFileWriter (const Self &)

Detailed Description

Writes an XML-format file containing geometry for reconstruction

Simon Rit

Definition at line 41 of file rtkThreeDCircularProjectionGeometryXMLFileWriter.h.

Member Typedef Documentation

standard typedefs

Definition at line 46 of file rtkThreeDCircularProjectionGeometryXMLFileWriter.h.

Constructor & Destructor Documentation

rtk::ThreeDCircularProjectionGeometryXMLFileWriter::ThreeDCircularProjectionGeometryXMLFileWriter ( )
rtk::ThreeDCircularProjectionGeometryXMLFileWriter::~ThreeDCircularProjectionGeometryXMLFileWriter ( )
rtk::ThreeDCircularProjectionGeometryXMLFileWriter::ThreeDCircularProjectionGeometryXMLFileWriter ( const Self )

Member Function Documentation

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

Test whether a file is writable.

virtual::itk::LightObject::Pointer rtk::ThreeDCircularProjectionGeometryXMLFileWriter::CreateAnother ( ) const
virtual const char* rtk::ThreeDCircularProjectionGeometryXMLFileWriter::GetNameOfClass ( ) const

Run-time type information (and related methods).

Reimplemented from itk::LightProcessObject.

static Pointer rtk::ThreeDCircularProjectionGeometryXMLFileWriter::New ( )

Method for creation through the object factory.

void rtk::ThreeDCircularProjectionGeometryXMLFileWriter::operator= ( const Self )
int rtk::ThreeDCircularProjectionGeometryXMLFileWriter::WriteFile ( )

Actually write out the file in question

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.

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: