Home | History | Annotate | Download | only in vtk

Lines Matching full:outfile

84     std::ostream& outfile = *outfilep;
87 outfile << "# wavefront obj file written by opencv viz module" << std::endl << std::endl;
88 outfile << "mtllib NONE" << std::endl << std::endl;
95 outfile << std::setprecision(this->DecimalPrecision) << "v " << p[0] << " " << p[1] << " " << p[2] << std::endl;
108 outfile << std::setprecision(this->DecimalPrecision) << "vn " << p[0] << " " << p[1] << " " << p[2] << std::endl;
119 outfile << std::setprecision(this->DecimalPrecision) << "vt " << p[0] << " " << p[1] << std::endl;
124 outfile << std::endl << "g grp" << idStart << std::endl;
125 outfile << "usemtl mtlNONE" << std::endl;
134 outfile << "p ";
136 outfile << index[i] + idStart << " ";
137 outfile << std::endl;
148 outfile << "l ";
152 outfile << index[i] + idStart << "/" << index[i] + idStart << " ";
156 outfile << index[i] + idStart << " ";
158 outfile << std::endl;
169 outfile << "f ";
175 outfile << index[i] + idStart << "/" << index[i] + idStart << "/" << index[i] + idStart << " ";
177 outfile << index[i] + idStart << "//" << index[i] + idStart << " ";
182 outfile << index[i] + idStart << " " << index[i] + idStart << " ";
184 outfile << index[i] + idStart << " ";
187 outfile << std::endl;
215 outfile << "f " << index[i1] + idStart << "/" << index[i1] + idStart << "/" << index[i1] + idStart << " "
221 outfile << "f " << index[i1] + idStart << "//" << index[i1] + idStart << " " << index[i2] + idStart
229 outfile << "f " << index[i1] + idStart << "/" << index[i1] + idStart << " " << index[i2] + idStart
233 outfile << "f " << index[i1] + idStart << " " << index[i2] + idStart << " " << index[i] + idStart << std::endl;