Salome HOME
projects
/
modules
/
gui.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upgrade to paraview 5.4
[modules/gui.git]
/
src
/
SVTK
/
SVTK_DeviceActor.h
diff --git
a/src/SVTK/SVTK_DeviceActor.h
b/src/SVTK/SVTK_DeviceActor.h
index 12d10220fcda2fbc2cec31959e1384e59d479948..95c13743f0472200d1e077059616564b5e34b4de 100644
(file)
--- a/
src/SVTK/SVTK_DeviceActor.h
+++ b/
src/SVTK/SVTK_DeviceActor.h
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-201
2
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-201
6
CEA/DEN, EDF R&D, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@
-6,7
+6,7
@@
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License
, or (at your option) any later version
.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
@@
-47,6
+47,7
@@
class vtkShrinkFilter;
class vtkFeatureEdges;
class VTKViewer_DataSetMapper;
class vtkPassThroughFilter;
class vtkFeatureEdges;
class VTKViewer_DataSetMapper;
class vtkPassThroughFilter;
+class vtkAlgorithmOutput;
#ifdef WIN32
#pragma warning ( disable:4251 )
#ifdef WIN32
#pragma warning ( disable:4251 )
@@
-79,7
+80,12
@@
class SVTK_EXPORT SVTK_DeviceActor: public vtkLODActor
//! Allows to set initial #vtkDataSet
virtual
void
//! Allows to set initial #vtkDataSet
virtual
void
- SetInput(vtkDataSet* theDataSet);
+ SetInputData(vtkDataSet* theDataSet);
+
+ //! Allows to set initial #vtkAlgorithmOutput
+ virtual
+ void
+ SetInputConnection(vtkAlgorithmOutput* theAlgorithmOutput);
/** @name For selection mapping purpose */
//@{
/** @name For selection mapping purpose */
//@{
@@
-88,7
+94,7
@@
class SVTK_EXPORT SVTK_DeviceActor: public vtkLODActor
GetNodeObjId(int theVtkID);
virtual
GetNodeObjId(int theVtkID);
virtual
-
vtkFloatingPointTyp
e*
+
doubl
e*
GetNodeCoord(int theObjID);
virtual
GetNodeCoord(int theObjID);
virtual
@@
-106,17
+112,17
@@
class SVTK_EXPORT SVTK_DeviceActor: public vtkLODActor
//@}
virtual
//@}
virtual
- unsigned long int
+ vtkMTimeType
GetMTime();
/** @name For shrink mamnagement purpose */
//@{
GetMTime();
/** @name For shrink mamnagement purpose */
//@{
-
vtkFloatingPointTyp
e
+
doubl
e
GetShrinkFactor();
virtual
void
GetShrinkFactor();
virtual
void
- SetShrinkFactor(
vtkFloatingPointTyp
e value);
+ SetShrinkFactor(
doubl
e value);
virtual
void
virtual
void
@@
-156,12
+162,12
@@
class SVTK_EXPORT SVTK_DeviceActor: public vtkLODActor
SetFeatureEdgesEnabled(bool theIsFeatureEdgesEnabled);
virtual
SetFeatureEdgesEnabled(bool theIsFeatureEdgesEnabled);
virtual
-
vtkFloatingPointTyp
e
+
doubl
e
GetFeatureEdgesAngle();
virtual
void
GetFeatureEdgesAngle();
virtual
void
- SetFeatureEdgesAngle(
vtkFloatingPointTyp
e theAngle);
+ SetFeatureEdgesAngle(
doubl
e theAngle);
virtual
void
virtual
void
@@
-194,11
+200,11
@@
class SVTK_EXPORT SVTK_DeviceActor: public vtkLODActor
GetRepresentation();
virtual
GetRepresentation();
virtual
-
vtkFloatingPointTyp
e
+
doubl
e
GetDefaultPointSize();
virtual
GetDefaultPointSize();
virtual
-
vtkFloatingPointTyp
e
+
doubl
e
GetDefaultLineWidth();
bool
GetDefaultLineWidth();
bool
@@
-208,10
+214,17
@@
class SVTK_EXPORT SVTK_DeviceActor: public vtkLODActor
SetShaded(bool theShaded);
//@}
SetShaded(bool theShaded);
//@}
+ /** @name For ball marker management purpose */
+ void
+ SetBallEnabled( bool );
+
/** @name For marker management purpose */
void
SetMarkerEnabled( bool );
/** @name For marker management purpose */
void
SetMarkerEnabled( bool );
+ void
+ SetBallScale( double );
+
void
SetMarkerStd( VTK::MarkerType, VTK::MarkerScale );
void
SetMarkerStd( VTK::MarkerType, VTK::MarkerScale );
@@
-239,8
+252,8
@@
class SVTK_EXPORT SVTK_DeviceActor: public vtkLODActor
virtual void SetQuadraticArcMode(bool theFlag);
virtual bool GetQuadraticArcMode();
virtual void SetQuadraticArcMode(bool theFlag);
virtual bool GetQuadraticArcMode();
- virtual void SetQuadraticArcAngle(
vtkFloatingPointTyp
e theMaxAngle);
- virtual
vtkFloatingPointTyp
e GetQuadraticArcAngle();
+ virtual void SetQuadraticArcAngle(
doubl
e theMaxAngle);
+ virtual
doubl
e GetQuadraticArcAngle();
virtual
void
virtual
void
@@
-249,6
+262,10
@@
class SVTK_EXPORT SVTK_DeviceActor: public vtkLODActor
virtual
bool
IsCoincident3DAllowed() const;
virtual
bool
IsCoincident3DAllowed() const;
+
+ void
+ SetResolveCoincidentTopology(bool theIsResolve);
+
protected:
protected:
@@
-274,13
+291,13
@@
class SVTK_EXPORT SVTK_DeviceActor: public vtkLODActor
bool myIsFeatureEdgesEnabled;
bool myIsResolveCoincidentTopology;
bool myIsFeatureEdgesEnabled;
bool myIsResolveCoincidentTopology;
-
vtkFloatingPointTyp
e myPolygonOffsetFactor;
-
vtkFloatingPointTyp
e myPolygonOffsetUnits;
+
doubl
e myPolygonOffsetFactor;
+
doubl
e myPolygonOffsetUnits;
- void SetPolygonOffsetParameters(
vtkFloatingPointTyp
e factor,
-
vtkFloatingPointTyp
e units);
- void GetPolygonOffsetParameters(
vtkFloatingPointTyp
e& factor,
-
vtkFloatingPointTyp
e& units);
+ void SetPolygonOffsetParameters(
doubl
e factor,
+
doubl
e units);
+ void GetPolygonOffsetParameters(
doubl
e& factor,
+
doubl
e& units);
SVTK_DeviceActor();
~SVTK_DeviceActor();
SVTK_DeviceActor();
~SVTK_DeviceActor();