SALOME_Actor
::SetTransform(VTKViewer_Transform* theTransform)
{
- myTransformFilter->SetTransform(theTransform);
+ Superclass::SetTransform(theTransform);
+
+ myPreHighlightActor->SetTransform(theTransform);
+ myHighlightActor->SetTransform(theTransform);
myOutlineActor->SetTransform(theTransform);
}
aMapper->SetInput(myPassFilter[anId]->GetPolyDataOutput());
}
}
- vtkLODActor::SetMapper(theMapper);
+ Superclass::SetMapper(theMapper);
}
vtkMapper::SetResolveCoincidentTopologyToPolygonOffset();
vtkMapper::SetResolveCoincidentTopologyPolygonOffsetParameters(myPolygonOffsetFactor,
myPolygonOffsetUnits);
- vtkLODActor::Render(ren,m);
+ Superclass::Render(ren,m);
vtkMapper::SetResolveCoincidentTopologyPolygonOffsetParameters(aFactor,aUnit);
vtkMapper::SetResolveCoincidentTopology(aResolveCoincidentTopology);
}else{
- vtkLODActor::Render(ren,m);
+ Superclass::Render(ren,m);
}
}
if(theSelectionMode != ActorSelection)
myHighlightActor->SetVisibility( theHighlight );
- myOutline->SetBounds( GetBounds() );
+ myOutline->SetBounds( GetInput()->GetBounds() );
myOutlineActor->SetVisibility( theHighlight );
}
}
public:
static SALOME_Actor* New();
- vtkTypeMacro(SALOME_Actor,vtkLODActor);
+ vtkTypeMacro(SALOME_Actor,VTKViewer_Actor);
//----------------------------------------------------------------------------
virtual