1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-04 13:13:25 +03:00

0024665: A sample for advanced function mechanism

PRO file is added + a description of how to generate the Visual Studio projects and compile.
In addition, the sample folder is renamed to FuncDemo.

Adding 64 bit configuration to VC projects
This commit is contained in:
vro
2016-02-10 08:04:45 +03:00
committed by abv
parent a7d4dd9489
commit aff5997de8
41 changed files with 3099 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
// ConeDriver.h: interface for the Cone function driver.
//
//////////////////////////////////////////////////////////////////////
#if !defined(_CONEDRIVER_H_)
#define _CONEDRIVER_H_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "BaseDriver.h"
#include <Standard_DefineHandle.hxx>
#include <TFunction_Logbook.hxx>
DEFINE_STANDARD_HANDLE(ConeDriver, BaseDriver)
// A Cone function driver.
class ConeDriver : public BaseDriver
{
public:
// ID of the function driver
static const Standard_GUID& GetID();
// Constructor
ConeDriver();
// Execution.
virtual Standard_Integer Execute(Handle(TFunction_Logbook)& log) const;
DEFINE_STANDARD_RTTIEXT(ConeDriver, TFunction_Driver)
};
#endif // !defined(_CONEDRIVER_H_)