ug4
connection_viewer_output.h File Reference
#include <iostream>
#include <fstream>
#include <vector>
#include <string>
#include <limits>
#include "common/progress.h"
#include "pcl/pcl.h"
#include "pcl/parallel_archive.h"

Go to the source code of this file.

Namespaces

 ug
 the ug namespace
 
 ug::ConnectionViewer
 

Macros

#define CONNECTION_VIEWER_VERSION   1
 

Functions

bool ug::ConnectionViewer::AddMarkers (std::string filename, std::string markfilename)
 
std::string ug::ConnectionViewer::GetParallelName (std::string name)
 
std::string ug::ConnectionViewer::GetParallelName (std::string name, const pcl::ProcessCommunicator &pc, bool bWriteHeader=true)
 
template<typename T >
std::string ug::ConnectionViewer::GetParallelName (T &t, std::string name)
 
template<typename TPosition >
bool ug::ConnectionViewer::WriteGridHeader (std::ostream &f, const TPosition &positions, int dimension)
 
template<typename TPosition >
bool ug::ConnectionViewer::WriteGridHeader (std::ostream &f, const TPosition &positions, size_t N, int dimension)
 
bool ug::ConnectionViewer::WriteMarkers (std::string markfilename, std::vector< bool > markers, float r, float g, float b, float alpha, int size)
 
template<typename Matrix_type , typename postype >
void ug::ConnectionViewer::WriteMatrix (std::ostream &file, const Matrix_type &A, postype *positions, int dimensions)
 writes to a file in somewhat SparseMatrix-market format (for connection viewer) More...
 
template<typename Matrix_type , typename postype >
bool ug::ConnectionViewer::WriteMatrix (std::string filename, const Matrix_type &A, const std::vector< postype > &positionsFrom, const std::vector< postype > &positionsTo, size_t dimensions)
 
template<typename Matrix_type , typename postype >
void ug::ConnectionViewer::WriteMatrix (std::string filename, const Matrix_type &A, postype *positions, int dimensions)
 
template<typename Matrix_type , typename postype >
bool ug::ConnectionViewer::WriteMatrixPar (std::string filename, const Matrix_type &A, const std::vector< postype > &positionsFrom, const std::vector< postype > &positionsTo, size_t dimensions)
 
template<typename Matrix_type , typename postype >
void ug::ConnectionViewer::WriteMatrixPar (std::string name, const Matrix_type &A, const postype *positions, int dimensions)
 
template<typename Matrix_type , typename Vector_type , typename postype >
void ug::ConnectionViewer::WriteVector (std::string filename, const Matrix_type &A, const Vector_type &v, postype *positions, int dimensions, const Vector_type *compareVec=NULL)
 
template<typename Vector_type , typename postype >
void ug::ConnectionViewer::WriteVector (std::string filename, const Vector_type &b, const postype *positions, int dimensions, const Vector_type *compareVec=NULL)
 writes to a file in somewhat SparseMatrix-market format (for connection viewer) More...
 
template<typename Matrix_type , typename Vector_type , typename postype >
void ug::ConnectionViewer::WriteVectorPar (std::string filename, const Matrix_type &A, const Vector_type &v, postype *positions, int dimensions, const Vector_type *compareVec=NULL)
 
template<typename Vector_type , typename postype >
void ug::ConnectionViewer::WriteVectorPar (std::string filename, const Vector_type &b, const postype *positions, int dimensions, const Vector_type *compareVec=NULL)
 

Macro Definition Documentation

◆ CONNECTION_VIEWER_VERSION

#define CONNECTION_VIEWER_VERSION   1