ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
cloudViewer Namespace Reference

Generic file read and write utility for python interface. More...

Namespaces

 benchmarks
 
 camera
 
 core
 
 data
 
 geometry
 
 gpu
 
 io
 
 ml
 
 pipelines
 
 ply_lineset_reader
 
 ply_pointcloud_reader
 
 ply_trianglemesh_reader
 
 ply_voxelgrid_reader
 
 system
 
 t
 
 utility
 
 visualization
 
 visualizer
 

Classes

class  AutoSegmentationTools
 
class  BoundingBoxTpl
 Bounding box structure. More...
 
class  ChamferDistanceTransform
 Class to compute a Chamfer distance field on a 3D grid. More...
 
class  CloudSamplingTools
 Several point cloud resampling algorithms (octree-based, random, etc.) More...
 
class  ConjugateGradient
 A class to perform a conjugate gradient optimization. More...
 
class  KDTree
 
class  CCMiscTools
 Miscellaneous useful functions (geometrical elements handling) More...
 
class  PointCloud
 
class  CVToolbox
 Empty class - for classification purpose only. More...
 
class  Delaunay2dMesh
 A class to compute and handle a Delaunay 2D mesh on a subset of points. More...
 
class  DgmOctree
 The octree structure used throughout the library. More...
 
class  DgmOctreeReferenceCloud
 A kind of ReferenceCloud based on the DgmOctree::NeighboursSet structure. More...
 
class  DistanceComputationTools
 
class  ErrorFunction
 A class to compute the Error function (erf) More...
 
class  FastMarching
 Fast Marching algorithm (front propagation) More...
 
class  FastMarchingForPropagation
 Fast Marching algorithm for surface front propagation. More...
 
class  GenericCloud
 
class  GenericDistribution
 A generic class to handle a probability distribution. More...
 
class  GenericIndexedCloud
 A generic 3D point cloud with index-based point access. More...
 
class  GenericIndexedCloudPersist
 A generic 3D point cloud with index-based and presistent access to points. More...
 
struct  VerticesIndexes
 Triangle described by the indexes of its 3 vertices. More...
 
class  GenericIndexedMesh
 A generic mesh with index-based vertex access. More...
 
class  GenericMesh
 
class  GenericOctree
 
class  GenericProgressCallback
 
class  NormalizedProgress
 
class  GenericTriangle
 A generic triangle interface. More...
 
class  GeometricalAnalysisTools
 
class  Grid3D
 Simple 3D grid structure. More...
 
class  LocalModel
 Local modelization (generic interface) More...
 
class  ManualSegmentationTools
 Manual segmentation algorithms (inside/outside a polyline, etc.) More...
 
class  MathTools
 Empty class - for classification purpose only. More...
 
class  MeshSamplingTools
 Mesh sampling algorithms. More...
 
class  Neighbourhood
 
class  NormalDistribution
 The Normal/Gaussian statistical distribution. More...
 
class  OrientedBoundingBox
 A bounding box oriented along an arbitrary frame of reference. More...
 
class  PointCloudTpl
 
class  PointProjectionTools
 
class  Polyline
 A simple polyline class. More...
 
class  ReferenceCloud
 A very simple point cloud (no point duplication) More...
 
class  RegistrationTools
 Common point cloud registration algorithms. More...
 
class  HornRegistrationTools
 Horn point cloud registration algorithm. More...
 
class  ICPRegistrationTools
 ICP point cloud registration algorithm (Besl et al.). More...
 
class  FPCSRegistrationTools
 
class  SaitoSquaredDistanceTransform
 
class  ScalarField
 A simple scalar field (to be associated to a point cloud) More...
 
struct  KMeanClass
 A K-mean class position and boundaries. More...
 
class  ScalarFieldTools
 Several scalar field treatment algorithms (gradient, classification, etc.) More...
 
class  SimpleMesh
 A simple mesh structure, with index-based vertex access. More...
 
class  SimpleRefTriangle
 A simple triangle class. More...
 
class  SimpleTriangle
 A simple triangle class. More...
 
class  SquareMatrixTpl
 Square matrix. More...
 
class  StaticVector
 
class  StatisticalTestingTools
 
class  TrueKdTree
 Proper KD-tree implementation. More...
 
struct  uni_elt
 
class  Universe
 Allows to perform labelling by creating node and connecting them. More...
 
class  WeibullDistribution
 The Weibull statistical parametric distribution. More...
 
struct  TriangleList
 List of triangles (indexes) More...
 
struct  OctreeAndMeshIntersection
 
class  AutomaticReconstructionWidget
 
class  BundleAdjustmentWidget
 
class  AutomaticReconstructionController
 
class  ViewInterpolate
 The ViewInterpolate class. More...
 
class  TwoViewInfoTab
 
class  MatchesTab
 
class  TwoViewGeometriesTab
 
class  OverlappingImagesWidget
 
class  CameraTab
 
class  ImageTab
 
class  DatabaseManagementWidget
 
class  DenseReconstructionOptionsWidget
 
class  DenseReconstructionWidget
 
class  ExtractionWidget
 
class  SIFTExtractionWidget
 
class  ImportFeaturesWidget
 
class  FeatureExtractionWidget
 
class  FeatureMatchingTab
 
class  ExhaustiveMatchingTab
 
class  SequentialMatchingTab
 
class  VocabTreeMatchingTab
 
class  SpatialMatchingTab
 
class  TransitiveMatchingTab
 
class  CustomMatchingTab
 
class  FeatureMatchingWidget
 
class  ImageViewerGraphicsScene
 
class  ImageViewerWidget
 
class  FeatureImageViewerWidget
 
class  DatabaseImageViewerWidget
 
class  StandardOutputRedirector
 
class  LogWidget
 
class  MatchMatrixWidget
 
class  ModelViewerWidget
 
class  MovieGrabberWidget
 
class  PointViewerWidget
 
class  ProjectWidget
 
class  ReconstructionManagerWidget
 
class  MapperGeneralOptionsWidget
 
class  MapperTriangulationOptionsWidget
 
class  MapperRegistrationOptionsWidget
 
class  MapperInitializationOptionsWidget
 
class  MapperBundleAdjustmentOptionsWidget
 
class  MapperFilteringOptionsWidget
 
class  ReconstructionOptionsWidget
 
class  ReconstructionStatsWidget
 
class  ReconstructionWidget
 
class  RenderOptionsWidget
 
class  ThreadControlWidget
 
class  UndistortionWidget
 
class  AlignmentSession
 
class  VisualizerForAlignment
 
class  OptionsParser
 

Typedefs

using ReferenceCloudContainer = std::vector< ReferenceCloud * >
 A standard container to store several subsets of points. More...
 
using BoundingBox = BoundingBoxTpl< PointCoordinateType >
 Default bounding-box type. More...
 
using SquareMatrix = SquareMatrixTpl< PointCoordinateType >
 Default CC square matrix type (PointCoordinateType) More...
 
using SquareMatrixf = SquareMatrixTpl< float >
 Float square matrix type. More...
 
using SquareMatrixd = SquareMatrixTpl< double >
 Double square matrix type. More...
 
using StaticVectorBool = StaticVector< char >
 
using BundleAdjustmentController = colmap::BundleAdjustmentController
 
using OptionManager = colmap::OptionManager
 
using PointColormapBase = colmap::PointColormapBase
 
using ImageColormapBase = colmap::ImageColormapBase
 
using RenderOptions = colmap::RenderOptions
 
using IncrementalMapperController = colmap::IncrementalMapperController
 
using IncrementalMapperOptions = colmap::IncrementalMapperOptions
 
using ImageColormapNameFilter = colmap::ImageColormapNameFilter
 

Enumerations

enum  TRIANGULATION_TYPES { DELAUNAY_2D_AXIS_ALIGNED , DELAUNAY_2D_BEST_LS_PLANE = 2 }
 Triangulation types. More...
 

Functions

void PrintCloudViewerVersion ()
 
std::string GetCloudViewerVersion ()
 
std::string GetBuildInfo ()
 
std::string GetCloudViewerBuildInfo ()
 
bool LessThanEpsilon (float x)
 Test a floating point number against our epsilon (a very small number). More...
 
bool LessThanEpsilon (double x)
 Test a floating point number against our epsilon (a very small number). More...
 
bool GreaterThanEpsilon (float x)
 Test a floating point number against our epsilon (a very small number). More...
 
bool GreaterThanEpsilon (double x)
 Test a floating point number against our epsilon (a very small number). More...
 
bool GreaterThanSquareEpsilon (double x)
 
bool LessThanSquareEpsilon (double x)
 
float RadiansToDegrees (int radians)
 Convert radians to degrees. More...
 
float RadiansToDegrees (float radians)
 Convert radians to degrees. More...
 
double RadiansToDegrees (double radians)
 Convert radians to degrees. More...
 
float DegreesToRadians (int degrees)
 Convert degrees to radians. More...
 
float DegreesToRadians (float degrees)
 Convert degrees to radians. More...
 
double DegreesToRadians (double degrees)
 Convert degrees to radians. More...
 
template<class T >
int sizeOfStaticVector (const StaticVector< T > *a)
 
template<class T >
int sizeOfStaticVector (const StaticVector< T > &a)
 
template<class T >
int indexOf (T *arr, int n, const T &what)
 
template<class T >
void saveArrayOfArraysToFile (std::string fileName, StaticVector< StaticVector< T > * > *aa)
 
template<class T >
void saveArrayOfArraysToFile (const std::string fileName, StaticVector< StaticVector< T >> &aa)
 
template<class T >
StaticVector< StaticVector< T > * > * loadArrayOfArraysFromFile (const std::string &fileName)
 
template<class T >
void loadArrayOfArraysFromFile (StaticVector< StaticVector< T >> &out_aa, const std::string &fileName)
 
template<class T >
void saveArrayToFile (const std::string &fileName, const StaticVector< T > &a, bool docompress=true)
 
template<class T >
void saveArrayToFile (const std::string &fileName, const StaticVector< T > *a, bool docompress=true)
 
template<class T >
StaticVector< T > * loadArrayFromFile (const std::string &fileName, bool printfWarning=false)
 
template<class T >
bool loadArrayFromFile (StaticVector< T > &out, const std::string &fileName, bool printfWarning=false)
 
template<class T >
void loadArrayFromFileIntoArray (StaticVector< T > *a, const std::string &fileName, bool printfWarning=false)
 
int getArrayLengthFromFile (std::string fileName)
 
template<class T >
void deleteArrayOfArrays (StaticVector< StaticVector< T > * > **aa)
 
template<class T >
void deleteArrayOfArrays (StaticVector< StaticVector< T > * > &aa)
 
template<class T >
StaticVector< StaticVector< T > * > * cloneArrayOfArrays (StaticVector< StaticVector< T > * > *inAOA)
 
template<class T >
InterpolateNumber (T start, T end, double interpolationFraction)
 
template<typename scalar_t , typename T >
CLOUDVIEWER_HOST_DEVICE bool IsClose (const scalar_t &x, const T &y, const double rtol=1e-4)
 
template<typename scalar_t >
CLOUDVIEWER_HOST_DEVICE scalar_t Square (const scalar_t &x)
 
int GraphicalUserInterface (const std::string &database_path, const std::string &image_path, const std::string &import_path)
 
int GenerateProject (const std::string &output_path, const std::string &quality)
 
int CleanDatabase (const std::string &database_path, const std::string &clean_type)
 
int CreateDatabase (const std::string &database_path)
 
int MergeDatabase (const std::string &database_path1, const std::string &database_path2, const std::string &merged_database_path)
 
int ExtractFeature (const std::string &database_path, const std::string &image_path, const std::string &image_list_path, int camera_mode, const colmap::ImageReaderOptions &image_reader_options, const colmap::SiftExtractionOptions &sift_extraction_options)
 
int ImportFeature (const std::string &database_path, const std::string &image_path, const std::string &import_path, const std::string &image_list_path, int camera_mode, const colmap::ImageReaderOptions &image_reader_options, const colmap::SiftExtractionOptions &sift_extraction_options)
 
int ImportMatches (const std::string &database_path, const std::string &match_list_path, const std::string &match_type, const colmap::SiftMatchingOptions &sift_matching_options)
 
int ExhaustiveMatch (const std::string &database_path, const colmap::SiftMatchingOptions &sift_matching_options, const colmap::ExhaustiveMatchingOptions &exhaustive_matching_options)
 
int SequentialMatch (const std::string &database_path, const colmap::SiftMatchingOptions &sift_matching_options, const colmap::SequentialMatchingOptions &sequential_matching_options)
 
int SpatialMatch (const std::string &database_path, const colmap::SiftMatchingOptions &sift_matching_options, const colmap::SpatialMatchingOptions &spatial_matching_options)
 
int TransitiveMatch (const std::string &database_path, const colmap::SiftMatchingOptions &sift_matching_options, const colmap::TransitiveMatchingOptions &transitive_matching_options)
 
int VocabTreeMatch (const std::string &database_path, const colmap::SiftMatchingOptions &sift_matching_options, const colmap::VocabTreeMatchingOptions &vocab_tree_matching_options)
 
int DeleteImage (const std::string &input_path, const std::string &output_path, const std::string &image_ids_path, const std::string &image_names_path)
 
int FilterImage (const std::string &input_path, const std::string &output_path, double min_focal_length_ratio, double max_focal_length_ratio, double max_extra_param, std::size_t min_num_observations)
 
int RectifyImage (const std::string &image_path, const std::string &input_path, const std::string &output_path, const std::string &stereo_pairs_list, double blank_pixels, double min_scale, double max_scale, int max_image_size)
 
int RegisterImage (const std::string &database_path, const std::string &input_path, const std::string &output_path, const colmap::IncrementalMapperOptions &incremental_mapper_options)
 
int UndistortImage (const std::string &image_path, const std::string &input_path, const std::string &output_path, const std::string &image_list_path, const std::string &output_type, const std::string &copy_policy, int num_patch_match_src_images, double blank_pixels, double min_scale, double max_scale, int max_image_size, double roi_min_x, double roi_min_y, double roi_max_x, double roi_max_y)
 
int UndistortImageStandalone (const std::string &image_path, const std::string &input_file, const std::string &output_path, double blank_pixels, double min_scale, double max_scale, int max_image_size, double roi_min_x, double roi_min_y, double roi_max_x, double roi_max_y)
 
int AlignModel (const std::string &input_path, const std::string &output_path, const std::string &database_path, const std::string &ref_images_path, const std::string &transform_path, const std::string &alignment_type, double max_error, int min_common_images, bool robust_alignment, bool estimate_scale)
 
int AnalyzeModel (const std::string &input_path)
 
int CompareModel (const std::string &input_path1, const std::string &input_path2, const std::string &output_path, double min_inlier_observations, double max_reproj_error)
 
int ConvertModel (const std::string &input_path, const std::string &output_path, const std::string &output_type, bool skip_distortion)
 
int CropModel (const std::string &input_path, const std::string &output_path, const std::string &boundary, const std::string &gps_transform_path)
 
int MergeModel (const std::string &input_path1, const std::string &input_path2, const std::string &output_path, double max_reproj_error)
 
int AlignModelOrientation (const std::string &image_path, const std::string &input_path, const std::string &output_path, std::string method, int max_image_size)
 
int SplitModel (const std::string &input_path, const std::string &output_path, const std::string &split_type, const std::string &split_params, const std::string &gps_transform_path, std::size_t min_reg_images, std::size_t min_num_points, double overlap_ratio, double min_area_ratio, int num_threads)
 
int TransformModel (const std::string &input_path, const std::string &output_path, const std::string &transform_path, bool is_inverse)
 
int MeshDelaunay (const std::string &input_path, const std::string &output_path, const std::string &input_type, const colmap::mvs::DelaunayMeshingOptions &delaunay_meshing_options)
 
int StereoPatchMatch (const std::string &workspace_path, const std::string &config_path, const std::string &workspace_format, const std::string &pmvs_option_name, const colmap::mvs::PatchMatchOptions &patch_match_options)
 
int MeshPoisson (const std::string &input_path, const std::string &output_path, const colmap::mvs::PoissonMeshingOptions &poisson_meshing_options)
 
int StereoFuse (const std::string &workspace_path, const std::string &output_path, const std::string &bbox_path, const std::string &stereo_input_type, const std::string &output_type, const std::string &workspace_format, const std::string &pmvs_option_name, const colmap::mvs::StereoFusionOptions &stereo_fusion_options)
 
int AutomaticReconstruct (const std::string &workspace_path, const std::string &image_path, const std::string &mask_path, const std::string &vocab_tree_path, const std::string &data_type, const std::string &quality, const std::string &mesher, const std::string &camera_model, bool single_camera, bool sparse, bool dense, int num_threads, bool use_gpu, const std::string &gpu_index)
 
int BundleAdjustment (const std::string &input_path, const std::string &output_path, const colmap::BundleAdjustmentOptions &bundle_adjustment_options)
 
int ExtractColor (const std::string &image_path, const std::string &input_path, const std::string &output_path)
 
int NormalMapper (const std::string &database_path, const std::string &image_path, const std::string &input_path, const std::string &output_path, const std::string &image_list_path, const colmap::IncrementalMapperOptions &incremental_mapper_options)
 
int HierarchicalMapper (const std::string &database_path, const std::string &image_path, const std::string &output_path, int num_workers, int image_overlap, int leaf_max_num_images, const colmap::IncrementalMapperOptions &incremental_mapper_options)
 
int FilterPoints (const std::string &input_path, const std::string &output_path, std::size_t min_track_len, double max_reproj_error, double min_tri_angle)
 
int TriangulatePoints (const std::string &database_path, const std::string &image_path, const std::string &input_path, const std::string &output_path, bool clear_points, const colmap::IncrementalMapperOptions &incremental_mapper_options)
 
int RigBundleAdjust (const std::string &input_path, const std::string &output_path, const std::string &rig_config_path, bool estimate_rig_relative_poses, bool refine_relative_poses, const colmap::BundleAdjustmentOptions &bundle_adjustment_options)
 
int BuildVocabTree (const std::string &database_path, const std::string &vocab_tree_path, int num_visual_words, int num_checks, int branching, int num_iterations, int max_num_images)
 
int RetrieveVocabTree (const std::string &database_path, const std::string &vocab_tree_path, const std::string &output_index_path, const std::string &query_image_list_path, const std::string &database_image_list_path, int max_num_images, int num_neighbors, int num_checks, int num_images_after_verification, int max_num_features)
 

Variables

static const std::string CLOUDVIEWER_VERSION_STR = "3.9.4"
 
static const std::string CLOUDVIEWER_GIT_COMMIT_ID = "5f3adc85c"
 
static const std::string CLOUDVIEWER_GIT_COMMIT_DATE = "2026-02-02"
 
static const double c_erfRelativeError = 1e-12
 Relative error for Error Function computation. More...
 
const int c_FastMarchingNeighbourPosShift []
 Grid neighboring cells positions. More...
 

Detailed Description

Generic file read and write utility for python interface.

Gives static access to file loader and writer

Typedef Documentation

◆ BoundingBox

Default bounding-box type.

Definition at line 304 of file BoundingBox.h.

◆ BundleAdjustmentController

◆ ImageColormapBase

◆ ImageColormapNameFilter

◆ IncrementalMapperController

◆ IncrementalMapperOptions

◆ OptionManager

◆ PointColormapBase

◆ ReferenceCloudContainer

A standard container to store several subsets of points.

Several algorithms of the AutoSegmentationTools toolbox return a collection of subsets of points corresponding to each segmented part. Such a collection is generally stored in this type of container.

Definition at line 28 of file AutoSegmentationTools.h.

◆ RenderOptions

◆ SquareMatrix

Default CC square matrix type (PointCoordinateType)

Definition at line 1020 of file SquareMatrix.h.

◆ SquareMatrixd

Double square matrix type.

Definition at line 1026 of file SquareMatrix.h.

◆ SquareMatrixf

Float square matrix type.

Definition at line 1023 of file SquareMatrix.h.

◆ StaticVectorBool

Definition at line 145 of file StaticVector.h.

Enumeration Type Documentation

◆ TRIANGULATION_TYPES

Triangulation types.

Enumerator
DELAUNAY_2D_AXIS_ALIGNED 

Delaunay 2D triangulation in an axis-aligned plane

DELAUNAY_2D_BEST_LS_PLANE 

Delaunay 2D with points projected on the best least square fitting plane

Definition at line 22 of file PointProjectionTools.h.

Function Documentation

◆ AlignModel()

int cloudViewer::AlignModel ( const std::string &  input_path,
const std::string &  output_path,
const std::string &  database_path,
const std::string &  ref_images_path,
const std::string &  transform_path,
const std::string &  alignment_type,
double  max_error,
int  min_common_images,
bool  robust_alignment,
bool  estimate_scale 
)

◆ AlignModelOrientation()

int cloudViewer::AlignModelOrientation ( const std::string &  image_path,
const std::string &  input_path,
const std::string &  output_path,
std::string  method,
int  max_image_size 
)

◆ AnalyzeModel()

◆ AutomaticReconstruct()

int cloudViewer::AutomaticReconstruct ( const std::string &  workspace_path,
const std::string &  image_path,
const std::string &  mask_path,
const std::string &  vocab_tree_path,
const std::string &  data_type,
const std::string &  quality,
const std::string &  mesher,
const std::string &  camera_model,
bool  single_camera,
bool  sparse,
bool  dense,
int  num_threads,
bool  use_gpu,
const std::string &  gpu_index 
)

◆ BuildVocabTree()

int cloudViewer::BuildVocabTree ( const std::string &  database_path,
const std::string &  vocab_tree_path,
int  num_visual_words,
int  num_checks,
int  branching,
int  num_iterations,
int  max_num_images 
)

◆ BundleAdjustment()

int cloudViewer::BundleAdjustment ( const std::string &  input_path,
const std::string &  output_path,
const colmap::BundleAdjustmentOptions bundle_adjustment_options 
)

◆ CleanDatabase()

int cloudViewer::CleanDatabase ( const std::string &  database_path,
const std::string &  clean_type 
)

◆ cloneArrayOfArrays()

template<class T >
StaticVector<StaticVector<T>*>* cloudViewer::cloneArrayOfArrays ( StaticVector< StaticVector< T > * > *  inAOA)

◆ CompareModel()

int cloudViewer::CompareModel ( const std::string &  input_path1,
const std::string &  input_path2,
const std::string &  output_path,
double  min_inlier_observations,
double  max_reproj_error 
)

◆ ConvertModel()

int cloudViewer::ConvertModel ( const std::string &  input_path,
const std::string &  output_path,
const std::string &  output_type,
bool  skip_distortion 
)

◆ CreateDatabase()

◆ CropModel()

int cloudViewer::CropModel ( const std::string &  input_path,
const std::string &  output_path,
const std::string &  boundary,
const std::string &  gps_transform_path 
)

◆ DegreesToRadians() [1/3]

double cloudViewer::DegreesToRadians ( double  degrees)
inline

Convert degrees to radians.

Parameters
degreesDegrees to convert
Returns
degrees represented as radians.

Definition at line 116 of file CVMath.h.

References M_PI.

◆ DegreesToRadians() [2/3]

float cloudViewer::DegreesToRadians ( float  degrees)
inline

Convert degrees to radians.

Parameters
degreesDegrees to convert
Returns
degrees represented as radians.

Definition at line 107 of file CVMath.h.

References M_PI.

◆ DegreesToRadians() [3/3]

float cloudViewer::DegreesToRadians ( int  degrees)
inline

Convert degrees to radians.

Parameters
degreesDegrees to convert
Returns
degrees represented as radians.

Definition at line 98 of file CVMath.h.

References M_PI.

Referenced by PdmsTools::PdmsCommands::Orientation::axisFromCoords(), ecvDisplayTools::ComputeActualPixelSize(), ecvViewportParameters::computeDistanceToHalfWidthRatio(), ccPointCloud::computeNormalsWithGrids(), ecvDisplayTools::ComputePerspectiveZoom(), ConvertAngleToRad(), ccNormalVectors::ConvertDipAndDipDirToNormal(), ecvPrimitiveFactoryDlg::createPrimitive(), define_CCMath(), cloudViewer::PointProjectionTools::developCloudOnCone(), ccPolyline::drawMeOnly(), ccKdTreeForFacetExtraction::FuseCells(), ccRasterizeTool::generateHillshade(), PCLModules::GetBoundaryCloud(), PCLModules::GetGreedyTriangulation(), qHoughNormalsDialog::getParameters(), PdmsTools::PdmsCommands::NumericalValue::getValue(), ccCompass::importFoliations(), ccCompassImport::importFoliations(), ccCompass::importLineations(), ccCompassImport::importLineations(), StereogramWidget::init(), QVTKWidgetCustom::mouseMoveEvent(), ccApplyTransformationDlg::onEulerValueChanged(), ccApplyTransformationDlg::onRotAngleValueChanged(), StereogramWidget::paintEvent(), ecvGenericDisplayTools::Perspective(), ecvDisplayTools::SetCameraFovy(), ecvDisplayTools::SetPerspectiveState(), ecvDisplayTools::SetupProjectiveViewport(), ecvDisplayTools::SetViewportParameters(), ccPointCloud::triangulateGrid(), ccPointCloud::unroll(), ccApplyTransformationDlg::updateAll(), ccCamSensorProjectionDlg::updateCamSensor(), ccGBLSensorProjectionDlg::updateGBLSensor(), and ccPlaneEditDlg::updatePlane().

◆ deleteArrayOfArrays() [1/2]

template<class T >
void cloudViewer::deleteArrayOfArrays ( StaticVector< StaticVector< T > * > &  aa)

Definition at line 703 of file StaticVector.h.

◆ deleteArrayOfArrays() [2/2]

template<class T >
void cloudViewer::deleteArrayOfArrays ( StaticVector< StaticVector< T > * > **  aa)

Definition at line 692 of file StaticVector.h.

◆ DeleteImage()

int cloudViewer::DeleteImage ( const std::string &  input_path,
const std::string &  output_path,
const std::string &  image_ids_path,
const std::string &  image_names_path 
)

◆ ExhaustiveMatch()

◆ ExtractColor()

int cloudViewer::ExtractColor ( const std::string &  image_path,
const std::string &  input_path,
const std::string &  output_path 
)

◆ ExtractFeature()

int cloudViewer::ExtractFeature ( const std::string &  database_path,
const std::string &  image_path,
const std::string &  image_list_path,
int  camera_mode,
const colmap::ImageReaderOptions image_reader_options,
const colmap::SiftExtractionOptions sift_extraction_options 
)

◆ FilterImage()

int cloudViewer::FilterImage ( const std::string &  input_path,
const std::string &  output_path,
double  min_focal_length_ratio,
double  max_focal_length_ratio,
double  max_extra_param,
std::size_t  min_num_observations 
)

◆ FilterPoints()

int cloudViewer::FilterPoints ( const std::string &  input_path,
const std::string &  output_path,
std::size_t  min_track_len,
double  max_reproj_error,
double  min_tri_angle 
)

◆ GenerateProject()

int cloudViewer::GenerateProject ( const std::string &  output_path,
const std::string &  quality 
)

◆ getArrayLengthFromFile()

int cloudViewer::getArrayLengthFromFile ( std::string  fileName)

Definition at line 14 of file StaticVector.cpp.

References CVLog::Warning().

◆ GetBuildInfo()

std::string cloudViewer::GetBuildInfo ( )

◆ GetCloudViewerBuildInfo()

std::string cloudViewer::GetCloudViewerBuildInfo ( )

Definition at line 30 of file CloudViewerConfig.cpp.

References GetBuildInfo(), and GetCloudViewerVersion().

◆ GetCloudViewerVersion()

std::string cloudViewer::GetCloudViewerVersion ( )

Definition at line 18 of file CloudViewerConfig.cpp.

References CLOUDVIEWER_VERSION.

Referenced by GetCloudViewerBuildInfo().

◆ GraphicalUserInterface()

int cloudViewer::GraphicalUserInterface ( const std::string &  database_path,
const std::string &  image_path,
const std::string &  import_path 
)

◆ GreaterThanEpsilon() [1/2]

bool cloudViewer::GreaterThanEpsilon ( double  x)
inline

Test a floating point number against our epsilon (a very small number).

Parameters
xThe number to test
Returns
True if the number is greater than epsilon.

Definition at line 44 of file CVMath.h.

References x, and ZERO_TOLERANCE_D.

◆ GreaterThanEpsilon() [2/2]

◆ GreaterThanSquareEpsilon()

bool cloudViewer::GreaterThanSquareEpsilon ( double  x)
inline

Test a (squared) floating point number against our epsilon (a very small number).

Parameters
xThe number to test
Returns
True if the number is greater than epsilon.

Definition at line 52 of file CVMath.h.

References x, and ZERO_SQUARED_TOLERANCE_D.

Referenced by cloudViewer::Grid3D< Type >::intersectWith().

◆ HierarchicalMapper()

int cloudViewer::HierarchicalMapper ( const std::string &  database_path,
const std::string &  image_path,
const std::string &  output_path,
int  num_workers,
int  image_overlap,
int  leaf_max_num_images,
const colmap::IncrementalMapperOptions incremental_mapper_options 
)

◆ ImportFeature()

int cloudViewer::ImportFeature ( const std::string &  database_path,
const std::string &  image_path,
const std::string &  import_path,
const std::string &  image_list_path,
int  camera_mode,
const colmap::ImageReaderOptions image_reader_options,
const colmap::SiftExtractionOptions sift_extraction_options 
)

◆ ImportMatches()

int cloudViewer::ImportMatches ( const std::string &  database_path,
const std::string &  match_list_path,
const std::string &  match_type,
const colmap::SiftMatchingOptions sift_matching_options 
)

◆ indexOf()

template<class T >
int cloudViewer::indexOf ( T *  arr,
int  n,
const T &  what 
)

◆ InterpolateNumber()

template<class T >
T cloudViewer::InterpolateNumber ( start,
end,
double  interpolationFraction 
)

Definition at line 46 of file ViewInterpolate.cpp.

Referenced by cloudViewer::ViewInterpolate::interpolate().

◆ IsClose()

template<typename scalar_t , typename T >
CLOUDVIEWER_HOST_DEVICE bool cloudViewer::IsClose ( const scalar_t &  x,
const T &  y,
const double  rtol = 1e-4 
)

Definition at line 49 of file GeometryMacros.h.

References x, and y.

◆ LessThanEpsilon() [1/2]

bool cloudViewer::LessThanEpsilon ( double  x)
inline

Test a floating point number against our epsilon (a very small number).

Parameters
xThe number to test
Returns
True if the number is less than epsilon.

Definition at line 30 of file CVMath.h.

References x, and ZERO_TOLERANCE_D.

◆ LessThanEpsilon() [2/2]

bool cloudViewer::LessThanEpsilon ( float  x)
inline

Test a floating point number against our epsilon (a very small number).

Parameters
xThe number to test
Returns
True if the number is less than epsilon.

Definition at line 23 of file CVMath.h.

References x, and ZERO_TOLERANCE_F.

Referenced by ccPointPairRegistrationDlg::addAlignedPoint(), ccPointPairRegistrationDlg::addReferencePoint(), ccScalarFieldArithmeticsDlg::Apply(), ccCameraSensor::applyViewport(), ccCone::buildUp(), ccDisc::buildUp(), ccPlane::buildUp(), ccTorus::buildUp(), ccPolyline::ccPolyline(), cloudViewer::DistanceComputationTools::computeCloud2PlaneDistanceRMS(), cloudViewer::DistanceComputationTools::computeCloud2PlaneEquation(), cloudViewer::DistanceComputationTools::ComputeCloud2PlaneMaxDistance(), cloudViewer::DistanceComputationTools::ComputeCloud2PlaneRobustMax(), cloudViewer::Neighbourhood::computeLeastSquareBestFittingPlane(), ecvDisplayTools::ComputePerspectiveZoom(), vtk2cc::ConvertToPolyline(), ccCropTool::Crop(), define_CCMath(), cloudViewer::WeibullDistribution::FindGRoot(), ccCameraSensor::fromImageCoordToGlobalCoord(), ccGLMatrixTpl< T >::FromToRotation(), ccRasterizeTool::generateImage(), GetConeProfile(), cvContourTool::getOutput(), qAnimationDlg::onAutoStepsDurationToggled(), qAnimationDlg::onTotalTimeChanged(), CommandCrossSection::process(), cloudViewer::ICPRegistrationTools::Register(), cloudViewer::RegistrationTools::RegistrationProcedure(), cloudViewer::MeshSamplingTools::samplePointsOnMesh(), ccPointCloud::SegmentPlane(), ecvDisplayTools::SetFov(), ccPointCloud::setRGBColorByHeight(), ccRenderingTools::ShowDepthBuffer(), ccMesh::subdivide(), PdmsTools::PdmsObjects::Dish::surface(), ccPointCloud::Translate(), ccGenericMesh::trianglePicking(), cloudViewer::Neighbourhood::triangulateOnPlane(), and ecvDisplayTools::UpdateConstellationCenterAndZoom().

◆ LessThanSquareEpsilon()

bool cloudViewer::LessThanSquareEpsilon ( double  x)
inline

Test a (squared) floating point number against our epsilon (a very small number).

Parameters
xThe (squared) number to test
Returns
True if the number is less than epsilon.

Definition at line 62 of file CVMath.h.

References x, and ZERO_SQUARED_TOLERANCE_D.

◆ loadArrayFromFile() [1/2]

template<class T >
StaticVector<T>* cloudViewer::loadArrayFromFile ( const std::string &  fileName,
bool  printfWarning = false 
)

Definition at line 468 of file StaticVector.h.

References a, CVLog::Error(), NULL, and CVLog::PrintDebug().

◆ loadArrayFromFile() [2/2]

template<class T >
bool cloudViewer::loadArrayFromFile ( StaticVector< T > &  out,
const std::string &  fileName,
bool  printfWarning = false 
)

Definition at line 555 of file StaticVector.h.

◆ loadArrayFromFileIntoArray()

template<class T >
void cloudViewer::loadArrayFromFileIntoArray ( StaticVector< T > *  a,
const std::string &  fileName,
bool  printfWarning = false 
)

Definition at line 628 of file StaticVector.h.

References a, CVLog::Error(), and CVLog::PrintDebug().

◆ loadArrayOfArraysFromFile() [1/2]

template<class T >
StaticVector<StaticVector<T>*>* cloudViewer::loadArrayOfArraysFromFile ( const std::string &  fileName)

◆ loadArrayOfArraysFromFile() [2/2]

template<class T >
void cloudViewer::loadArrayOfArraysFromFile ( StaticVector< StaticVector< T >> &  out_aa,
const std::string &  fileName 
)

Definition at line 268 of file StaticVector.h.

References a, CVLog::Error(), and CVLog::PrintDebug().

◆ MergeDatabase()

int cloudViewer::MergeDatabase ( const std::string &  database_path1,
const std::string &  database_path2,
const std::string &  merged_database_path 
)

◆ MergeModel()

int cloudViewer::MergeModel ( const std::string &  input_path1,
const std::string &  input_path2,
const std::string &  output_path,
double  max_reproj_error 
)

◆ MeshDelaunay()

int cloudViewer::MeshDelaunay ( const std::string &  input_path,
const std::string &  output_path,
const std::string &  input_type,
const colmap::mvs::DelaunayMeshingOptions delaunay_meshing_options 
)

◆ MeshPoisson()

int cloudViewer::MeshPoisson ( const std::string &  input_path,
const std::string &  output_path,
const colmap::mvs::PoissonMeshingOptions poisson_meshing_options 
)

◆ NormalMapper()

int cloudViewer::NormalMapper ( const std::string &  database_path,
const std::string &  image_path,
const std::string &  input_path,
const std::string &  output_path,
const std::string &  image_list_path,
const colmap::IncrementalMapperOptions incremental_mapper_options 
)

◆ PrintCloudViewerVersion()

void cloudViewer::PrintCloudViewerVersion ( )

Definition at line 14 of file CloudViewerConfig.cpp.

References CLOUDVIEWER_VERSION, and LogInfo.

Referenced by PrintHelp().

◆ RadiansToDegrees() [1/3]

double cloudViewer::RadiansToDegrees ( double  radians)
inline

Convert radians to degrees.

Parameters
radiansRadians to convert
Returns
radians represented as degrees.

Definition at line 89 of file CVMath.h.

References M_PI.

◆ RadiansToDegrees() [2/3]

float cloudViewer::RadiansToDegrees ( float  radians)
inline

Convert radians to degrees.

Parameters
radiansRadians to convert
Returns
radians represented as degrees.

Definition at line 80 of file CVMath.h.

References M_PI.

◆ RadiansToDegrees() [3/3]

◆ RectifyImage()

int cloudViewer::RectifyImage ( const std::string &  image_path,
const std::string &  input_path,
const std::string &  output_path,
const std::string &  stereo_pairs_list,
double  blank_pixels,
double  min_scale,
double  max_scale,
int  max_image_size 
)

◆ RegisterImage()

int cloudViewer::RegisterImage ( const std::string &  database_path,
const std::string &  input_path,
const std::string &  output_path,
const colmap::IncrementalMapperOptions incremental_mapper_options 
)

◆ RetrieveVocabTree()

int cloudViewer::RetrieveVocabTree ( const std::string &  database_path,
const std::string &  vocab_tree_path,
const std::string &  output_index_path,
const std::string &  query_image_list_path,
const std::string &  database_image_list_path,
int  max_num_images,
int  num_neighbors,
int  num_checks,
int  num_images_after_verification,
int  max_num_features 
)

◆ RigBundleAdjust()

int cloudViewer::RigBundleAdjust ( const std::string &  input_path,
const std::string &  output_path,
const std::string &  rig_config_path,
bool  estimate_rig_relative_poses,
bool  refine_relative_poses,
const colmap::BundleAdjustmentOptions bundle_adjustment_options 
)

◆ saveArrayOfArraysToFile() [1/2]

template<class T >
void cloudViewer::saveArrayOfArraysToFile ( const std::string  fileName,
StaticVector< StaticVector< T >> &  aa 
)

Definition at line 198 of file StaticVector.h.

References a, and CVLog::PrintDebug().

◆ saveArrayOfArraysToFile() [2/2]

template<class T >
void cloudViewer::saveArrayOfArraysToFile ( std::string  fileName,
StaticVector< StaticVector< T > * > *  aa 
)

Definition at line 175 of file StaticVector.h.

References a, NULL, and CVLog::PrintDebug().

◆ saveArrayToFile() [1/2]

template<class T >
void cloudViewer::saveArrayToFile ( const std::string &  fileName,
const StaticVector< T > &  a,
bool  docompress = true 
)

Definition at line 312 of file StaticVector.h.

References a.

◆ saveArrayToFile() [2/2]

template<class T >
void cloudViewer::saveArrayToFile ( const std::string &  fileName,
const StaticVector< T > *  a,
bool  docompress = true 
)

◆ SequentialMatch()

◆ sizeOfStaticVector() [1/2]

template<class T >
int cloudViewer::sizeOfStaticVector ( const StaticVector< T > &  a)

Definition at line 154 of file StaticVector.h.

References a.

◆ sizeOfStaticVector() [2/2]

template<class T >
int cloudViewer::sizeOfStaticVector ( const StaticVector< T > *  a)

Definition at line 148 of file StaticVector.h.

References a.

◆ SpatialMatch()

◆ SplitModel()

int cloudViewer::SplitModel ( const std::string &  input_path,
const std::string &  output_path,
const std::string &  split_type,
const std::string &  split_params,
const std::string &  gps_transform_path,
std::size_t  min_reg_images,
std::size_t  min_num_points,
double  overlap_ratio,
double  min_area_ratio,
int  num_threads 
)

◆ Square()

template<typename scalar_t >
CLOUDVIEWER_HOST_DEVICE scalar_t cloudViewer::Square ( const scalar_t &  x)

Definition at line 56 of file GeometryMacros.h.

References x.

◆ StereoFuse()

int cloudViewer::StereoFuse ( const std::string &  workspace_path,
const std::string &  output_path,
const std::string &  bbox_path,
const std::string &  stereo_input_type,
const std::string &  output_type,
const std::string &  workspace_format,
const std::string &  pmvs_option_name,
const colmap::mvs::StereoFusionOptions stereo_fusion_options 
)

◆ StereoPatchMatch()

int cloudViewer::StereoPatchMatch ( const std::string &  workspace_path,
const std::string &  config_path,
const std::string &  workspace_format,
const std::string &  pmvs_option_name,
const colmap::mvs::PatchMatchOptions patch_match_options 
)

◆ TransformModel()

int cloudViewer::TransformModel ( const std::string &  input_path,
const std::string &  output_path,
const std::string &  transform_path,
bool  is_inverse 
)

◆ TransitiveMatch()

◆ TriangulatePoints()

int cloudViewer::TriangulatePoints ( const std::string &  database_path,
const std::string &  image_path,
const std::string &  input_path,
const std::string &  output_path,
bool  clear_points,
const colmap::IncrementalMapperOptions incremental_mapper_options 
)

◆ UndistortImage()

int cloudViewer::UndistortImage ( const std::string &  image_path,
const std::string &  input_path,
const std::string &  output_path,
const std::string &  image_list_path,
const std::string &  output_type,
const std::string &  copy_policy,
int  num_patch_match_src_images,
double  blank_pixels,
double  min_scale,
double  max_scale,
int  max_image_size,
double  roi_min_x,
double  roi_min_y,
double  roi_max_x,
double  roi_max_y 
)

◆ UndistortImageStandalone()

int cloudViewer::UndistortImageStandalone ( const std::string &  image_path,
const std::string &  input_file,
const std::string &  output_path,
double  blank_pixels,
double  min_scale,
double  max_scale,
int  max_image_size,
double  roi_min_x,
double  roi_min_y,
double  roi_max_x,
double  roi_max_y 
)

◆ VocabTreeMatch()

Variable Documentation

◆ c_erfRelativeError

const double cloudViewer::c_erfRelativeError = 1e-12
static

Relative error for Error Function computation.

You can adjust it to trade off between accuracy and speed but don't ask for more than 15 figures (assuming usual 52 bit mantissa in a double). Example: 1E-12 <--> calculate 12 significant figures

Definition at line 21 of file ErrorFunction.h.

Referenced by define_ErrorFunction(), and cloudViewer::ErrorFunction::erfc().

◆ c_FastMarchingNeighbourPosShift

const int cloudViewer::c_FastMarchingNeighbourPosShift[]
Initial value:
= {
0, -1, 0, 1, 0, 0, 0, 1, 0, -1, 0, 0, 0, 0, -1, 0, 0, 1,
-1, -1, -1, -1, -1, 0, -1, -1, 1, -1, 0, -1, -1, 0, 1, -1, 1, -1, -1, 1,
0, -1, 1, 1, 0, -1, -1, 0, -1, 1, 0, 1, -1, 0, 1, 1, 1, -1, -1, 1, -1,
0, 1, -1, 1, 1, 0, -1, 1, 0, 1, 1, 1, -1, 1, 1, 0, 1, 1, 1}

Grid neighboring cells positions.

Definition at line 29 of file FastMarching.h.

Referenced by cloudViewer::FastMarching::computeT(), define_FastMarching(), and cloudViewer::FastMarching::initOther().

◆ CLOUDVIEWER_GIT_COMMIT_DATE

const std::string cloudViewer::CLOUDVIEWER_GIT_COMMIT_DATE = "2026-02-02"
static

Definition at line 28 of file CloudViewerConfig.h.

Referenced by GetBuildInfo().

◆ CLOUDVIEWER_GIT_COMMIT_ID

const std::string cloudViewer::CLOUDVIEWER_GIT_COMMIT_ID = "5f3adc85c"
static

Definition at line 27 of file CloudViewerConfig.h.

Referenced by GetBuildInfo().

◆ CLOUDVIEWER_VERSION_STR

const std::string cloudViewer::CLOUDVIEWER_VERSION_STR = "3.9.4"
static

Definition at line 26 of file CloudViewerConfig.h.