Compare commits
14 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| c5db0ed4ad | |||
| d4e6fd0749 | |||
| 03be35f48b | |||
| ae036de6e5 | |||
| 56e27b377f | |||
| 132edaaa35 | |||
| ce380c220e | |||
| 6e15145bf0 | |||
| 37cafd5cf7 | |||
| 8b8cc36ebd | |||
| c0c9772dfa | |||
| c4f4e33d1f | |||
| 7c4b3f33d8 | |||
| dd6b3ea190 |
+3
-1
@@ -16,6 +16,7 @@
|
||||
|
||||
#include "/EgtDev/Include/EGkPointGrid3d.h"
|
||||
#include "/EgtDev/Include/EGkGeoCollection.h"
|
||||
#include <unordered_set>
|
||||
|
||||
class IGeomDB ;
|
||||
|
||||
@@ -58,6 +59,7 @@ class ChainCurves
|
||||
EGK_EXPORT bool GetForkIds( INTVECTOR& vForkIds) ;
|
||||
|
||||
private :
|
||||
typedef std::unordered_set<int> INTUSET ;
|
||||
struct CrvData {
|
||||
int nId ;
|
||||
Point3d ptStart ;
|
||||
@@ -90,7 +92,7 @@ class ChainCurves
|
||||
private :
|
||||
bool m_bAllowInvert ;
|
||||
double m_dToler ;
|
||||
INTUNORDSET m_sCrvId ;
|
||||
INTUSET m_sCrvId ;
|
||||
CRVDATAVECTOR m_vCrvData ;
|
||||
PointGrid3d m_PointGrid ;
|
||||
bool m_bFromNear ;
|
||||
|
||||
@@ -62,4 +62,4 @@ class DistPointSurfTm
|
||||
//----------------------------------------------------------------------------
|
||||
// Calcola l'indice del vertice della superficie a minima distanza dal punto di riferimento.
|
||||
//----------------------------------------------------------------------------
|
||||
EGK_EXPORT int GetSurfTmNearestVertex( const Point3d& ptP, const ISurfTriMesh& tmSurf) ;
|
||||
EGK_EXPORT int GetSurfTmNearestVertex( const Point3d& ptP, const ISurfTriMesh& tmSurf) ;
|
||||
+11
@@ -19,6 +19,7 @@
|
||||
#include "/EgtDev/Include/EGkPlane3d.h"
|
||||
#include "/EgtDev/Include/EGkColor.h"
|
||||
#include "/EgtDev/Include/EgtNumCollection.h"
|
||||
#include "/EgtDev/Include/EGkSurfTriMesh.h"
|
||||
#define NOMINMAX
|
||||
#include <windows.h>
|
||||
#include <string>
|
||||
@@ -55,6 +56,8 @@ class IEGrScene
|
||||
virtual bool Project( const Point3d& ptWorld, Point3d& ptView) const = 0 ;
|
||||
virtual bool UnProject( const Point3d& ptView, Point3d& ptWorld) const = 0 ;
|
||||
virtual void Destroy( void) = 0 ;
|
||||
virtual void SetSceneColors( Color cColX, Color cColY, Color cColZ, Color cColXm, Color cColYm, Color cColZm,
|
||||
Color cColEdge, Color cColCorner) = 0 ;
|
||||
// Camera
|
||||
virtual bool SetCenter( const Point3d& ptCenter) = 0 ;
|
||||
virtual bool SetCameraDirOrizzOffset( int nRightStepOffset = 0) = 0 ;
|
||||
@@ -102,6 +105,14 @@ class IEGrScene
|
||||
virtual bool GetShowGrid( void) = 0 ;
|
||||
// Glob Frame
|
||||
virtual bool SetGlobFrameShow( bool bShow) = 0 ;
|
||||
virtual bool SetGlobFrameParameters( int nPosFlag, double dDistX, double dDistY,
|
||||
double dLenLine, double dWidthLine) = 0 ;
|
||||
// Glob Cube
|
||||
virtual bool DrawCube( bool bSurf) = 0 ;
|
||||
virtual bool CreateFlatPart( ISurfTriMesh* pSrf) = 0 ;
|
||||
virtual bool CreateEdgePart( ISurfTriMesh* pSrf) = 0 ;
|
||||
virtual bool CreateCornerPart( ISurfTriMesh* pSrf) = 0 ;
|
||||
virtual bool SetGlobCubeParameters( int nPosFlag, double dDistX, double dDistY, double dLenEdge) = 0 ;
|
||||
// Direct
|
||||
virtual bool SetGeoLineAttribs( Color GLcol) = 0 ;
|
||||
virtual bool SetGeoLine( const Point3d& ptP1, const Point3d& ptP2) = 0 ;
|
||||
|
||||
Reference in New Issue
Block a user