-// Copyright (C) 2007-2012 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2023 CEA, EDF, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
// 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
class vtkShrinkFilter;
class vtkFeatureEdges;
class VTKViewer_DataSetMapper;
-class vtkPassThroughFilter;
+class vtkPassThrough;
class vtkAlgorithmOutput;
#ifdef WIN32
class SVTK_EXPORT SVTK_DeviceActor: public vtkLODActor
{
public:
- vtkTypeMacro(SVTK_DeviceActor,vtkLODActor);
+ vtkTypeMacro(SVTK_DeviceActor,vtkLODActor)
static
SVTK_DeviceActor*
/** @name For selection mapping purpose */
//@{
virtual
- int
- GetNodeObjId(int theVtkID);
+ vtkIdType
+ GetNodeObjId(vtkIdType theVtkID);
virtual
double*
- GetNodeCoord(int theObjID);
+ GetNodeCoord(vtkIdType theObjID);
virtual
- int
- GetElemObjId(int theVtkID);
+ vtkIdType
+ GetElemObjId(vtkIdType theVtkID);
virtual
vtkCell*
- GetElemCell(int theObjID);
+ GetElemCell(vtkIdType theObjID);
//! To provide VTK to Object and backward mapping
virtual
//@}
virtual
- unsigned long int
+ vtkMTimeType
GetMTime();
/** @name For shrink mamnagement purpose */
SetShaded(bool theShaded);
//@}
+ /** @name For ball marker management purpose */
+ void
+ SetBallEnabled( bool );
+
/** @name For marker management purpose */
void
SetMarkerEnabled( bool );
+ void
+ SetBallScale( double );
+
void
SetMarkerStd( VTK::MarkerType, VTK::MarkerScale );
VTKViewer_GeometryFilter *myGeomFilter;
VTKViewer_TransformFilter *myTransformFilter;
- std::vector<vtkPassThroughFilter*> myPassFilter;
+ std::vector<vtkPassThrough*> myPassFilter;
vtkShrinkFilter* myShrinkFilter;
vtkFeatureEdges* myFeatureEdges;
VTKViewer_DataSetMapper* myMapper;