{
UnShrink();
}
- SetFeatureEdgesEnabled( theMode == SVTK::Representation::FeatureEdges );
+ SetFeatureEdgesEnabled( theMode == VTKViewer::Representation::FeatureEdges );
}
#include "SALOME_Actor.h"
#include "VISU_ActorBase.h"
#include "VISU_BoostSignals.h"
-#include "SVTK_DeviceActor.h"
+#include "VTKViewer_Actor.h"
#include <string>
#include <vtkTimeStamp.h>
#define VTK_XVERSION (VTK_MAJOR_VERSION<<16)+(VTK_MINOR_VERSION<<8)+(VTK_BUILD_VERSION)
#endif
-namespace SVTK
+namespace VTKViewer
{
namespace Representation
{
m = vtkMatrix4x4::New();
mySurfaceActor = SVTK_DeviceActor::New();
- mySurfaceActor->SetRepresentation(SVTK::Representation::Surface);
+ mySurfaceActor->SetRepresentation(VTKViewer::Representation::Surface);
mySurfaceActor->SetUserMatrix(m);
myEdgeActor = SVTK_DeviceActor::New();
- myEdgeActor->SetRepresentation(SVTK::Representation::Wireframe);
+ myEdgeActor->SetRepresentation(VTKViewer::Representation::Wireframe);
myEdgeActor->SetUserMatrix(m);
myNodeActor = SVTK_DeviceActor::New();
- myNodeActor->SetRepresentation(SVTK::Representation::Points);
+ myNodeActor->SetRepresentation(VTKViewer::Representation::Points);
myNodeActor->SetUserMatrix(m);
m->Delete();
- SetRepresentation(SVTK::Representation::Surface);
+ SetRepresentation(VTKViewer::Representation::Surface);
SUIT_ResourceMgr* aResourceMgr = SUIT_Session::session()->resourceMgr();
//Quadratic 2D elements representation
{
Superclass::SetRepresentation(theMode);
- if(theMode == SVTK::Representation::Insideframe)
- myEdgeActor->SetRepresentation(SVTK::Representation::Insideframe);
+ if(theMode == VTKViewer::Representation::Insideframe)
+ myEdgeActor->SetRepresentation(VTKViewer::Representation::Insideframe);
else
- myEdgeActor->SetRepresentation(SVTK::Representation::Wireframe);
+ myEdgeActor->SetRepresentation(VTKViewer::Representation::Wireframe);
}
//----------------------------------------------------------------------------
GetMatrix(myEdgeActor->GetUserMatrix());
GetMatrix(mySurfaceActor->GetUserMatrix());
- using namespace SVTK::Representation;
+ using namespace VTKViewer::Representation;
switch(GetRepresentation()){
case Points :
myNodeActor->SetAllocatedRenderTime(this->AllocatedRenderTime,ren);
GetMatrix(myEdgeActor->GetUserMatrix());
GetMatrix(mySurfaceActor->GetUserMatrix());
- using namespace SVTK::Representation;
+ using namespace VTKViewer::Representation;
switch(GetRepresentation()){
case Points :
myNodeActor->SetAllocatedRenderTime(this->AllocatedRenderTime,ren);
{
int result = 0;
- using namespace SVTK::Representation;
+ using namespace VTKViewer::Representation;
switch ( GetRepresentation() ) {
case Points:
result |= myNodeActor->HasTranslucentPolygonalGeometry();
vtkMatrix4x4 *aMatrix = vtkMatrix4x4::New();
mySurfaceActor= SVTK_DeviceActor::New();
- mySurfaceActor->SetRepresentation(SVTK::Representation::Surface);
+ mySurfaceActor->SetRepresentation(VTKViewer::Representation::Surface);
mySurfaceActor->SetProperty(aProperty);
mySurfaceActor->SetUserMatrix(aMatrix);
myEdgeActor = SVTK_DeviceActor::New();
- myEdgeActor->SetRepresentation(SVTK::Representation::Wireframe);
+ myEdgeActor->SetRepresentation(VTKViewer::Representation::Wireframe);
myEdgeActor->SetUserMatrix(aMatrix);
myEdgeActor->GetProperty()->SetColor(255.,255.,255.);
myPointsActor = SVTK_DeviceActor::New();
- myPointsActor->SetRepresentation(SVTK::Representation::Points);
+ myPointsActor->SetRepresentation(VTKViewer::Representation::Points);
myPointsActor->SetProperty(aProperty);
myPointsActor->SetUserMatrix(aMatrix);
Superclass::SetRepresentation(theMode);
- if(theMode == SVTK::Representation::Surfaceframe)
- mySurfaceActor->SetRepresentation(SVTK::Representation::Surface);
+ if(theMode == VTKViewer::Representation::Surfaceframe)
+ mySurfaceActor->SetRepresentation(VTKViewer::Representation::Surface);
else
mySurfaceActor->SetRepresentation(theMode);
GetMatrix(myPointsActor->GetUserMatrix());
GetMatrix(myPointSpriteActor->GetUserMatrix());
- using namespace SVTK::Representation;
+ using namespace VTKViewer::Representation;
switch ( GetRepresentation() ) {
case Surfaceframe:
GetMatrix(myEdgeActor->GetUserMatrix());
GetMatrix(mySurfaceActor->GetUserMatrix());
- using namespace SVTK::Representation;
+ using namespace VTKViewer::Representation;
switch ( GetRepresentation() ) {
case Surfaceframe:
{
int result = 0;
- using namespace SVTK::Representation;
+ using namespace VTKViewer::Representation;
switch ( GetRepresentation() ) {
case Surfaceframe:
result |= mySurfaceActor->HasTranslucentPolygonalGeometry();
#include "VISU_OBJECT.h"
#include "VISU_DataSetActor.h"
+#include "SVTK_DeviceActor.h"
namespace VTK
{