Implement option for perspective drawing views

This commit is contained in:
WandererFan
2017-12-03 11:44:17 -05:00
committed by Yorik van Havre
parent 5bc256d3f2
commit 7588081afd
4 changed files with 32 additions and 6 deletions

View File

@@ -98,6 +98,10 @@ public:
void clearFaceGeom();
void setIsoCount(int i) { m_isoCount = i; }
void setParentName(std::string n); //for debug messages
void isPerspective(bool b) { m_isPersp = b; }
bool isPerspective(void) { return m_isPersp; }
void setFocus(double f) { m_focus = f; }
double getFocus(void) { return m_focus; }
void pruneVertexGeom(Base::Vector3d center, double radius);
TopoDS_Shape getVisHard(void) { return visHard; }
@@ -144,6 +148,8 @@ protected:
std::string m_parentName;
TechDraw::DrawView* m_parent;
int m_isoCount;
bool m_isPersp;
double m_focus;
};
} //namespace TechDrawGeometry