NetDEM v1.0
Loading...
Searching...
No Matches
netdem::WallBoxPlate Class Reference

A class for generating a box of six walls with plates. More...

#include <gen_wall_box_plate.hpp>

Public Member Functions

 WallBoxPlate (double len_x, double len_y, double len_z, double center_x, double center_y, double center_z)
 Generates a box of six walls with plates.
 
VecXT< Shape * > GetShapes ()
 Gets the list of shapes generated by the wall box.
 
VecXT< Wall * > GetWall ()
 Gets the list of walls generated by the wall box.
 
void ImportToScene (Scene *scene)
 Imports the shapes and walls generated by the wall box into a scene.
 

Detailed Description

A class for generating a box of six walls with plates.

This class generates a rectangular box of six walls, each of which is represented by a plate. It also provides functions to get the shapes and walls generated and to import them into a scene.

Constructor & Destructor Documentation

◆ WallBoxPlate()

netdem::WallBoxPlate::WallBoxPlate ( double len_x,
double len_y,
double len_z,
double center_x,
double center_y,
double center_z )
inline

Generates a box of six walls with plates.

Parameters
len_xThe length of the box in the x direction.
len_yThe length of the box in the y direction.
len_zThe length of the box in the z direction.
center_xThe centroid of the box in the x direction.
center_yThe centroid of the box in the y direction.
center_zThe centroid of the box in the z direction.

Member Function Documentation

◆ GetShapes()

VecXT< Shape * > netdem::WallBoxPlate::GetShapes ( )
inline

Gets the list of shapes generated by the wall box.

Returns
A list containing pointers to the three plates that represent the walls of the box.

◆ GetWall()

VecXT< Wall * > netdem::WallBoxPlate::GetWall ( )
inline

Gets the list of walls generated by the wall box.

Returns
A list containing pointers to the six walls of the box.

◆ ImportToScene()

void netdem::WallBoxPlate::ImportToScene ( Scene * scene)
inline

Imports the shapes and walls generated by the wall box into a scene.

Parameters
sceneA pointer to the scene to import the shapes and walls into.

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