https://github.com/ialhashim/topo-blend
Raw File
Tip revision: 39b13612ebd645a65eda854771b517371f2f858a authored by ennetws on 13 March 2015, 18:17:18 UTC
Create README.md
Tip revision: 39b1361
dynamic_voxel.h
#pragma once
#include "SurfaceMeshPlugins.h"
#include "SurfaceMeshHelper.h"
#include "RichParameterSet.h"

#include "DynamicVoxel.h"

class dynamic_voxel : public SurfaceMeshModePlugin{
	Q_OBJECT
    Q_INTERFACES(ModePlugin)

public:
    QIcon icon(){ return QIcon(":/images/voxel_icon.png"); }

    /// Functions part of the EditPlugin system
    void create();
    void destroy(){}

    void decorate();

    DynamicVoxelLib::DynamicVoxel vox;

    bool showVoxels, showMesh;

public:
    virtual bool keyPressEvent(QKeyEvent* event);
};
back to top