vrmlproc & togeom
 
Loading...
Searching...
No Matches
to_geom::action::GeometryAction Class Referenceabstract

Represents a generic geometry node action. Geometry nodes are affected by their node ancestors such as Transform or Shape. More...

#include <GeometryAction.hpp>

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

Classes

struct  Properties
 Properties for GeometryAction. More...
 

Public Member Functions

 GeometryAction (Properties properties)
 Constructs a GeometryAction with specified properties.
 
virtual std::shared_ptr< to_geom::conversion_context::MeshTaskConversionContextExecute ()=0
 Executes the conversion process for this action.
 
- Public Member Functions inherited from vrml_proc::action::ConversionContextAction< to_geom::conversion_context::MeshTaskConversionContext >
virtual ~ConversionContextAction ()=default
 Virtual default destructor.
 

Protected Attributes

Properties m_geometryProperties
 

Detailed Description

Represents a generic geometry node action. Geometry nodes are affected by their node ancestors such as Transform or Shape.

Inherits from ConversionContextAction<MeshTaskConversionContext> to integrate with the conversion system.

Constructor & Destructor Documentation

◆ GeometryAction()

to_geom::action::GeometryAction::GeometryAction ( Properties properties)
inlineexplicit

Constructs a GeometryAction with specified properties.

Parameters
propertiesproperties for GeometryAction

Member Function Documentation

◆ Execute()

virtual std::shared_ptr< to_geom::conversion_context::MeshTaskConversionContext > to_geom::action::GeometryAction::Execute ( )
pure virtual

Executes the conversion process for this action.

This pure virtual function must be implemented by derived classes to perform the conversion of a VRML node into a geometric representation.

Returns
A shared pointer to the generated mesh conversion context.

Implements vrml_proc::action::ConversionContextAction< to_geom::conversion_context::MeshTaskConversionContext >.

Implemented in to_geom::action::BoxAction, to_geom::action::IndexedFaceSetAction, and to_geom::action::IndexedLineSetAction.


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