mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-07-10 12:25:50 +03:00
Multiple PrsMgr_PresentableObject::Compute() methods have been replaced by single one PrsMgr_PresentableObject::computeHLR(). Dummy implementations of previously declared methods have been removed from AIS classes not implementng HLR presentation. Class Prs3d_Projector has been removed and Graphic3d_Camera is now passed directly, so that redundant dependency from HLRAlgo_Projector in Prs3d interfaces has been eliminated. StdPrs_HLRShape and StdPrs_HLRPolyShape now implement common interface StdPrs_HLRShapeI.
28 lines
893 B
C++
Executable File
28 lines
893 B
C++
Executable File
// ISession_Curve.h: interface for the ISession_Curve class.
|
|
//
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
#pragma once
|
|
|
|
#include <Standard_Macro.hxx>
|
|
#include <Standard_DefineHandle.hxx>
|
|
#include "AIS_InteractiveObject.hxx"
|
|
|
|
class ISession_Curve : public AIS_InteractiveObject
|
|
{
|
|
DEFINE_STANDARD_RTTIEXT(ISession_Curve,AIS_InteractiveObject)
|
|
public:
|
|
ISession_Curve(const Handle(Geom_Curve)& theCurve) : myCurve (theCurve) {}
|
|
virtual ~ISession_Curve() {}
|
|
|
|
private:
|
|
|
|
Standard_EXPORT virtual void Compute(const Handle(PrsMgr_PresentationManager3d)& aPresentationManager,const Handle(Prs3d_Presentation)& aPresentation,const Standard_Integer aMode = 0) ;
|
|
virtual void ComputeSelection (const Handle(SelectMgr_Selection)& ,const Standard_Integer ) {}
|
|
|
|
private:
|
|
Handle(Geom_Curve) myCurve;
|
|
};
|
|
|
|
DEFINE_STANDARD_HANDLE(ISession_Curve,AIS_InteractiveObject)
|