float
VISU_GaussPtsAct
-::GetRadius(vtkIdType theVTKID,
+::GetRadius(vtkIdType theObjID,
+ vtkIdType theVTKID,
vtkDataArray *theScalarArray)
{
return ::GetRadius(theVTKID,theScalarArray,myDeviceActor->GetPipeLine());
VISU_GaussPtsAct
::GetMagnification(vtkIdType theObjID)
{
- return GetGaussPointsPL()->GetMagnification();
+ return myDeviceActor->GetPipeLine()->GetMagnification();
}
VISU_GaussPtsAct
::GetClamp(vtkIdType theObjID)
{
- return ::GetClamp(GetGaussPointsPL());
+ return ::GetClamp(myDeviceActor->GetPipeLine());
}
myCursorPyramid->Init(aPyramidHeight,
myPickingSettings->GetCursorSize(),
- GetRadius(aVtkId,aScalarArray),
- GetMagnification(aVtkId),
+ GetRadius(anObjId,aVtkId,aScalarArray),
+ GetMagnification(anObjId),
GetClamp(anObjId),
aNodeCoord,
aColor);
aPyramidHeight = aPyramidHeight*myGaussPointsPL->GetMaxPointSize();
myCursorPyramidSelected->Init(aPyramidHeight,
myPickingSettings->GetCursorSize(),
- GetRadius(aVtkId,aScalarArray),
- GetMagnification(aVtkId),
+ GetRadius(anObjId,aVtkId,aScalarArray),
+ GetMagnification(anObjId),
GetClamp(anObjId),
aNodeCoord,
myHighlightActor->GetProperty()->GetColor());
myOutsideDeviceActor->GetPipeLine()->SetImplicitFunction(theWidgetCtrl->ImplicitFunction());
myOutsideDeviceActor->SetVisibility(GetVisibility() && theWidgetCtrl->GetEnabled());
-
- if (theWidgetCtrl->GetEnabled()) {
- myCurrentPL = myInsideDeviceActor->GetPipeLine();
- }
}
Superclass::SetWidgetCtrl(theWidgetCtrl);
//----------------------------------------------------------------------------
float
VISU_GaussPtsAct1
-::GetRadius(vtkIdType theVTKID,
+::GetRadius(vtkIdType theObjID,
+ vtkIdType theVTKID,
vtkDataArray *theScalarArray)
{
VISU_GaussPointsPL* aPipeLine = myDeviceActor->GetPipeLine();
if(myWidgetCtrl && myWidgetCtrl->GetEnabled()){
- if(myInsideDeviceActor->GetPipeLine()->GetElemObjID(theVTKID) < 0)
+ if(myInsideDeviceActor->GetPipeLine()->GetNodeVTKID(theObjID) < 0)
aPipeLine = myOutsideDeviceActor->GetPipeLine();
else
aPipeLine = myInsideDeviceActor->GetPipeLine();
{
VISU_GaussPointsPL* aPipeLine = myDeviceActor->GetPipeLine();
if(myWidgetCtrl && myWidgetCtrl->GetEnabled()){
- if(myInsideDeviceActor->GetPipeLine()->GetElemVTKID(theObjID) < 0)
+ if(myInsideDeviceActor->GetPipeLine()->GetNodeVTKID(theObjID) < 0)
aPipeLine = myOutsideDeviceActor->GetPipeLine();
else
aPipeLine = myInsideDeviceActor->GetPipeLine();
::GetClamp(vtkIdType theObjID)
{
if(myWidgetCtrl && myWidgetCtrl->GetEnabled()){
- if(myInsideDeviceActor->GetPipeLine()->GetElemVTKID(theObjID) < 0)
+ if(myInsideDeviceActor->GetPipeLine()->GetNodeVTKID(theObjID) < 0)
return ::GetClamp(myOutsideDeviceActor->GetPipeLine());
else
return ::GetClamp(myInsideDeviceActor->GetPipeLine());