return this;
}
+//----------------------------------------------------------------------------
void
VISU::Prs3d_i
::ToStream(std::ostringstream& theStr)
}
+//----------------------------------------------------------------------------
struct TRemoveFromStudy: public SALOME_Event
{
VISU::Prs3d_i* myRemovable;
}
};
+//----------------------------------------------------------------------------
void
VISU::Prs3d_i
::RemoveFromStudy()
return myPipeLine;
}
+//----------------------------------------------------------------------------
void
VISU::Prs3d_i
::SetPipeLine(VISU_PipeLine* thePipeLine)
myPipeLine = thePipeLine;
}
+//----------------------------------------------------------------------------
bool
VISU::Prs3d_i
::IsPipeLineExists()
{
return myPipeLine != NULL;
}
+
+//----------------------------------------------------------------------------
VISU_PipeLine*
VISU::Prs3d_i
::GetPL()
return GetPipeLine();
}
+//----------------------------------------------------------------------------
vtkUnstructuredGrid*
-VISU::Prs3d_i::
-GetInput()
+VISU::Prs3d_i
+::GetInput()
{
return GetPipeLine()->GetInput();
}
+//----------------------------------------------------------------------------
Handle(SALOME_InteractiveObject)
-VISU::Prs3d_i::
-GetIO()
+VISU::Prs3d_i
+::GetIO()
{
if( myIO.IsNull() )
myIO = new SALOME_InteractiveObject(GetEntry().c_str(), "VISU", GetName().c_str());
}
}
+//----------------------------------------------------------------------------
void
VISU::Prs3d_i
::RemoveActor(VISU_Actor* theActor)
myActorCollection->RemoveItem(theActor);
}
+//----------------------------------------------------------------------------
void
VISU::Prs3d_i
::RemoveActors()
myActorCollection->RemoveAllItems();
}
+//----------------------------------------------------------------------------
void
VISU::Prs3d_i
::UpdateActor(VISU_Actor* theActor)
GetPipeLine()->RemoveAllClippingPlanes();
}
+//----------------------------------------------------------------------------
bool
VISU::Prs3d_i
::AddClippingPlane(vtkPlane* thePlane)
return GetPipeLine()->AddClippingPlane(thePlane);
}
+//----------------------------------------------------------------------------
vtkIdType
VISU::Prs3d_i
::GetNumberOfClippingPlanes() const
return GetPipeLine()->GetNumberOfClippingPlanes();
}
+//----------------------------------------------------------------------------
vtkPlane*
VISU::Prs3d_i::
GetClippingPlane(vtkIdType theID) const
return GetPipeLine()->GetClippingPlane(theID);
}
+//----------------------------------------------------------------------------
void
VISU::Prs3d_i
::SetPlaneParam(vtkFloatingPointType theDir[3],
GetPipeLine()->GetMapper()->GetBounds(aBounds);
}
+//----------------------------------------------------------------------------
void
VISU::Prs3d_i
::SetOffset(const CORBA::Float* theOffsets)
myParamsTime.Modified();
}
+//----------------------------------------------------------------------------
void
VISU::Prs3d_i
::SetOffset(CORBA::Float theDx,
myParamsTime.Modified();
}
+//----------------------------------------------------------------------------
void
VISU::Prs3d_i
::GetOffset(CORBA::Float* theOffsets)
theOffsets[2] = myOffset[2];
}
+//----------------------------------------------------------------------------
void
VISU::Prs3d_i
::GetOffset(CORBA::Float& theDx,