42 std::vector<UbTupleInt4> &cells)
51 if (path.size() > 0) {
127 std::vector<UbTupleInt8> &cells)
136 if (path.size() > 0) {
231 if (path.size() > 0) {
330 out.write((
char *)&
fdummy,
sizeof(
float));
333 out.write((
char *)&
fdummy,
sizeof(
float));
363 if (path.size() > 0) {
369 "write_OutputFile-UCD File " +
avsfilename +
" konnte nicht geschrieben werden");
465 out.write((
char *)&
fdummy,
sizeof(
float));
468 out.write((
char *)&
fdummy,
sizeof(
float));
500 if (path.size() > 0) {
506 "write_OutputFile-UCD File " +
avsfilename +
" konnte nicht geschrieben werden");
601 out.write((
char *)&
fdummy,
sizeof(
float));
604 out.write((
char *)&
fdummy,
sizeof(
float));
647 out.write((
char *)&
fdummy,
sizeof(
float));
650 out.write((
char *)&
fdummy,
sizeof(
float));
679 if (path.size() > 0) {
690 out <<
"# UCD-File created by WbWriterAvsASCII\n";
715 if (path.size() > 0) {
726 out <<
"# UCD-File created by WbWriterAvsASCII\n";
733 out <<
l + 1 <<
" 2 tri " <<
val<1>(triangles[
l]) + 1 <<
" " <<
val<2>(triangles[
l]) + 1 <<
" "
743 std::vector<UbTupleInt3> &cells,
744 std::vector<std::string> &datanames,
745 std::vector<std::vector<double>> &
nodedata)
754 if (path.size() > 0) {
760 "write_OutputFile-UCD File " +
avsfilename +
" konnte nicht geschrieben werden");
852 out.write((
char *)&
fdummy,
sizeof(
float));
855 out.write((
char *)&
fdummy,
sizeof(
float));
886 if (path.size() > 0) {
994 out.write((
char *)&
fdummy,
sizeof(
float));
997 out.write((
char *)&
fdummy,
sizeof(
float));
1027 if (path.size() > 0) {
1037 if (nodes.size() !=
nodedata[0].size())
1075 out.write((
char *)&
idummy,
sizeof(
int));
1077 out.write((
char *)&
idummy,
sizeof(
int));
1079 out.write((
char *)&
idummy,
sizeof(
int));
1081 out.write((
char *)&
idummy,
sizeof(
int));
1083 out.write((
char *)&
idummy,
sizeof(
int));
1085 out.write((
char *)&
idummy,
sizeof(
int));
1087 out.write((
char *)&
idummy,
sizeof(
int));
1089 out.write((
char *)&
idummy,
sizeof(
int));
1130 out.write((
char *)&
idummy,
sizeof(
int));
1134 out.write((
char *)&
idummy,
sizeof(
int));
1139 out.write((
char *)&
fdummy,
sizeof(
float));
1142 out.write((
char *)&
fdummy,
sizeof(
float));
std::string getFileExtension() override
std::shared_ptr< T > SPtr
#define UBLOG(level, logtext)
std::string writeTrianglesWithNodeData(const std::string &filename, std::vector< UbTupleFloat3 > &nodes, std::vector< UbTupleInt3 > &cells, std::vector< std::string > &datanames, std::vector< std::vector< double > > &nodedata) override
std::string writeOctsWithNodeData(const std::string &filename, std::vector< UbTupleFloat3 > &nodes, std::vector< UbTupleUInt8 > &cells, std::vector< std::string > &datanames, std::vector< std::vector< double > > &nodedata) override
std::string writeQuads(const std::string &filename, std::vector< UbTupleFloat3 > &nodes, std::vector< UbTupleInt4 > &cells) override
std::string writeQuadsWithNodeData(const std::string &filename, std::vector< UbTupleFloat3 > &nodes, std::vector< UbTupleInt4 > &cells, std::vector< std::string > &datanames, std::vector< std::vector< double > > &nodedata) override
std::string writeQuadsWithCellData(const std::string &filename, std::vector< UbTupleFloat3 > &nodes, std::vector< UbTupleInt4 > &cells, std::vector< std::string > &datanames, std::vector< std::vector< double > > &celldata) override
std::string writeOctsWithCellData(const std::string &filename, std::vector< UbTupleFloat3 > &nodes, std::vector< UbTupleInt8 > &cells, std::vector< std::string > &datanames, std::vector< std::vector< double > > &celldata) override
std::string writeOcts(const std::string &filename, std::vector< UbTupleFloat3 > &nodes, std::vector< UbTupleInt8 > &cells) override
std::string writeQuadsWithNodeAndCellData(const std::string &filename, std::vector< UbTupleFloat3 > &nodes, std::vector< UbTupleInt4 > &cells, std::vector< std::string > &nodedatanames, std::vector< std::vector< double > > &nodedata, std::vector< std::string > &celldatanames, std::vector< std::vector< double > > &celldata) override
std::string writeTriangles(const std::string &filename, std::vector< UbTupleFloat3 > &nodes, std::vector< UbTuple< int, int, int > > &triangles) override
std::string writeLines(const std::string &filename, std::vector< UbTupleFloat3 > &nodes, std::vector< UbTupleInt2 > &lines) override
bool makeDirectory(const std::string &dir)
std::string getPathFromString(const std::string &fileStringWithPath)