SetPointSpriteMapper( aMapper );
+ myGeomFilter->SetAppendCoincident3D(true);
+
aMapper->Delete();
myEventCallbackCommand->SetClientData( this );
vtkMatrix4x4 *aMatrix = vtkMatrix4x4::New();
mySurfaceActor= SVTK_DeviceActor::New();
- mySurfaceActor->SetRepresentation(SVTK::Representation::Surface);
+ mySurfaceActor->SetRepresentation(VTKViewer::Representation::Surface);
mySurfaceActor->SetProperty(aProperty);
mySurfaceActor->SetUserMatrix(aMatrix);
+ mySurfaceActor->SetCoincident3DAllowed(true);
myEdgeActor = SVTK_DeviceActor::New();
- myEdgeActor->SetRepresentation(SVTK::Representation::Wireframe);
+ myEdgeActor->SetRepresentation(VTKViewer::Representation::Wireframe);
myEdgeActor->SetUserMatrix(aMatrix);
myEdgeActor->GetProperty()->SetColor(255.,255.,255.);
+ myEdgeActor->SetCoincident3DAllowed(true);
+
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();