33 #ifndef OPENPSTD_MODEL_H 34 #define OPENPSTD_MODEL_H 61 #include <QtGui/qmatrix4x4.h> 62 #include <kernel/KernelInterface.h> 63 #include <shared/PSTDFile.h> 64 #include "MouseHandlers.h" 66 #include <shared/Colors.h> 67 #include <shared/InvalidationData.h> 94 bool SnapToGrid =
true;
95 bool SnapToDomainEdges =
true;
96 float SnapToDomainEdgesDistance = 0.4f;
102 float EdgeSize = 5.0f;
103 std::unique_ptr<Shared::BaseColorScheme> colorScheme;
113 class View :
public Shared::InvalidationData
116 QMatrix4x4 viewMatrix;
117 QMatrix4x4 worldMatrix;
118 QMatrix4x4 aspectMatrix;
121 class Model :
public Shared::InvalidationData
126 std::shared_ptr<Shared::PSTDFile> d;
127 std::shared_ptr<View> view;
128 std::unique_ptr<MouseStrategy> mouseHandler;
129 std::shared_ptr<InteractiveModel> interactive;
130 std::shared_ptr<Settings> settings;
136 #endif //OPENPSTD_MODEL_H This is the general namespace of the OpenPSTD application.
Definition: Boundary.cpp:33