ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
gpu_mat_prng.h
Go to the documentation of this file.
1 // ----------------------------------------------------------------------------
2 // - CloudViewer: www.cloudViewer.org -
3 // ----------------------------------------------------------------------------
4 // Copyright (c) 2018-2024 www.cloudViewer.org
5 // SPDX-License-Identifier: MIT
6 // ----------------------------------------------------------------------------
7 
8 #pragma once
9 
10 #include "mvs/gpu_mat.h"
11 
12 namespace colmap {
13 namespace mvs {
14 
15 class GpuMatPRNG : public GpuMat<curandState> {
16 public:
17  GpuMatPRNG(const int width, const int height);
18 
19 private:
20  void InitRandomState();
21 };
22 
23 } // namespace mvs
24 } // namespace colmap
colmap::mvs::GpuMatPRNG
Definition: gpu_mat_prng.h:15
colmap::mvs::GpuMatPRNG::GpuMatPRNG
GpuMatPRNG(const int width, const int height)
gpu_mat.h
width
int width
Definition: FileIOFactory.cpp:142
height
int height
Definition: FileIOFactory.cpp:143
colmap::mvs::GpuMat
Definition: gpu_mat.h:30
colmap
Definition: AutomaticReconstructionController.h:17