Privacy
An open-source, flexible 3D physical simulation framework
mars::interfaces::terrainStruct Struct Reference

terrainStruct is a struct to exchange height maps between the GUI and the simulation More...

#include <terrainStruct.h>

Public Member Functions

 terrainStruct ()
 

Public Attributes

std::string name
 
std::string srcname
 
MaterialData material
 
int width
 
int height
 
double targetWidth
 
double targetHeight
 
double scale
 
double texScaleX
 
double texScaleY
 
double * pixelData
 
int mesh
 

Detailed Description

terrainStruct is a struct to exchange height maps between the GUI and the simulation

Definition at line 34 of file terrainStruct.h.

Constructor & Destructor Documentation

◆ terrainStruct()

mars::interfaces::terrainStruct::terrainStruct ( )
inline

Definition at line 35 of file terrainStruct.h.

Member Data Documentation

◆ height

int mars::interfaces::terrainStruct::height

Definition at line 48 of file terrainStruct.h.

◆ material

MaterialData mars::interfaces::terrainStruct::material

Definition at line 46 of file terrainStruct.h.

◆ mesh

int mars::interfaces::terrainStruct::mesh

Definition at line 54 of file terrainStruct.h.

◆ name

std::string mars::interfaces::terrainStruct::name

Definition at line 44 of file terrainStruct.h.

◆ pixelData

double* mars::interfaces::terrainStruct::pixelData

Definition at line 53 of file terrainStruct.h.

◆ scale

double mars::interfaces::terrainStruct::scale

Definition at line 51 of file terrainStruct.h.

◆ srcname

std::string mars::interfaces::terrainStruct::srcname

Definition at line 45 of file terrainStruct.h.

◆ targetHeight

double mars::interfaces::terrainStruct::targetHeight

Definition at line 50 of file terrainStruct.h.

◆ targetWidth

double mars::interfaces::terrainStruct::targetWidth

Definition at line 49 of file terrainStruct.h.

◆ texScaleX

double mars::interfaces::terrainStruct::texScaleX

Definition at line 52 of file terrainStruct.h.

◆ texScaleY

double mars::interfaces::terrainStruct::texScaleY

Definition at line 52 of file terrainStruct.h.

◆ width

int mars::interfaces::terrainStruct::width

Definition at line 47 of file terrainStruct.h.


The documentation for this struct was generated from the following file: