mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
Integration of OCCT 6.5.0 from SVN
This commit is contained in:
120
samples/java/inc/SampleAISSelectPackage.hxx
Executable file
120
samples/java/inc/SampleAISSelectPackage.hxx
Executable file
@@ -0,0 +1,120 @@
|
||||
// File generated by CPPExt (Value)
|
||||
// Copyright (C) 1991,1995 by
|
||||
//
|
||||
// MATRA DATAVISION, FRANCE
|
||||
//
|
||||
// This software is furnished in accordance with the terms and conditions
|
||||
// of the contract and with the inclusion of the above copyright notice.
|
||||
// This software or any other copy thereof may not be provided or otherwise
|
||||
// be made available to any other person. No title to an ownership of the
|
||||
// software is hereby transferred.
|
||||
//
|
||||
// At the termination of the contract, the software and all copies of this
|
||||
// software must be deleted.
|
||||
|
||||
#ifndef _SampleAISSelectPackage_HeaderFile
|
||||
#define _SampleAISSelectPackage_HeaderFile
|
||||
|
||||
#ifndef _Handle_V3d_Viewer_HeaderFile
|
||||
#include <Handle_V3d_Viewer.hxx>
|
||||
#endif
|
||||
#ifndef _Standard_ExtString_HeaderFile
|
||||
#include <Standard_ExtString.hxx>
|
||||
#endif
|
||||
#ifndef _Handle_V3d_View_HeaderFile
|
||||
#include <Handle_V3d_View.hxx>
|
||||
#endif
|
||||
#ifndef _Standard_Integer_HeaderFile
|
||||
#include <Standard_Integer.hxx>
|
||||
#endif
|
||||
#ifndef _Handle_AIS_InteractiveContext_HeaderFile
|
||||
#include <Handle_AIS_InteractiveContext.hxx>
|
||||
#endif
|
||||
#ifndef _Standard_Real_HeaderFile
|
||||
#include <Standard_Real.hxx>
|
||||
#endif
|
||||
#ifndef _Standard_Boolean_HeaderFile
|
||||
#include <Standard_Boolean.hxx>
|
||||
#endif
|
||||
class V3d_Viewer;
|
||||
class V3d_View;
|
||||
class AIS_InteractiveContext;
|
||||
class TCollection_AsciiString;
|
||||
class Quantity_Color;
|
||||
|
||||
|
||||
#ifndef _Standard_HeaderFile
|
||||
#include <Standard.hxx>
|
||||
#endif
|
||||
#ifndef _Standard_Macro_HeaderFile
|
||||
#include <Standard_Macro.hxx>
|
||||
#endif
|
||||
|
||||
class SampleAISSelectPackage {
|
||||
|
||||
public:
|
||||
|
||||
void* operator new(size_t,void* anAddress)
|
||||
{
|
||||
return anAddress;
|
||||
}
|
||||
void* operator new(size_t size)
|
||||
{
|
||||
return Standard::Allocate(size);
|
||||
}
|
||||
void operator delete(void *anAddress)
|
||||
{
|
||||
if (anAddress) Standard::Free((Standard_Address&)anAddress);
|
||||
}
|
||||
// Methods PUBLIC
|
||||
//
|
||||
Standard_EXPORT static Handle_V3d_Viewer CreateViewer(const Standard_ExtString aName) ;
|
||||
Standard_EXPORT static void SetWindow(const Handle(V3d_View)& aView,const Standard_Integer hiwin,const Standard_Integer lowin) ;
|
||||
Standard_EXPORT static void DisplayBox(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ;
|
||||
Standard_EXPORT static void DisplayCylinder(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ;
|
||||
Standard_EXPORT static void SelectVertices(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ;
|
||||
Standard_EXPORT static void SelectEdges(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ;
|
||||
Standard_EXPORT static void SelectFaces(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ;
|
||||
Standard_EXPORT static void SelectNeutral(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ;
|
||||
Standard_EXPORT static Standard_Integer MakeFillet(const Handle(AIS_InteractiveContext)& aContext,const Standard_Real aValue,TCollection_AsciiString& Message) ;
|
||||
Standard_EXPORT static Standard_Boolean IsCylinderSelected(const Handle(AIS_InteractiveContext)& aContext) ;
|
||||
Standard_EXPORT static void StartSelectFace(const Handle(AIS_InteractiveContext)& aContext) ;
|
||||
Standard_EXPORT static Quantity_Color GetFaceColor(const Handle(AIS_InteractiveContext)& aContext) ;
|
||||
Standard_EXPORT static void SetFaceColor(const Handle(AIS_InteractiveContext)& aContext,const Quantity_Color& aColor,TCollection_AsciiString& Message) ;
|
||||
Standard_EXPORT static void EndSelectFace(const Handle(AIS_InteractiveContext)& aContext) ;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
// Methods PROTECTED
|
||||
//
|
||||
|
||||
|
||||
// Fields PROTECTED
|
||||
//
|
||||
|
||||
|
||||
private:
|
||||
|
||||
// Methods PRIVATE
|
||||
//
|
||||
|
||||
|
||||
// Fields PRIVATE
|
||||
//
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// other Inline functions and methods (like "C++: function call" methods)
|
||||
//
|
||||
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user