vrmlproc & togeom
 
Loading...
Searching...
No Matches
to_geom::action::BoxAction Class Reference

Represents an action for the Box VRML node. More...

#include <BoxAction.hpp>

Inheritance diagram for to_geom::action::BoxAction:
to_geom::action::GeometryAction vrml_proc::action::ConversionContextAction< to_geom::conversion_context::MeshTaskConversionContext >

Classes

struct  Properties
 Properties for BoxAction. See VRML 2.0 specification for more information. More...
 

Public Member Functions

 BoxAction (Properties properties, GeometryAction::Properties geometryProperties)
 Constructs a BoxAction with specified properties.
 
std::shared_ptr< to_geom::conversion_context::MeshTaskConversionContextExecute () override
 Executes the conversion of the Box node to a mesh representation.
 
- Public Member Functions inherited from to_geom::action::GeometryAction
 GeometryAction (Properties properties)
 Constructs a GeometryAction with specified properties.
 
- Public Member Functions inherited from vrml_proc::action::ConversionContextAction< to_geom::conversion_context::MeshTaskConversionContext >
virtual ~ConversionContextAction ()=default
 Virtual default destructor.
 

Additional Inherited Members

- Protected Attributes inherited from to_geom::action::GeometryAction
Properties m_geometryProperties
 

Detailed Description

Represents an action for the Box VRML node.

Converts a VRML Box node into a geometric representation. Inherits from GeometryAction to integrate with the conversion system.

Constructor & Destructor Documentation

◆ BoxAction()

to_geom::action::BoxAction::BoxAction ( Properties properties,
GeometryAction::Properties geometryProperties )

Constructs a BoxAction with specified properties.

Parameters
propertiesproperties for BoxAction
geometryPropertiesgeometry properties

Member Function Documentation

◆ Execute()

std::shared_ptr< to_geom::conversion_context::MeshTaskConversionContext > to_geom::action::BoxAction::Execute ( )
overridevirtual

Executes the conversion of the Box node to a mesh representation.

Returns
A shared pointer to the generated mesh conversion context.

Implements to_geom::action::GeometryAction.


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