WSM API v25.0.0 (2025.0.0)
Loading...
Searching...
No Matches
WSM::ImageData Struct Reference

Description

Data used to construct a rectangular face with a texture on it.

The face is centered at the origin of the XY plane with the given width and height and then transformed by the given Transf3d. The texture is converted into a material with white color automatically.

#include <GeometryDataContainers.h>

Public Attributes

std::string m_name
 The object name.
 
size_t m_nLayerIndex = UNUSED_INDEX
 Index into the layer data array.
 
size_t m_nTextureIndex = UNUSED_INDEX
 Index into the texture data array.
 
double m_dWidth = 0.0
 The width and height of the rectangular face.
 
double m_dHeight = 0.0
 
Transf3d m_transform
 The transformation applied to the face.
 
bool m_bHidden = false
 Is this object hidden?
 

Member Data Documentation

◆ m_bHidden

bool WSM::ImageData::m_bHidden = false

Is this object hidden?

◆ m_dHeight

double WSM::ImageData::m_dHeight = 0.0

◆ m_dWidth

double WSM::ImageData::m_dWidth = 0.0

The width and height of the rectangular face.

◆ m_name

std::string WSM::ImageData::m_name

The object name.

◆ m_nLayerIndex

size_t WSM::ImageData::m_nLayerIndex = UNUSED_INDEX

Index into the layer data array.

◆ m_nTextureIndex

size_t WSM::ImageData::m_nTextureIndex = UNUSED_INDEX

Index into the texture data array.

◆ m_transform

Transf3d WSM::ImageData::m_transform

The transformation applied to the face.


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