1 // Copyright (C) 2007-2012 CEA/DEN, EDF R&D, OPEN CASCADE
3 // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
6 // This library is free software; you can redistribute it and/or
7 // modify it under the terms of the GNU Lesser General Public
8 // License as published by the Free Software Foundation; either
9 // version 2.1 of the License.
11 // This library is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 // Lesser General Public License for more details.
16 // You should have received a copy of the GNU Lesser General Public
17 // License along with this library; if not, write to the Free Software
18 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
23 // VISU OBJECT : interactive object for VISU entities implementation
24 // File : VISU_PrsObject_i.hxx
25 // Author : Alexey PETROV
28 #ifndef VISU_Vectors_i_HeaderFile
29 #define VISU_Vectors_i_HeaderFile
31 #include "VISU_DeformedShape_i.hh"
37 //----------------------------------------------------------------------------
38 class VISU_I_EXPORT Vectors_i : public virtual POA_VISU::Vectors,
39 public virtual DeformedShape_i
41 static int myNbPresent;
42 Vectors_i(const Vectors_i&);
45 //----------------------------------------------------------------------------
46 typedef DeformedShape_i TSuperClass;
47 typedef VISU::Vectors TInterface;
50 Vectors_i(EPublishInStudyMode thePublishInStudyModep);
54 SameAs(const Prs3d_i* theOrigin);
63 return VISU::TVECTORS;
68 SetLineWidth(CORBA::Double theWidth);
76 SetGlyphType(VISU::Vectors::GlyphType theType);
79 VISU::Vectors::GlyphType
84 SetGlyphPos(VISU::Vectors::GlyphPos thePos);
87 VISU::Vectors::GlyphPos
97 //! Redefines VISU_ColoredPrs3d_i::CreatePipeLine
100 CreatePipeLine(VISU_PipeLine* thePipeLine);
102 //! Redefines VISU_ColoredPrs3d_i::CheckIsPossible
111 VISU_VectorsPL *myVectorsPL;
115 //! Redefines VISU_ColoredPrs3d_i::IsPossible
118 IsPossible(Result_i* theResult,
119 const std::string& theMeshName,
120 VISU::Entity theEntity,
121 const std::string& theFieldName,
122 CORBA::Long theTimeStampNumber,
123 bool theIsMemoryCheck);
125 //! Redefines VISU_ColoredPrs3d_i::Create
128 Create(const std::string& theMeshName,
129 VISU::Entity theEntity,
130 const std::string& theFieldName,
131 CORBA::Long theTimeStampNumber);
133 //! Redefines VISU_ColoredPrs3d_i::ToStream
136 ToStream(std::ostringstream& theStr);
138 //! Redefines VISU_ColoredPrs3d_i::Restore
141 Restore(SALOMEDS::SObject_ptr theSObject,
142 const Storable::TRestoringMap& theMap);
144 static const std::string myComment;
146 //! Redefines VISU_ColoredPrs3d_i::GetComment
151 //! Redefines VISU_ColoredPrs3d_i::GenerateName
160 //! Redefines VISU_ColoredPrs3d_i::CreateActor
165 //! Redefines VISU_ColoredPrs3d_i::UpdateActor
168 UpdateActor(VISU_ActorBase* theActor) ;