1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-29 14:00:49 +03:00

Integration of OCCT 6.5.0 from SVN

This commit is contained in:
bugmaster
2011-03-16 07:30:28 +00:00
committed by bugmaster
parent 4903637061
commit 7fd59977df
16375 changed files with 3882564 additions and 0 deletions

View File

@@ -0,0 +1,45 @@
// GProps_Presentation.h: interface for the GProps_Presentation class.
// Global Properties of Shapes
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_GProps_Presentation_H__790EED7F_7BA2_11D5_BA4A_0060B0EE18EA__INCLUDED_)
#define AFX_GProps_Presentation_H__790EED7F_7BA2_11D5_BA4A_0060B0EE18EA__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include <OCCDemo_Presentation.h>
class GProp_GProps;
class TCollection_AsciiString;
class GProps_Presentation : public OCCDemo_Presentation
{
public:
// Construction
GProps_Presentation();
public:
// Iteration on samples
virtual void DoSample();
// one phase of iterations
private:
// Sample functions
Standard_Boolean GProps(GProp_GProps& aProps, gp_Ax1&,
TCollection_AsciiString& theText, TCollection_AsciiString theMassStr);
void samplePoints();
void sampleCurves();
void sampleSurfaces();
void sampleVolumes();
void sampleSystem();
private:
// Array of pointers to sample functions
typedef void (GProps_Presentation::*PSampleFuncType)();
static const PSampleFuncType SampleFuncs[];
};
#endif // !defined(AFX_GProps_Presentation_H__790EED7F_7BA2_11D5_BA4A_0060B0EE18EA__INCLUDED_)