28 #ifndef _SMESH_ProjectionSource3D_HXX_
29 #define _SMESH_ProjectionSource3D_HXX_
34 #include "Utils_SALOME_Exception.hxx"
36 #include <TopoDS_Vertex.hxx>
59 void SetSource3DShape(
const TopoDS_Shape& shape)
60 throw ( SALOME_Exception );
65 TopoDS_Shape GetSource3DShape()
const;
82 void SetVertexAssociation(
const TopoDS_Shape& sourceVertex1,
83 const TopoDS_Shape& sourceVertex2,
84 const TopoDS_Shape& targetVertex1,
85 const TopoDS_Shape& targetVertex2)
86 throw ( SALOME_Exception );
92 TopoDS_Vertex GetSourceVertex(
int i)
const throw ( SALOME_Exception );
98 TopoDS_Vertex GetTargetVertex(
int i)
const throw ( SALOME_Exception );
104 bool HasVertexAssociation()
const
105 {
return ( !_sourceVertex1.IsNull() && !_targetVertex1.IsNull() &&
106 !_sourceVertex2.IsNull() && !_targetVertex2.IsNull()); }
111 void GetStoreParams(TopoDS_Shape& s1,
115 TopoDS_Shape& s5)
const;
120 void RestoreParams(
const TopoDS_Shape& s1,
121 const TopoDS_Shape& s2,
122 const TopoDS_Shape& s3,
123 const TopoDS_Shape& s4,
124 const TopoDS_Shape& s5,
127 virtual std::ostream &
SaveTo(std::ostream & save);
128 virtual std::istream &
LoadFrom(std::istream & load);