VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtSplashPrecompute.h
Go to the documentation of this file.
1 /*****************************************************************************
2 * Copyright (c) 2021 MAK Technologies, Inc.
3 * All rights reserved.
4 *****************************************************************************/
5 
6 #pragma once
7 
11 
14 
15 #include <vrvMath/DtVector4.h>
16 
17 #include <tbb/blocked_range2d.h>
18 
19 namespace makVrv
20 {
23  {
24  public:
26  DtSplashPrecompute(DtVector4<unsigned int> precomputedSplash[][PRECOMPUTED_DIM], float radius);
27 
29  DtSplashPrecompute() = delete;
30 
32 
35 
37  void operator()(const tbb::blocked_range2d<size_t>& blockRange) const;
38  private:
39  DtVector4<unsigned int> (*myPrecomputedSplash)[PRECOMPUTED_DIM];
40  float myRadius;
41  };
42 
43 }
DtSplashPrecompute & operator=(const DtSplashPrecompute &)=delete
Default copy constructor for TBB.
DtSplashPrecompute()=delete
private default constructor. not allowed.
4 dimensional vector
float myRadius
Definition: DtSplashPrecompute.h:40
void operator()(const tbb::blocked_range2d< size_t > &blockRange) const
operator for a range of splashes
Contains DLL export macros.
#define PRECOMPUTED_DIM
Definition: DtWaterOnScreenDefines.h:42
For calculating the wave splashes on screen.
Definition: DtSplashPrecompute.h:22

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)