33 #ifndef __H__UG_file_io_swc
34 #define __H__UG_file_io_swc
78 const std::vector<swc_types::SWCPoint>&
swc_points()
const;
79 std::vector<swc_types::SWCPoint>&
swc_points();
82 std::vector<swc_types::SWCPoint>
m_vPts;
A generic specialization of IAttachment.
Definition: attachment_pipe.h:263
Definition: file_io_swc.h:67
bool create_grid(Grid &g, ISubsetHandler *pSH, number scale_length=1.0)
Definition: file_io_swc.cpp:158
bool load_file(const char *fileName)
Definition: file_io_swc.cpp:52
FileReaderSWC()
Definition: file_io_swc.h:72
swc_types::SWCPoint SWCPoint
Definition: file_io_swc.h:69
std::vector< swc_types::SWCPoint > m_vPts
Definition: file_io_swc.h:82
const std::vector< swc_types::SWCPoint > & swc_points() const
Definition: file_io_swc.cpp:221
~FileReaderSWC()
Definition: file_io_swc.h:73
Definition: file_io_swc.h:88
~FileWriterSWC()
Definition: file_io_swc.h:91
bool export_grid_to_file(Grid &grid, ISubsetHandler *pSH, const char *filename)
FileWriterSWC()
Definition: file_io_swc.h:90
Manages the elements of a grid and their interconnection.
Definition: grid.h:132
Definition: subset_handler_interface.h:223
double number
Definition: types.h:124
swc_type
Definition: file_io_swc.h:45
@ SWC_SOMA
Definition: file_io_swc.h:47
@ SWC_FORK
Definition: file_io_swc.h:51
@ SWC_APIC
Definition: file_io_swc.h:50
@ SWC_END
Definition: file_io_swc.h:52
@ SWC_UNDF
Definition: file_io_swc.h:46
@ SWC_AXON
Definition: file_io_swc.h:48
@ SWC_DEND
Definition: file_io_swc.h:49
@ SWC_CUSTOM
Definition: file_io_swc.h:53
bool ExportGridToSWC(Grid &g, ISubsetHandler *pSH, const char *fileName, AVector3 &aPos)
Definition: file_io_swc.cpp:244
bool LoadGridFromSWC(Grid &g, ISubsetHandler *pSH, const char *fileName, AVector3 &aPos)
Definition: file_io_swc.cpp:235
APosition aPosition("position", true)
The standard 3d position type.
Definition: common_attachments.h:84
Definition: file_io_swc.h:57
number radius
Definition: file_io_swc.h:59
swc_type type
Definition: file_io_swc.h:60
vector3 coords
Definition: file_io_swc.h:58
std::vector< size_t > conns
Definition: file_io_swc.h:61