OpenLexocad  27.1
OpenLxCmd::CmdCopyAlongCurve Class Reference

#include <CmdCopyAlongCurve.h>

Inheritance diagram for OpenLxCmd::CmdCopyAlongCurve:
Core::Command

Public Member Functions

 CmdCopyAlongCurve ()
 
 CmdCopyAlongCurve (std::shared_ptr< OpenLxApp::Element > aElem, std::shared_ptr< OpenLxApp::Element > aPathElem, const int &repetitions)
 
 CmdCopyAlongCurve (const std::vector< std::shared_ptr< OpenLxApp::Element >> &aElems, std::shared_ptr< OpenLxApp::Element > aPathElem, const int &repetitions)
 
 ~CmdCopyAlongCurve ()=default
 
bool redo () override
 
bool undo () override
 
std::vector< std::shared_ptr< OpenLxApp::Element > > getCopiedElements () const
 
- Public Member Functions inherited from Core::Command
 Command ()
 
virtual ~Command ()
 
virtual void serialize (std::ostream &, const unsigned int)
 
Base::String getDescription () const
 
void setDescription (const Base::String &s)
 
void setParameter (const std::string &key, const Core::Variant &value)
 
bool getParameter (const std::string &key, Core::Variant &value) const
 
void setSilentMode (bool on)
 
bool isInSilentMode () const
 
void setDoRecomputeInRedo (bool on)
 
void setDoRecomputeInUndo (bool on)
 
bool getDoRecomputeInRedo () const
 
bool getDoRecomputeInUndo () const
 
void setDone (bool yes)
 
bool isDone () const
 

Detailed Description

Since
24.0

Constructor & Destructor Documentation

◆ CmdCopyAlongCurve() [1/3]

OpenLxCmd::CmdCopyAlongCurve::CmdCopyAlongCurve ( )

◆ CmdCopyAlongCurve() [2/3]

OpenLxCmd::CmdCopyAlongCurve::CmdCopyAlongCurve ( std::shared_ptr< OpenLxApp::Element aElem,
std::shared_ptr< OpenLxApp::Element aPathElem,
const int &  repetitions 
)

◆ CmdCopyAlongCurve() [3/3]

OpenLxCmd::CmdCopyAlongCurve::CmdCopyAlongCurve ( const std::vector< std::shared_ptr< OpenLxApp::Element >> &  aElems,
std::shared_ptr< OpenLxApp::Element aPathElem,
const int &  repetitions 
)

◆ ~CmdCopyAlongCurve()

OpenLxCmd::CmdCopyAlongCurve::~CmdCopyAlongCurve ( )
default

Member Function Documentation

◆ getCopiedElements()

std::vector<std::shared_ptr<OpenLxApp::Element> > OpenLxCmd::CmdCopyAlongCurve::getCopiedElements ( ) const

◆ redo()

bool OpenLxCmd::CmdCopyAlongCurve::redo ( )
overridevirtual

Reimplemented from Core::Command.

◆ undo()

bool OpenLxCmd::CmdCopyAlongCurve::undo ( )
overridevirtual

Reimplemented from Core::Command.


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