Tesseract 0.28.4
Loading...
Searching...
No Matches
ply_io.h File Reference

Writing ply files. More...

#include <vector>
#include <tesseract/common/eigen_types.h>

Namespaces

namespace  tesseract::common
 Namespace owning boost's hash_is_avalanching, and defined iff boost has the trait at all.
 

Functions

bool tesseract::common::writeSimplePlyFile (const std::string &path, const tesseract::common::VectorVector3d &vertices, const std::vector< Eigen::Vector3i > &vectices_color, const Eigen::VectorXi &faces, int num_faces)
 Write a simple ply file given vertices and faces.
 
bool tesseract::common::writeSimplePlyFile (const std::string &path, const tesseract::common::VectorVector3d &vertices, const Eigen::VectorXi &faces, int num_faces)
 Write a simple ply file given vertices and faces.
 
int tesseract::common::loadSimplePlyFile (const std::string &path, tesseract::common::VectorVector3d &vertices, Eigen::VectorXi &faces, bool triangles_only=false)
 Loads a simple ply file given a path.
 

Detailed Description

Writing ply files.

Author
Levi Armstrong
Date
Dec 18, 2017
License
Software License Agreement (Apache License)
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.