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
567 B
31 lines
567 B
// SelNextSurfaceCmd
|
|
// Selects next surface in the projection mapping mode
|
|
// Created by Krisjanis Rijnieks 2016-02-03
|
|
|
|
#pragma once
|
|
|
|
#include "BaseCmd.h"
|
|
#include "BaseSurface.h"
|
|
#include "SurfaceManager.h"
|
|
#include "Gui.h"
|
|
|
|
namespace ofx {
|
|
namespace piMapper {
|
|
|
|
class SelNextSurfaceCmd : public BaseUndoCmd {
|
|
|
|
public:
|
|
SelNextSurfaceCmd(SurfaceManager * surfaceManager);
|
|
void exec();
|
|
void undo();
|
|
|
|
private:
|
|
SurfaceManager * _surfaceManager;
|
|
BaseSurface * _prevSelectedSurface;
|
|
int _prevSelectedVertex;
|
|
|
|
};
|
|
|
|
} // namespace piMapper
|
|
} // namespace ofx
|
|
|
|
|