#ifndef SVTK_DEVICE_ACTOR_H
#define SVTK_DEVICE_ACTOR_H
+#include "SVTK.h"
+#include "VTKViewer.h"
+
#include <vector>
#include <vtkLODActor.h>
class vtkShrinkFilter;
class vtkDataSetMapper;
-//----------------------------------------------------------------------------
namespace SVTK
{
namespace Representation
}
-//----------------------------------------------------------------------------
-class SVTK_DeviceActor: public vtkLODActor
+class SVTK_EXPORT SVTK_DeviceActor: public vtkLODActor
{
public:
vtkTypeMacro(SVTK_DeviceActor,vtkLODActor);
GetNodeObjId(int theVtkID);
virtual
- float*
+ vtkFloatingPointType*
GetNodeCoord(int theObjID);
virtual
/** @name For shrink mamnagement purpose */
//@{
- float
+ vtkFloatingPointType
GetShrinkFactor();
virtual
void
- SetShrinkFactor(float value);
+ SetShrinkFactor(vtkFloatingPointType value);
virtual
void
GetRepresentation();
virtual
- float
+ vtkFloatingPointType
GetDefaultPointSize();
virtual
- float
+ vtkFloatingPointType
GetDefaultLineWidth();
bool
bool myIsShrunk;
bool myIsResolveCoincidentTopology;
- float myPolygonOffsetFactor;
- float myPolygonOffsetUnits;
+ vtkFloatingPointType myPolygonOffsetFactor;
+ vtkFloatingPointType myPolygonOffsetUnits;
- void SetPolygonOffsetParameters(float factor, float units);
- void GetPolygonOffsetParameters(float& factor, float& units);
+ void SetPolygonOffsetParameters(vtkFloatingPointType factor,
+ vtkFloatingPointType units);
+ void GetPolygonOffsetParameters(vtkFloatingPointType& factor,
+ vtkFloatingPointType& units);
SVTK_DeviceActor();
~SVTK_DeviceActor();