mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-16 10:38:34 +05:00
61 lines
1.3 KiB
C
61 lines
1.3 KiB
C
|
#ifndef GEOM_DEVICEACTOR_H
|
||
|
#define GEOM_DEVICEACTOR_H
|
||
|
|
||
|
#include "GEOM_SmartPtr.h"
|
||
|
|
||
|
class vtkPoints;
|
||
|
typedef GEOM_SmartPtr<vtkPoints> PPoints;
|
||
|
|
||
|
class vtkPolyData;
|
||
|
typedef GEOM_SmartPtr<vtkPolyData> PPolyData;
|
||
|
|
||
|
class vtkStripper;
|
||
|
typedef GEOM_SmartPtr<vtkStripper> PStripper;
|
||
|
|
||
|
class vtkPolyDataNormals;
|
||
|
typedef GEOM_SmartPtr<vtkPolyDataNormals> PPolyDataNormals;
|
||
|
|
||
|
class vtkActor;
|
||
|
typedef GEOM_SmartPtr<vtkActor> PActor;
|
||
|
|
||
|
class vtkProperty;
|
||
|
class vtkRenderer;
|
||
|
|
||
|
#include <vtkObject.h>
|
||
|
|
||
|
|
||
|
class VTK_EXPORT GEOM_DeviceActor: public vtkObject
|
||
|
{
|
||
|
public:
|
||
|
vtkTypeMacro(GEOM_DeviceActor,vtkObject);
|
||
|
static GEOM_DeviceActor* New();
|
||
|
|
||
|
void SetProperty(vtkProperty* theProperty);
|
||
|
vtkProperty* GetProperty();
|
||
|
|
||
|
void SetVisibility(int theVisibility);
|
||
|
int GetVisibility();
|
||
|
|
||
|
void SetInput(vtkPolyData* thePolyData, bool theUseStripper);
|
||
|
|
||
|
void AddToRender(vtkRenderer* theRenderer);
|
||
|
void RemoveFromRender(vtkRenderer* theRenderer);
|
||
|
|
||
|
protected:
|
||
|
PPolyDataNormals myPolyDataNormals;
|
||
|
PPolyDataMapper myPolyDataMapper;
|
||
|
PStripper myStripper;
|
||
|
PActor myActor;
|
||
|
|
||
|
GEOM_DeviceActor();
|
||
|
~GEOM_DeviceActor();
|
||
|
|
||
|
private:
|
||
|
// Not implememnted
|
||
|
GEOM_DeviceActor(const GEOM_DeviceActor&);
|
||
|
void operator=(const GEOM_DeviceActor&);
|
||
|
};
|
||
|
|
||
|
|
||
|
#endif //GEOM_DEVICEACTOR_H
|