1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-05-06 10:36:12 +03:00
occt/samples/qt/FuncDemo/src/CylinderDriver.h
vro aff5997de8 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
2016-02-20 13:04:31 +03:00

37 lines
802 B
C++

// CylinderDriver.h: interface for the Cylinder function driver.
//
//////////////////////////////////////////////////////////////////////
#if !defined(_CYLINDERDRIVER_H_)
#define _CYLINDERDRIVER_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(CylinderDriver, BaseDriver)
// A Cylinder function driver.
class CylinderDriver : public BaseDriver
{
public:
// ID of the function driver
static const Standard_GUID& GetID();
// Constructor
CylinderDriver();
// Execution.
virtual Standard_Integer Execute(Handle(TFunction_Logbook)& log) const;
DEFINE_STANDARD_RTTIEXT(CylinderDriver, TFunction_Driver)
};
#endif // !defined(_CYLINDERDRIVER_H_)