-// Copyright (C) 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE
-//
-// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
+// Copyright (C) 2007-2010 CEA/DEN, EDF R&D, OPEN CASCADE
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
//
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
+
// File: VISU_CutSegmentPL.hxx
// Author: Oleg UVAROV
// Module : VISU
void
VISU_CutSegmentPL
::DoShallowCopy(VISU_PipeLine *thePipeLine,
- bool theIsCopyInput)
+ bool theIsCopyInput)
{
Superclass::DoShallowCopy(thePipeLine, theIsCopyInput);
void
VISU_CutSegmentPL
::SetPoint1(vtkFloatingPointType theX,
- vtkFloatingPointType theY,
- vtkFloatingPointType theZ )
+ vtkFloatingPointType theY,
+ vtkFloatingPointType theZ )
{
myPoint1[0] = theX;
myPoint1[1] = theY;
void
VISU_CutSegmentPL
::GetPoint1(vtkFloatingPointType& theX,
- vtkFloatingPointType& theY,
- vtkFloatingPointType& theZ )
+ vtkFloatingPointType& theY,
+ vtkFloatingPointType& theZ )
{
theX = myPoint1[0];
theY = myPoint1[1];
void
VISU_CutSegmentPL
::SetPoint2(vtkFloatingPointType theX,
- vtkFloatingPointType theY,
- vtkFloatingPointType theZ )
+ vtkFloatingPointType theY,
+ vtkFloatingPointType theZ )
{
myPoint2[0] = theX;
myPoint2[1] = theY;
void
VISU_CutSegmentPL
::GetPoint2(vtkFloatingPointType& theX,
- vtkFloatingPointType& theY,
- vtkFloatingPointType& theZ )
+ vtkFloatingPointType& theY,
+ vtkFloatingPointType& theZ )
{
theX = myPoint2[0];
theY = myPoint2[1];
}
GetBoundProject(myBoundPrjLn,
- aBounds,
- myDirLn);
+ aBounds,
+ myDirLn);
VISU::Mul(myDirLn,
- myBoundPrjLn[0],
- myBasePnt);
+ myBoundPrjLn[0],
+ myBasePnt);
CorrectPnt(myBasePnt,
- aBounds);
+ aBounds);
VISU_ScalarMapPL::Update();
}