VISU_CutLinesPL(const VISU_CutLinesPL&);
public:
vtkTypeMacro(VISU_CutLinesPL,VISU_CutPlanesPL);
- static VISU_CutLinesPL* New();
- virtual void ShallowCopy(VISU_PipeLine *thePipeLine);
- virtual void SetPosition(float thePosition);
- virtual float GetPosition();
+ static
+ VISU_CutLinesPL*
+ New();
- virtual void SetDefault();
- virtual int IsDefault();
+ virtual
+ void
+ ShallowCopy(VISU_PipeLine *thePipeLine);
+
+ virtual
+ void
+ SetPosition(vtkFloatingPointType thePosition);
+
+ virtual
+ vtkFloatingPointType
+ GetPosition();
+
+ virtual
+ void
+ SetDefault();
+
+ virtual
+ int
+ IsDefault();
public:
- virtual void Init();
- virtual void Update();
+ virtual
+ void
+ Init();
+
+ virtual
+ void
+ Update();
+
+ static
+ void
+ CutWithPlanes(vtkAppendPolyData* theAppendPolyData,
+ vtkDataSet* theDataSet,
+ int theNbPlanes,
+ vtkFloatingPointType theDir[3],
+ vtkFloatingPointType theBounds[6],
+ vtkFloatingPointType thePlanePosition,
+ int thePlaneCondition,
+ vtkFloatingPointType theDisplacement);
+
+ const vtkFloatingPointType*
+ GetDirLn()
+ {
+ return myDirLn;
+ }
+
+ const vtkFloatingPointType*
+ GetRealDirLn()
+ {
+ return myRealDirLn;
+ }
- static void CutWithPlanes(vtkAppendPolyData* theAppendPolyData, vtkDataSet* theDataSet,
- int theNbPlanes, float theDir[3], float theBounds[6],
- float thePlanePosition, int thePlaneCondition,
- float theDisplacement);
+ const vtkFloatingPointType*
+ GetBoundPrjLn()
+ {
+ return myBoundPrjLn;
+ }
- const float* GetDirLn(){ return myDirLn;}
- const float* GetBoundPrjLn(){ return myBoundPrjLn;}
- const float* GetBasePnt(){ return myBasePnt;}
+ const vtkFloatingPointType*
+ GetBasePnt()
+ {
+ return myBasePnt;
+ }
protected:
- float myDirLn[3], myBoundPrjLn[3], myBasePnt[3];
- float myPosition;
+ vtkFloatingPointType myDirLn[3];
+ vtkFloatingPointType myRealDirLn[3];
+ vtkFloatingPointType myBoundPrjLn[3];
+ vtkFloatingPointType myBasePnt[3];
+ vtkFloatingPointType myPosition;
int myCondition;
};