vrmlproc & togeom
 
Loading...
Searching...
No Matches
to_geom::calculator::BoxCalculator Class Reference

Represents a calculator for Box VRML node. More...

#include <BoxCalculator.hpp>

Public Member Functions

to_geom::calculator::CalculatorResult Generate3DMesh (std::reference_wrapper< const vrml_proc::parser::model::Vec3f > size, const vrml_proc::math::TransformationMatrix &matrix)
 Generated 3D mesh for Box geometry primtive.
 

Detailed Description

Represents a calculator for Box VRML node.

Member Function Documentation

◆ Generate3DMesh()

to_geom::calculator::CalculatorResult to_geom::calculator::BoxCalculator::Generate3DMesh ( std::reference_wrapper< const vrml_proc::parser::model::Vec3f > size,
const vrml_proc::math::TransformationMatrix & matrix )

Generated 3D mesh for Box geometry primtive.

Parameters
sizesize of the box (x, y, z)
matrixtranformation matrix applied to geometry
Returns
calculator result (mesh object or error if generation failed)

Left back down.

Right back down.

Right back up.

Left back up.

Left front down.

Right front down.

Right front up.

Left front up.

Front face.

Back face.

Top face.

Bottom face.

Right face.

Left face.


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