This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <vtkCellData.h> | |
#include <vtkSmartPointer.h> | |
#include <vtkUniformGrid.h> | |
#include <vtkUnsignedIntArray.h> | |
#include <vtkXMLImageDataWriter.h> | |
int main(int, char *[]) { | |
// Create a grid | |
vtkSmartPointer<vtkUniformGrid> uniformGrid = | |
vtkSmartPointer<vtkUniformGrid>::New(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <vtkCellData.h> | |
#include <vtkSmartPointer.h> | |
#include <vtkStructuredGrid.h> | |
#include <vtkUnsignedIntArray.h> | |
#include <vtkXMLStructuredGridWriter.h> | |
void Grid3D() { | |
// Create a grid | |
vtkSmartPointer<vtkStructuredGrid> structuredGrid = | |
vtkSmartPointer<vtkStructuredGrid>::New(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <opencv2/opencv.hpp> | |
#include <algorithm> | |
#include <unordered_map> | |
#include <set> | |
#include <vector> | |
const int WIDTH = 512; | |
const int HEIGHT = 512; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <opencv2/ml/ml.hpp> | |
#include <opencv2/core/core.hpp> | |
#include <opencv2/highgui/highgui.hpp> | |
#include <opencv2/imgproc.hpp> | |
int main(int, char**) | |
{ | |
// Data for visual representation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <opencv2/ml/ml.hpp> | |
#include <opencv2/core/core.hpp> | |
#include <opencv2/highgui/highgui.hpp> | |
#include <opencv2/imgproc.hpp> | |
int main(int, char**) | |
{ | |
// Data for visual representation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
original | |
------------ | |
/usr/include/c++/6.1.1 | |
/usr/include/c++/6.1.1/x86_64-pc-linux-gnu | |
/usr/include/c++/6.1.1/backward | |
/usr/lib/gcc/x86_64-pc-linux-gnu/6.1.1/include | |
/usr/local/include | |
/usr/lib/gcc/x86_64-pc-linux-gnu/6.1.1/include-fixed | |
/usr/include |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <boost/graph/graph_traits.hpp> | |
#include <boost/graph/adjacency_list.hpp> | |
typedef boost::property<boost::edge_weight_t, double> EdgeWeightProperty; | |
/* | |
adjacency_list<OutEdgeList, VertexList, Directed, | |
VertexProperties, EdgeProperties, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "AbstractPoint.h" | |
//BOOST_CLASS_EXPORT_IMPLEMENT(AbstractPoint) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "AbstractPoint.h" | |
BOOST_CLASS_EXPORT_IMPLEMENT(AbstractPoint) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef ABSTRACT_POINT_H | |
#define ABSTRACT_POINT_H | |
#include <boost/serialization/export.hpp> | |
class AbstractPoint | |
{ | |
public: | |
virtual ~AbstractPoint(){} | |
virtual void DoSomething() = 0; |
NewerOlder