KiCad PCB EDA Suite
WRL1STATUS Struct Reference

#include <vrml1_node.h>

Public Member Functions

 WRL1STATUS ()
 
void Init ()
 

Public Attributes

WRL1MATERIALmat
 
WRL1NODEnorm
 
WRL1COORDScoord
 
WRL1_BINDING matbind
 
WRL1_BINDING normbind
 
glm::mat4 txmatrix
 
WRL1_ORDER order
 
float creaseLimit
 

Detailed Description

Definition at line 66 of file vrml1_node.h.

Constructor & Destructor Documentation

◆ WRL1STATUS()

WRL1STATUS::WRL1STATUS ( )
inline

Definition at line 68 of file vrml1_node.h.

69  {
70  Init();
71  return;
72  }
void Init()
Definition: vrml1_node.h:74

References Init().

Member Function Documentation

◆ Init()

void WRL1STATUS::Init ( )
inline

Definition at line 74 of file vrml1_node.h.

75  {
76  mat = nullptr;
78  norm = nullptr;
80  coord = nullptr;
81  txmatrix = glm::scale( glm::mat4( 1.0 ), glm::vec3( 1.0 ) );
83  creaseLimit = 0.878f;
84  return;
85  }
WRL1_BINDING normbind
Definition: vrml1_node.h:100
WRL1_BINDING matbind
Definition: vrml1_node.h:97
WRL1COORDS * coord
Definition: vrml1_node.h:94
float creaseLimit
Definition: vrml1_node.h:109
WRL1NODE * norm
Definition: vrml1_node.h:91
glm::mat4 txmatrix
Definition: vrml1_node.h:103
const int scale
WRL1_ORDER order
Definition: vrml1_node.h:106
WRL1MATERIAL * mat
Definition: vrml1_node.h:88

References BIND_DEFAULT, BIND_OVERALL, coord, creaseLimit, mat, matbind, norm, normbind, ORD_UNKNOWN, order, scale, and txmatrix.

Referenced by WRL1GROUP::TranslateToSG(), WRL1SWITCH::TranslateToSG(), WRL1SEPARATOR::TranslateToSG(), WRL1BASE::TranslateToSG(), and WRL1STATUS().

Member Data Documentation

◆ coord

WRL1COORDS* WRL1STATUS::coord

Definition at line 94 of file vrml1_node.h.

Referenced by Init(), WRL1FACESET::TranslateToSG(), and WRL1COORDS::TranslateToSG().

◆ creaseLimit

float WRL1STATUS::creaseLimit

Definition at line 109 of file vrml1_node.h.

Referenced by Init(), WRL1SHAPEHINTS::TranslateToSG(), and WRL1FACESET::TranslateToSG().

◆ mat

WRL1MATERIAL* WRL1STATUS::mat

Definition at line 88 of file vrml1_node.h.

Referenced by Init(), WRL1FACESET::TranslateToSG(), and WRL1MATERIAL::TranslateToSG().

◆ matbind

WRL1_BINDING WRL1STATUS::matbind

Definition at line 97 of file vrml1_node.h.

Referenced by Init(), WRL1MATBINDING::TranslateToSG(), and WRL1FACESET::TranslateToSG().

◆ norm

WRL1NODE* WRL1STATUS::norm

Definition at line 91 of file vrml1_node.h.

Referenced by Init().

◆ normbind

WRL1_BINDING WRL1STATUS::normbind

Definition at line 100 of file vrml1_node.h.

Referenced by Init().

◆ order

WRL1_ORDER WRL1STATUS::order

Definition at line 106 of file vrml1_node.h.

Referenced by Init(), WRL1SHAPEHINTS::TranslateToSG(), and WRL1FACESET::TranslateToSG().

◆ txmatrix

glm::mat4 WRL1STATUS::txmatrix

Definition at line 103 of file vrml1_node.h.

Referenced by Init(), WRL1TRANSFORM::TranslateToSG(), and WRL1FACESET::TranslateToSG().


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