ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
VtkUtils.h File Reference
#include <vtkImageData.h>
#include <vtkPolyData.h>
#include <vtkSmartPointer.h>
#include <string>
#include <unordered_set>
#include "cloudViewer/t/geometry/Geometry.h"
#include "cloudViewer/t/geometry/LineSet.h"
#include "cloudViewer/t/geometry/PointCloud.h"
#include "cloudViewer/t/geometry/TriangleMesh.h"
Include dependency graph for VtkUtils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 cloudViewer
 Generic file read and write utility for python interface.
 
 cloudViewer::t
 
 cloudViewer::t::geometry
 
 cloudViewer::t::geometry::vtkutils
 

Functions

int cloudViewer::t::geometry::vtkutils::DtypeToVtkType (const core::Dtype &dtype)
 
CLOUDVIEWER_LOCAL vtkSmartPointer< vtkImageData > cloudViewer::t::geometry::vtkutils::CreateVtkImageDataFromTensor (core::Tensor &tensor, bool copy)
 
vtkSmartPointer< vtkPolyData > cloudViewer::t::geometry::vtkutils::CreateVtkPolyDataFromGeometry (const Geometry &geometry, const std::unordered_set< std::string > &point_attr_include, const std::unordered_set< std::string > &face_attr_include, const std::unordered_set< std::string > &point_attr_exclude, const std::unordered_set< std::string > &face_attr_exclude, bool copy)
 
TriangleMesh cloudViewer::t::geometry::vtkutils::CreateTriangleMeshFromVtkPolyData (vtkPolyData *polydata, bool copy)
 
CLOUDVIEWER_LOCAL LineSet cloudViewer::t::geometry::vtkutils::CreateLineSetFromVtkPolyData (vtkPolyData *polydata, bool copy)
 
CLOUDVIEWER_LOCAL TriangleMesh cloudViewer::t::geometry::vtkutils::ExtrudeRotationTriangleMesh (const Geometry &geometry, const double angle, const core::Tensor &axis, int resolution, double translation, bool capping)
 
CLOUDVIEWER_LOCAL LineSet cloudViewer::t::geometry::vtkutils::ExtrudeRotationLineSet (const PointCloud &pointcloud, const double angle, const core::Tensor &axis, int resolution, double translation, bool capping)
 
CLOUDVIEWER_LOCAL TriangleMesh cloudViewer::t::geometry::vtkutils::ExtrudeLinearTriangleMesh (const Geometry &geometry, const core::Tensor &vector, double scale, bool capping)
 
CLOUDVIEWER_LOCAL LineSet cloudViewer::t::geometry::vtkutils::ExtrudeLinearLineSet (const PointCloud &pointcloud, const core::Tensor &vector, double scale, bool capping)
 
CLOUDVIEWER_LOCAL TriangleMesh cloudViewer::t::geometry::vtkutils::ComputeNormals (const TriangleMesh &mesh, bool vertex_normals, bool face_normals, bool consistency, bool auto_orient_normals, bool splitting, double feature_angle_deg)