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
int width
int height
GpuMatPRNG(const int width, const int height)