Represents an action for Switch VRML node. More...
#include <SwitchAction.hpp>
Classes | |
struct | SwitchProperties |
Properties for SwitchAction . See VRML 2.0 specification for more information. More... | |
Public Member Functions | |
SwitchAction (SwitchProperties properties) | |
Constructs a SwitchAction with specified properties. | |
std::shared_ptr< to_geom::conversion_context::MeshTaskConversionContext > | Execute () override |
Overriden implemented interface method from BaseConversionContextAction . The method simply merges choice into new conversion context and returns it. | |
![]() | |
virtual | ~ConversionContextAction ()=default |
Virtual default destructor. | |
Represents an action for Switch VRML node.
Process a VRML Switch
node. Inherits from ConversionContextAction<MeshTaskConversionContext>
to integrate with the conversion system.
to_geom::action::SwitchAction::SwitchAction | ( | SwitchProperties | properties | ) |
Constructs a SwitchAction with specified properties.
properties | properties for SwitchAction |
|
overridevirtual |
Overriden implemented interface method from BaseConversionContextAction
. The method simply merges choice into new conversion context and returns it.
Implements vrml_proc::action::ConversionContextAction< to_geom::conversion_context::MeshTaskConversionContext >.