VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
snowStruct.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 1992-2025 MAK Technologies, Inc.
3  * All rights reserved.
4  ****************************************************************************/
5 
6 #pragma once
7 
8 #include <matrix/vlVector.h>
10 #include <vlpi/metocEnums.h>
11 #include <vlpi/entityType.h>
12 #include <vlpi/entityIdentifier.h>
13 #include <vlutil/vlMachineTypes.h>
14 #include <vlutil/vlString.h>
15 
16 #include <vector>
17 
18 
20 
23 {
24 public:
25  DtSnowStruct();
26  ~DtSnowStruct();
27  DtSnowStruct(const DtSnowStruct& orig);
28  DtSnowStruct(const DtNetSnowStruct& orig);
29  DtSnowStruct& operator=(const DtSnowStruct& orig);
30  DtSnowStruct& operator=(const DtNetSnowStruct& orig);
31 
32  bool operator==(const DtSnowStruct& other) const;
33  bool operator!=(const DtSnowStruct& other) const;
34 
35  virtual void setDepth(const DtFloat32& val);
36  virtual const DtFloat32& depth() const;
37  virtual void setDensity(const DtFloat32& val);
38  virtual const DtFloat32& density() const;
39 
40  int netSize() const;
41  static int octetBoundary();
42  unsigned int getPaddingSize(unsigned long long byteOffset, unsigned int boundary) const;
43 
44  void writeToBuffer( char* buffer ) const;
45  void fillFromBuffer( const char* buffer, int bufferSize, int offset );
46 
47  virtual void printData() const;
48  virtual void printDataToStream(std::ostream &) const;
49 
50 protected:
51 
54 };
55 
56 DT_DLL_VL std::ostream& operator<<(std::ostream& stream, const DtSnowStruct&);
57 
58 
Contains the DtEntityIdentifier class declaration.
const bool operator==(const DtU128 &lhs, const DtU128 &rhs)
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
Contains the DtString class declaration.
Contains the DtEntityType and DtRadioEntityType class declarations.
std::ostream & operator<<(std::ostream &os, const Dt3dChord &chord)
Definition: snowStruct.h:22
DtFloat32 myDensity
Definition: snowStruct.h:53
This file contains typedefs used to represent objects in a protocol neutral way.
Definition: netStructs.h:403
This file declares DtVector and DtVector32.
DtFloat32 myDepth
Definition: snowStruct.h:52
const bool operator!=(const DtU128 &lhs, const DtU128 &rhs)
This file contains typedefs for machine dependant types.

Document ID: Generated on Thu Oct 16 00:12:25 EDT 2025 from SVN revision 280738
Copyright © 1992-2025 MAK Technologies. All Rights Reserved (www.mak.com)