83 const std::vector< c_vector<double, DIM> >& second,
84 const std::vector< c_vector<double, DIM> >& third)
86 assert(fibres.size() == second.size());
87 assert(second.size() == third.size());
89 out_stream p_file = OpenFileAndWriteHeader(this->mBaseName +
".ortho", fibres.size());
92 for (
unsigned i=0; i<fibres.size();i++ )
94 if (this->mFileIsBinary)
97 p_file->write((
char*)&fibres[i][0], DIM*
sizeof(
double));
98 p_file->write((
char*)&second[i][0], DIM*
sizeof(
double));
99 p_file->write((
char*)&third[i][0], DIM*
sizeof(
double));
104 for (
unsigned j=0; j<DIM; j++)
106 *p_file << fibres[i][j] <<
"\t";
108 for (
unsigned j=0; j<DIM; j++)
110 *p_file << second[i][j] <<
"\t";
112 for (
unsigned j=0; j<DIM; j++)
114 *p_file << third[i][j] <<
"\t";
void WriteAllOrtho(const std::vector< c_vector< double, DIM > > &fibres, const std::vector< c_vector< double, DIM > > &second, const std::vector< c_vector< double, DIM > > &third)