Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch V7_3_1_BR
[modules/smesh.git]
/
src
/
OBJECT
/
SMESH_ActorDef.h
diff --git
a/src/OBJECT/SMESH_ActorDef.h
b/src/OBJECT/SMESH_ActorDef.h
index 47dc703a0ff8bbc74c322385fb7259031d17aa85..add4fb6bee5d1a9706d5c14541710ae304c52863 100644
(file)
--- a/
src/OBJECT/SMESH_ActorDef.h
+++ b/
src/OBJECT/SMESH_ActorDef.h
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-201
2
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-201
4
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
@@
-65,6
+65,7
@@
class vtkLookupTable;
class vtkPlane;
class vtkImplicitBoolean;
class vtkTimeStamp;
class vtkPlane;
class vtkImplicitBoolean;
class vtkTimeStamp;
+class vtkPlaneCollection;
class SMESH_DeviceActor;
class SMESH_NodeLabelActor;
class SMESH_DeviceActor;
class SMESH_NodeLabelActor;
@@
-100,51
+101,54
@@
class SMESH_ActorDef : public SMESH_Actor
virtual bool IsInfinitive();
virtual bool IsInfinitive();
- virtual void SetOpacity(
vtkFloatingPointTyp
e theValue);
- virtual
vtkFloatingPointTyp
e GetOpacity();
+ virtual void SetOpacity(
doubl
e theValue);
+ virtual
doubl
e GetOpacity();
- virtual void SetSufaceColor(
vtkFloatingPointType r,vtkFloatingPointType g,vtkFloatingPointTyp
e b, int delta );
- virtual void GetSufaceColor(
vtkFloatingPointType& r,vtkFloatingPointType& g,vtkFloatingPointTyp
e& b, int& delta);
+ virtual void SetSufaceColor(
double r,double g,doubl
e b, int delta );
+ virtual void GetSufaceColor(
double& r,double& g,doubl
e& b, int& delta);
- virtual void SetVolumeColor(
vtkFloatingPointType r,vtkFloatingPointType g,vtkFloatingPointTyp
e b, int delta );
- virtual void GetVolumeColor(
vtkFloatingPointType& r,vtkFloatingPointType& g,vtkFloatingPointTyp
e& b, int& delta);
+ virtual void SetVolumeColor(
double r,double g,doubl
e b, int delta );
+ virtual void GetVolumeColor(
double& r,double& g,doubl
e& b, int& delta);
- virtual void SetEdgeColor(
vtkFloatingPointType r,vtkFloatingPointType g,vtkFloatingPointTyp
e b);
- virtual void GetEdgeColor(
vtkFloatingPointType& r,vtkFloatingPointType& g,vtkFloatingPointTyp
e& b);
+ virtual void SetEdgeColor(
double r,double g,doubl
e b);
+ virtual void GetEdgeColor(
double& r,double& g,doubl
e& b);
- virtual void SetOutlineColor(
vtkFloatingPointType r,vtkFloatingPointType g,vtkFloatingPointTyp
e b);
- virtual void GetOutlineColor(
vtkFloatingPointType& r,vtkFloatingPointType& g,vtkFloatingPointTyp
e& b);
+ virtual void SetOutlineColor(
double r,double g,doubl
e b);
+ virtual void GetOutlineColor(
double& r,double& g,doubl
e& b);
- virtual void SetNodeColor(
vtkFloatingPointType r,vtkFloatingPointType g,vtkFloatingPointTyp
e b);
- virtual void GetNodeColor(
vtkFloatingPointType& r,vtkFloatingPointType& g,vtkFloatingPointTyp
e& b);
+ virtual void SetNodeColor(
double r,double g,doubl
e b);
+ virtual void GetNodeColor(
double& r,double& g,doubl
e& b);
- virtual void Set0DColor(
vtkFloatingPointType r,vtkFloatingPointType g,vtkFloatingPointTyp
e b);
- virtual void Get0DColor(
vtkFloatingPointType& r,vtkFloatingPointType& g,vtkFloatingPointTyp
e& b);
+ virtual void Set0DColor(
double r,double g,doubl
e b);
+ virtual void Get0DColor(
double& r,double& g,doubl
e& b);
- virtual void SetBallColor(
vtkFloatingPointType r,vtkFloatingPointType g,vtkFloatingPointTyp
e b);
- virtual void GetBallColor(
vtkFloatingPointType& r,vtkFloatingPointType& g,vtkFloatingPointTyp
e& b);
+ virtual void SetBallColor(
double r,double g,doubl
e b);
+ virtual void GetBallColor(
double& r,double& g,doubl
e& b);
- virtual void SetHighlightColor(
vtkFloatingPointType r,vtkFloatingPointType g,vtkFloatingPointTyp
e b);
- virtual void GetHighlightColor(
vtkFloatingPointType& r,vtkFloatingPointType& g,vtkFloatingPointTyp
e& b);
+ virtual void SetHighlightColor(
double r,double g,doubl
e b);
+ virtual void GetHighlightColor(
double& r,double& g,doubl
e& b);
- virtual void SetPreHighlightColor(
vtkFloatingPointType r,vtkFloatingPointType g,vtkFloatingPointTyp
e b);
- virtual void GetPreHighlightColor(
vtkFloatingPointType& r,vtkFloatingPointType& g,vtkFloatingPointTyp
e& b);
+ virtual void SetPreHighlightColor(
double r,double g,doubl
e b);
+ virtual void GetPreHighlightColor(
double& r,double& g,doubl
e& b);
- virtual
vtkFloatingPointTyp
e GetLineWidth();
- virtual void SetLineWidth(
vtkFloatingPointTyp
e theVal);
+ virtual
doubl
e GetLineWidth();
+ virtual void SetLineWidth(
doubl
e theVal);
- virtual
vtkFloatingPointTyp
e GetOutlineWidth();
- virtual void SetOutlineWidth(
vtkFloatingPointTyp
e theVal);
+ virtual
doubl
e GetOutlineWidth();
+ virtual void SetOutlineWidth(
doubl
e theVal);
- virtual void Set0DSize(
vtkFloatingPointTyp
e size);
- virtual
vtkFloatingPointTyp
e Get0DSize();
+ virtual void Set0DSize(
doubl
e size);
+ virtual
doubl
e Get0DSize();
- virtual void SetBallSize(vtkFloatingPointType size);
- virtual vtkFloatingPointType GetBallSize();
+ virtual void SetBallSize(double size);
+ virtual double GetBallSize();
+
+ virtual void SetBallScale(double size);
+ virtual double GetBallScale();
virtual int GetNodeObjId(int theVtkID);
virtual int GetNodeObjId(int theVtkID);
- virtual
vtkFloatingPointTyp
e* GetNodeCoord(int theObjID);
+ virtual
doubl
e* GetNodeCoord(int theObjID);
virtual int GetElemObjId(int theVtkID);
virtual vtkCell* GetElemCell(int theObjID);
virtual int GetElemObjId(int theVtkID);
virtual vtkCell* GetElemCell(int theObjID);
@@
-162,15
+166,15
@@
class SMESH_ActorDef : public SMESH_Actor
virtual void SetPointRepresentation(bool theIsPointsVisible);
virtual bool GetPointRepresentation();
virtual void SetPointRepresentation(bool theIsPointsVisible);
virtual bool GetPointRepresentation();
- virtual
vtkFloatingPointTyp
e* GetBounds();
+ virtual
doubl
e* GetBounds();
virtual void SetTransform(VTKViewer_Transform* theTransform);
virtual vtkUnstructuredGrid* GetUnstructuredGrid();
virtual vtkDataSet* GetInput();
virtual vtkMapper* GetMapper();
virtual void SetTransform(VTKViewer_Transform* theTransform);
virtual vtkUnstructuredGrid* GetUnstructuredGrid();
virtual vtkDataSet* GetInput();
virtual vtkMapper* GetMapper();
- virtual
vtkFloatingPointTyp
e GetShrinkFactor();
- virtual void SetShrinkFactor(
vtkFloatingPointTyp
e theValue);
+ virtual
doubl
e GetShrinkFactor();
+ virtual void SetShrinkFactor(
doubl
e theValue);
virtual bool IsShrunkable() { return myIsShrinkable;}
virtual bool IsShrunk() { return myIsShrunk;}
virtual bool IsShrunkable() { return myIsShrinkable;}
virtual bool IsShrunk() { return myIsShrunk;}
@@
-182,10
+186,10
@@
class SMESH_ActorDef : public SMESH_Actor
virtual void SetPointsFontProperties( SMESH::LabelFont family, int size,
bool bold, bool italic, bool shadow,
virtual void SetPointsFontProperties( SMESH::LabelFont family, int size,
bool bold, bool italic, bool shadow,
-
vtkFloatingPointType r, vtkFloatingPointType g, vtkFloatingPointTyp
e b );
+
double r, double g, doubl
e b );
virtual void SetCellsFontProperties( SMESH::LabelFont family, int size,
bool bold, bool italic, bool shadow,
virtual void SetCellsFontProperties( SMESH::LabelFont family, int size,
bool bold, bool italic, bool shadow,
-
vtkFloatingPointType r, vtkFloatingPointType g, vtkFloatingPointTyp
e b );
+
double r, double g, doubl
e b );
virtual void SetCellsLabeled(bool theIsCellsLabeled);
virtual bool GetCellsLabeled();
virtual void SetCellsLabeled(bool theIsCellsLabeled);
virtual bool GetCellsLabeled();
@@
-193,11
+197,11
@@
class SMESH_ActorDef : public SMESH_Actor
virtual void SetFacesOriented(bool theIsFacesOriented);
virtual bool GetFacesOriented();
virtual void SetFacesOriented(bool theIsFacesOriented);
virtual bool GetFacesOriented();
- virtual void SetFacesOrientationColor(
vtkFloatingPointType r,vtkFloatingPointType g,vtkFloatingPointTyp
e b);
- virtual void GetFacesOrientationColor(
vtkFloatingPointType& r,vtkFloatingPointType& g,vtkFloatingPointTyp
e& b);
+ virtual void SetFacesOrientationColor(
double r,double g,doubl
e b);
+ virtual void GetFacesOrientationColor(
double& r,double& g,doubl
e& b);
- virtual void SetFacesOrientationScale(
vtkFloatingPointTyp
e theScale);
- virtual
vtkFloatingPointTyp
e GetFacesOrientationScale();
+ virtual void SetFacesOrientationScale(
doubl
e theScale);
+ virtual
doubl
e GetFacesOrientationScale();
virtual void SetFacesOrientation3DVectors(bool theState);
virtual bool GetFacesOrientation3DVectors();
virtual void SetFacesOrientation3DVectors(bool theState);
virtual bool GetFacesOrientation3DVectors();
@@
-212,6
+216,8
@@
class SMESH_ActorDef : public SMESH_Actor
virtual vtkIdType GetNumberOfClippingPlanes();
virtual vtkPlane* GetClippingPlane(vtkIdType theID);
virtual vtkIdType AddClippingPlane(vtkPlane* thePlane);
virtual vtkIdType GetNumberOfClippingPlanes();
virtual vtkPlane* GetClippingPlane(vtkIdType theID);
virtual vtkIdType AddClippingPlane(vtkPlane* thePlane);
+ virtual void AddOpenGLClippingPlane(vtkPlane* thePlane);
+ virtual void SetOpenGLClippingPlane();
virtual TVisualObjPtr GetObject() { return myVisualObj;}
virtual TVisualObjPtr GetObject() { return myVisualObj;}
@@
-259,9
+265,6
@@
class SMESH_ActorDef : public SMESH_Actor
vtkProperty* myOutLineProp;
vtkProperty* myPreselectProp;
vtkProperty* myOutLineProp;
vtkProperty* myPreselectProp;
- vtkProperty* myBallHighlightProp;
- vtkProperty* myBallPreselectProp;
-
SMESH_DeviceActor* myHighlitableActor;
eControl myControlMode;
SMESH_DeviceActor* myHighlitableActor;
eControl myControlMode;
@@
-299,6
+302,7
@@
class SMESH_ActorDef : public SMESH_Actor
bool myIsShrunk;
vtkImplicitBoolean* myImplicitBoolean;
bool myIsShrunk;
vtkImplicitBoolean* myImplicitBoolean;
+ vtkPlaneCollection* myPlaneCollection;
typedef TVTKSmartPtr<vtkPlane> TPlanePtr;
typedef std::vector<TPlanePtr> TCippingPlaneCont;
TCippingPlaneCont myCippingPlaneCont;
typedef TVTKSmartPtr<vtkPlane> TPlanePtr;
typedef std::vector<TPlanePtr> TCippingPlaneCont;
TCippingPlaneCont myCippingPlaneCont;