FormIt C++ API  v23.0.0 (2023.0.0)
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

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

Member Data Documentation

bool WSM::ImageData::m_bHidden = false

Is this object hidden?

double WSM::ImageData::m_dHeight = 0.0
double WSM::ImageData::m_dWidth = 0.0

The width and height of the rectangular face.

::string WSM::ImageData::m_name

The object name.

size_t WSM::ImageData::m_nLayerIndex = UNUSED_INDEX

Index into the layer data array.

size_t WSM::ImageData::m_nTextureIndex = UNUSED_INDEX

Index into the texture data array.

Transf3d WSM::ImageData::m_transform

The transformation applied to the face.


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