GDCM
2.4.5
|
This class defines a SURFACE IE writer. It writes surface mesh module attributes. More...
#include <gdcmSurfaceWriter.h>
Public Member Functions | |
SurfaceWriter () | |
virtual | ~SurfaceWriter () |
unsigned long | GetNumberOfSurfaces () |
void | SetNumberOfSurfaces (const unsigned long nb) |
bool | Write () |
Write. More... | |
![]() | |
SegmentWriter () | |
virtual | ~SegmentWriter () |
void | AddSegment (SmartPointer< Segment > segment) |
unsigned int | GetNumberOfSegments () const |
SmartPointer< Segment > | GetSegment (const unsigned int idx=0) const |
const SegmentVector & | GetSegments () const |
SegmentVector & | GetSegments () |
void | SetNumberOfSegments (const unsigned int size) |
void | SetSegments (SegmentVector &segments) |
![]() | |
Writer () | |
virtual | ~Writer () |
void | CheckFileMetaInformationOff () |
void | CheckFileMetaInformationOn () |
File & | GetFile () |
void | SetCheckFileMetaInformation (bool b) |
Undocumented function, do not use (= leave default) More... | |
void | SetFile (const File &f) |
Set/Get the DICOM file (DataSet + Header) More... | |
void | SetFileName (const char *filename_native) |
Set the filename of DICOM file to write: More... | |
void | SetStream (std::ostream &output_stream) |
Set user ostream buffer. More... | |
Protected Member Functions | |
void | ComputeNumberOfSurfaces () |
bool | PrepareWrite () |
bool | PrepareWritePointMacro (SmartPointer< Surface > surface, DataSet &surfaceDS, const TransferSyntax &ts) |
![]() | |
bool | PrepareWrite () |
![]() | |
std::ostream * | GetStreamPtr () const |
void | SetWriteDataSetOnly (bool b) |
Protected Attributes | |
unsigned long | NumberOfSurfaces |
![]() | |
SegmentVector | Segments |
![]() | |
std::ofstream * | Ofstream |
std::ostream * | Stream |
Additional Inherited Members | |
![]() | |
typedef std::vector< SmartPointer< Segment > > | SegmentVector |
This class defines a SURFACE IE writer. It writes surface mesh module attributes.
gdcm::SurfaceWriter::SurfaceWriter | ( | ) |
|
virtual |
|
protected |
unsigned long gdcm::SurfaceWriter::GetNumberOfSurfaces | ( | ) |
|
protected |
|
protected |
void gdcm::SurfaceWriter::SetNumberOfSurfaces | ( | const unsigned long | nb | ) |
|
virtual |
Write.
Reimplemented from gdcm::SegmentWriter.
|
protected |