ofxPiMapper fixed for C++17 & oF 12.0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

31 lines
574 B

// MvSurfaceCmd
// Provides with option to undo move surface operation.
// Created by Krisjanis Rijnieks 2015-05-14
#pragma once
#include "BaseCmd.h"
#include "BaseSurface.h"
#include "ProjectionEditor.h"
namespace ofx {
namespace piMapper {
class MvSurfaceCmd : public BaseUndoCmd {
public:
MvSurfaceCmd(BaseSurface * surface,
ProjectionEditor * projectionEditor);
void exec();
void undo();
private:
BaseSurface * _surface;
ProjectionEditor * _projectionEditor;
vector <ofVec3f> _previousVertices;
};
} // namespace piMapper
} // namespace ofx