#include <MRChangePointCloudAction.h>
|
| ChangeOnePointInCloudAction (std::string name, const std::shared_ptr< ObjectPoints > &obj, VertId pointId) |
| use this constructor to remember point's coordinates before making any changes in it
|
|
| ChangeOnePointInCloudAction (std::string name, const std::shared_ptr< ObjectPoints > &obj, VertId pointId, const Vector3f &newCoords) |
| use this constructor to remember point's coordinates and immediate set new coordinates
|
|
virtual std::string | name () const override |
|
virtual void | action (HistoryAction::Type) override |
| This function is called on history action (undo, redo, etc.)
|
|
virtual size_t | heapBytes () const override |
| returns the amount of memory this object occupies on heap
|
|
virtual | ~HistoryAction ()=default |
|
Undo action that modifies one point's coordinates inside ObjectPoints
◆ Obj
◆ ChangeOnePointInCloudAction() [1/2]
MR::ChangeOnePointInCloudAction::ChangeOnePointInCloudAction |
( |
std::string | name, |
|
|
const std::shared_ptr< ObjectPoints > & | obj, |
|
|
VertId | pointId ) |
|
inline |
use this constructor to remember point's coordinates before making any changes in it
◆ ChangeOnePointInCloudAction() [2/2]
MR::ChangeOnePointInCloudAction::ChangeOnePointInCloudAction |
( |
std::string | name, |
|
|
const std::shared_ptr< ObjectPoints > & | obj, |
|
|
VertId | pointId, |
|
|
const Vector3f & | newCoords ) |
|
inline |
use this constructor to remember point's coordinates and immediate set new coordinates
◆ action()
This function is called on history action (undo, redo, etc.)
Implements MR::HistoryAction.
◆ heapBytes()
virtual size_t MR::ChangeOnePointInCloudAction::heapBytes |
( |
| ) |
const |
|
inlinenodiscardoverridevirtual |
returns the amount of memory this object occupies on heap
Implements MR::HistoryAction.
◆ name()
virtual std::string MR::ChangeOnePointInCloudAction::name |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ setObjectDirty()
static void MR::ChangeOnePointInCloudAction::setObjectDirty |
( |
const std::shared_ptr< ObjectPoints > & | obj | ) |
|
|
inlinestatic |
The documentation for this class was generated from the following file: