VISU_CutLinesPL Class Reference

#include <VISU_CutLinesPL.hxx>

Inheritance diagram for VISU_CutLinesPL:

Inheritance graph

Public Types

enum  PlaneOrientation { XY, YZ, ZX }
typedef vtkMapper TMapper

Public Member Functions

 vtkTypeMacro (VISU_CutLinesPL, VISU_CutPlanesPL)
virtual void ShallowCopy (VISU_PipeLine *thePipeLine)
virtual void SetPosition (vtkFloatingPointType thePosition)
virtual vtkFloatingPointType GetPosition ()
virtual void SetDefault ()
virtual int IsDefault ()
virtual void Init ()
virtual void Update ()
const vtkFloatingPointType * GetDirLn ()
const vtkFloatingPointType * GetRealDirLn ()
const vtkFloatingPointType * GetBoundPrjLn ()
const vtkFloatingPointType * GetBasePnt ()
 vtkTypeMacro (VISU_CutPlanesPL, VISU_ScalarMapPL)
 vtkTypeMacro (VISU_ScalarMapPL, VISU_PipeLine)
 vtkTypeMacro (VISU_PipeLine, vtkObject)
virtual void SetOrientation (const VISU_CutPlanesPL::PlaneOrientation &theOrient, vtkFloatingPointType theXAng, vtkFloatingPointType theYAng, int theNum=0)
virtual const PlaneOrientationGetPlaneOrientation (int theNum=0)
virtual vtkFloatingPointType GetRotateX (int theNum=0)
virtual vtkFloatingPointType GetRotateY (int theNum=0)
virtual vtkFloatingPointType GetDisplacement (int theNum=0)
virtual void SetDisplacement (vtkFloatingPointType theDisp, int theNum=0)
virtual void SetPartPosition (int thePartNumber, vtkFloatingPointType thePartPosition)
virtual vtkFloatingPointType GetPartPosition (int thePartNumber, int theNum=0)
virtual void SetPartDefault (int thePartNumber)
virtual int IsPartDefault (int thePartNumber)
virtual void SetNbParts (int theNb)
virtual int GetNbParts ()
virtual vtkAppendPolyData * GetAppendPolyData ()
virtual int GetScalarMode ()
virtual void SetScalarMode (int theScalarMode=0)
virtual int GetScaling ()
virtual void SetScaling (int theScaling=VTK_SCALE_LINEAR)
virtual vtkFloatingPointType * GetScalarRange ()
virtual void SetScalarRange (vtkFloatingPointType theRange[2])
virtual void SetScalarMin (vtkFloatingPointType theValue)
virtual void SetScalarMax (vtkFloatingPointType theValue)
virtual void SetNbColors (int theNbColors=16)
virtual int GetNbColors ()
virtual void Build ()
virtual VISU_LookupTableGetMapperTable ()
virtual VISU_LookupTableGetBarTable ()
virtual void SetMapScale (vtkFloatingPointType theMapScale=1.0)
virtual vtkFloatingPointType GetMapScale ()
virtual void GetSourceRange (vtkFloatingPointType theRange[2])
virtual void SetSourceRange ()
virtual void DebugOn ()
virtual void DebugOff ()
virtual void SameAs (VISU_PipeLine *thePipeLine)
virtual void SetInput (TInput *theInput)
virtual TInputGetInput () const
virtual vtkDataSet * GetOutput ()
bool IsPlanarInput () const
virtual TMapperGetMapper ()
void RemoveAllClippingPlanes ()
vtkIdType GetNumberOfClippingPlanes () const
bool AddClippingPlane (vtkPlane *thePlane)
vtkPlaneGetClippingPlane (vtkIdType theID) const
void SetPlaneParam (vtkFloatingPointType theDir[3], vtkFloatingPointType theDist, vtkPlane *thePlane)
void GetPlaneParam (vtkFloatingPointType theDir[3], vtkFloatingPointType &theDist, vtkPlane *thePlane)
bool IsShrinkable ()
virtual vtkIdType GetNodeObjID (vtkIdType theID)
virtual vtkIdType GetNodeVTKID (vtkIdType theID)
virtual vtkFloatingPointType * GetNodeCoord (vtkIdType theObjID)
virtual vtkIdType GetElemObjID (vtkIdType theID)
virtual vtkIdType GetElemVTKID (vtkIdType theID)
virtual vtkCell * GetElemCell (vtkIdType theObjID)
void SetIDMapper (const VISU::PIDMapper &theIDMapper)
const VISU::PIDMapperGetIDMapper () const
void SetImplicitFunction (vtkImplicitFunction *theFunction)
vtkImplicitFunctionGetImplicitFunction ()
SALOME_ExtractGeometryGetExtractGeometryFilter ()

Static Public Member Functions

static VISU_CutLinesPLNew ()
static void CutWithPlanes (vtkAppendPolyData *theAppendPolyData, vtkDataSet *theDataSet, int theNbPlanes, vtkFloatingPointType theDir[3], vtkFloatingPointType theBounds[6], vtkFloatingPointType thePlanePosition, int thePlaneCondition, vtkFloatingPointType theDisplacement)
static vtkFloatingPointType * GetRx (vtkFloatingPointType theRx[3][3], vtkFloatingPointType thaAng)
static vtkFloatingPointType * GetRy (vtkFloatingPointType theRy[3][3], vtkFloatingPointType thaAng)
static vtkFloatingPointType * GetRz (vtkFloatingPointType theRz[3][3], vtkFloatingPointType thaAng)
static void CorrectPnt (vtkFloatingPointType thePnt[3], const vtkFloatingPointType BoundPrj[6])
static void GetBoundProject (vtkFloatingPointType BoundPrj[3], const vtkFloatingPointType BoundBox[6], const vtkFloatingPointType Dir[3])
static void GetDir (vtkFloatingPointType theDir[3], const vtkFloatingPointType theAng[3], const PlaneOrientation &theBasePlane)
static void ClearAppendPolyData (vtkAppendPolyData *theAppendPolyData)
static void CutWithPlane (vtkAppendPolyData *theAppendPolyData, vtkDataSet *theDataSet, vtkFloatingPointType theDir[3], vtkFloatingPointType theOrig[3])
static void CutWithPlanes (vtkAppendPolyData *theAppendPolyData, vtkDataSet *theDataSet, int theNbPlanes, vtkFloatingPointType theDir[3], vtkFloatingPointType theBounds[6], const std::vector< vtkFloatingPointType > &thePlanePosition, const std::vector< int > &thePlaneCondition, vtkFloatingPointType theDisplacement)
static int CheckAvailableMemory (const vtkFloatingPointType &theSize)
static vtkFloatingPointType GetAvailableMemory (vtkFloatingPointType theSize=16 *1024 *1024.0, vtkFloatingPointType theMinSize=1024 *1024.0)

Protected Types

typedef vtkDataSet THook

Protected Member Functions

 VISU_CutLinesPL ()
 VISU_CutLinesPL (const VISU_CutLinesPL &)
void SetPartPosition (int theNum=0)
virtual THookDoHook ()
virtual TInputGetInput2 () const

Protected Attributes

vtkFloatingPointType myDirLn [3]
vtkFloatingPointType myRealDirLn [3]
vtkFloatingPointType myBoundPrjLn [3]
vtkFloatingPointType myBasePnt [3]
vtkFloatingPointType myPosition
int myCondition
int myNbParts
PlaneOrientation myBasePlane [2]
vtkFloatingPointType myAng [2][3]
vtkFloatingPointType myDisplacement [2]
vtkAppendPolyData * myAppendPolyData
std::vector< vtkFloatingPointType > myPartPosition
std::vector< int > myPartCondition
VISU_LookupTablemyMapperTable
VISU_LookupTablemyBarTable
VISU_FieldTransformmyFieldTransform
VISU_ExtractormyExtractor
bool myIsShrinkable
TVTKSmartPtr< TInputmyInput
VISU::PIDMapper myIDMapper
TVTKSmartPtr< vtkDataSetMapper > myMapper
TVTKSmartPtr< SALOME_ExtractGeometrymyExtractGeometry

Member Typedef Documentation

typedef vtkDataSet VISU_ScalarMapPL.THook [protected, inherited]
 

typedef vtkMapper VISU_PipeLine.TMapper [inherited]
 


Member Enumeration Documentation

enum VISU_CutPlanesPL::PlaneOrientation [inherited]
 

Enumerator:
XY 
YZ 
ZX 


Constructor & Destructor Documentation

VISU_CutLinesPL::VISU_CutLinesPL  )  [protected]
 

VISU_CutLinesPL.VISU_CutLinesPL const VISU_CutLinesPL  )  [protected]
 


Member Function Documentation

VISU_CutLinesPL.vtkTypeMacro VISU_CutLinesPL  ,
VISU_CutPlanesPL 
 

static VISU_CutLinesPL* VISU_CutLinesPL.New  )  [static]
 

Reimplemented from VISU_CutPlanesPL.

void VISU_CutLinesPL::ShallowCopy VISU_PipeLine thePipeLine  )  [virtual]
 

Reimplemented from VISU_CutPlanesPL.

void VISU_CutLinesPL::SetPosition vtkFloatingPointType  thePosition  )  [virtual]
 

vtkFloatingPointType VISU_CutLinesPL::GetPosition  )  [virtual]
 

void VISU_CutLinesPL::SetDefault  )  [virtual]
 

int VISU_CutLinesPL::IsDefault  )  [virtual]
 

void VISU_CutLinesPL::Init  )  [virtual]
 

Reimplemented from VISU_CutPlanesPL.

void VISU_CutLinesPL::Update  )  [virtual]
 

Reimplemented from VISU_CutPlanesPL.

void VISU_CutLinesPL::CutWithPlanes vtkAppendPolyData *  theAppendPolyData,
vtkDataSet *  theDataSet,
int  theNbPlanes,
vtkFloatingPointType  theDir[3],
vtkFloatingPointType  theBounds[6],
vtkFloatingPointType  thePlanePosition,
int  thePlaneCondition,
vtkFloatingPointType  theDisplacement
[static]
 

const vtkFloatingPointType* VISU_CutLinesPL.GetDirLn  ) 
 

const vtkFloatingPointType* VISU_CutLinesPL.GetRealDirLn  ) 
 

const vtkFloatingPointType* VISU_CutLinesPL.GetBoundPrjLn  ) 
 

const vtkFloatingPointType* VISU_CutLinesPL.GetBasePnt  ) 
 

VISU_CutPlanesPL.vtkTypeMacro VISU_CutPlanesPL  ,
VISU_ScalarMapPL 
[inherited]
 

VISU_ScalarMapPL.vtkTypeMacro VISU_ScalarMapPL  ,
VISU_PipeLine 
[inherited]
 

VISU_PipeLine.vtkTypeMacro VISU_PipeLine  ,
vtkObject 
[inherited]
 

void VISU_CutPlanesPL::SetOrientation const VISU_CutPlanesPL::PlaneOrientation theOrient,
vtkFloatingPointType  theXAng,
vtkFloatingPointType  theYAng,
int  theNum = 0
[virtual, inherited]
 

const VISU_CutPlanesPL::PlaneOrientation & VISU_CutPlanesPL::GetPlaneOrientation int  theNum = 0  )  [virtual, inherited]
 

vtkFloatingPointType VISU_CutPlanesPL::GetRotateX int  theNum = 0  )  [virtual, inherited]
 

vtkFloatingPointType VISU_CutPlanesPL::GetRotateY int  theNum = 0  )  [virtual, inherited]
 

virtual vtkFloatingPointType VISU_CutPlanesPL.GetDisplacement int  theNum = 0  )  [virtual, inherited]
 

virtual void VISU_CutPlanesPL.SetDisplacement vtkFloatingPointType  theDisp,
int  theNum = 0
[virtual, inherited]
 

void VISU_CutPlanesPL::SetPartPosition int  thePartNumber,
vtkFloatingPointType  thePartPosition
[virtual, inherited]
 

void VISU_CutPlanesPL::SetPartPosition int  theNum = 0  )  [protected, inherited]
 

vtkFloatingPointType VISU_CutPlanesPL::GetPartPosition int  thePartNumber,
int  theNum = 0
[virtual, inherited]
 

void VISU_CutPlanesPL::SetPartDefault int  thePartNumber  )  [virtual, inherited]
 

int VISU_CutPlanesPL::IsPartDefault int  thePartNumber  )  [virtual, inherited]
 

void VISU_CutPlanesPL::SetNbParts int  theNb  )  [virtual, inherited]
 

virtual int VISU_CutPlanesPL.GetNbParts  )  [virtual, inherited]
 

virtual vtkAppendPolyData* VISU_CutPlanesPL.GetAppendPolyData  )  [virtual, inherited]
 

vtkFloatingPointType * VISU_CutPlanesPL::GetRx vtkFloatingPointType  theRx[3][3],
vtkFloatingPointType  thaAng
[static, inherited]
 

vtkFloatingPointType * VISU_CutPlanesPL::GetRy vtkFloatingPointType  theRy[3][3],
vtkFloatingPointType  thaAng
[static, inherited]
 

vtkFloatingPointType * VISU_CutPlanesPL::GetRz vtkFloatingPointType  theRz[3][3],
vtkFloatingPointType  thaAng
[static, inherited]
 

void VISU_CutPlanesPL::CorrectPnt vtkFloatingPointType  thePnt[3],
const vtkFloatingPointType  BoundPrj[6]
[static, inherited]
 

void VISU_CutPlanesPL::GetBoundProject vtkFloatingPointType  BoundPrj[3],
const vtkFloatingPointType  BoundBox[6],
const vtkFloatingPointType  Dir[3]
[static, inherited]
 

void VISU_CutPlanesPL::GetDir vtkFloatingPointType  theDir[3],
const vtkFloatingPointType  theAng[3],
const PlaneOrientation theBasePlane
[static, inherited]
 

void VISU_CutPlanesPL::ClearAppendPolyData vtkAppendPolyData *  theAppendPolyData  )  [static, inherited]
 

void VISU_CutPlanesPL::CutWithPlane vtkAppendPolyData *  theAppendPolyData,
vtkDataSet *  theDataSet,
vtkFloatingPointType  theDir[3],
vtkFloatingPointType  theOrig[3]
[static, inherited]
 

void VISU_CutPlanesPL::CutWithPlanes vtkAppendPolyData *  theAppendPolyData,
vtkDataSet *  theDataSet,
int  theNbPlanes,
vtkFloatingPointType  theDir[3],
vtkFloatingPointType  theBounds[6],
const std::vector< vtkFloatingPointType > &  thePlanePosition,
const std::vector< int > &  thePlaneCondition,
vtkFloatingPointType  theDisplacement
[static, inherited]
 

VISU_ScalarMapPL::THook * VISU_CutPlanesPL::DoHook  )  [protected, virtual, inherited]
 

Reimplemented from VISU_ScalarMapPL.

int VISU_ScalarMapPL::GetScalarMode  )  [virtual, inherited]
 

Reimplemented in VISU_ScalarMapOnDeformedShapePL.

void VISU_ScalarMapPL::SetScalarMode int  theScalarMode = 0  )  [virtual, inherited]
 

Reimplemented in VISU_ScalarMapOnDeformedShapePL.

int VISU_ScalarMapPL::GetScaling  )  [virtual, inherited]
 

void VISU_ScalarMapPL::SetScaling int  theScaling = VTK_SCALE_LINEAR  )  [virtual, inherited]
 

Reimplemented in VISU_IsoSurfacesPL.

vtkFloatingPointType * VISU_ScalarMapPL::GetScalarRange  )  [virtual, inherited]
 

void VISU_ScalarMapPL::SetScalarRange vtkFloatingPointType  theRange[2]  )  [virtual, inherited]
 

void VISU_ScalarMapPL::SetScalarMin vtkFloatingPointType  theValue  )  [virtual, inherited]
 

void VISU_ScalarMapPL::SetScalarMax vtkFloatingPointType  theValue  )  [virtual, inherited]
 

void VISU_ScalarMapPL::SetNbColors int  theNbColors = 16  )  [virtual, inherited]
 

int VISU_ScalarMapPL::GetNbColors  )  [virtual, inherited]
 

void VISU_ScalarMapPL::Build  )  [virtual, inherited]
 

Implements VISU_PipeLine.

Reimplemented in VISU_GaussPointsPL, and VISU_ScalarMapOnDeformedShapePL.

VISU_LookupTable * VISU_ScalarMapPL::GetMapperTable  )  [virtual, inherited]
 

VISU_LookupTable * VISU_ScalarMapPL::GetBarTable  )  [virtual, inherited]
 

void VISU_ScalarMapPL::SetMapScale vtkFloatingPointType  theMapScale = 1.0  )  [virtual, inherited]
 

Reimplemented in VISU_DeformedShapePL, VISU_GaussPointsPL, VISU_IsoSurfacesPL, VISU_Plot3DPL, VISU_ScalarMapOnDeformedShapePL, VISU_StreamLinesPL, and VISU_VectorsPL.

vtkFloatingPointType VISU_ScalarMapPL::GetMapScale  )  [virtual, inherited]
 

void VISU_ScalarMapPL::GetSourceRange vtkFloatingPointType  theRange[2]  )  [virtual, inherited]
 

Reimplemented in VISU_ScalarMapOnDeformedShapePL.

void VISU_ScalarMapPL::SetSourceRange  )  [virtual, inherited]
 

void VISU_PipeLine::DebugOn  )  [virtual, inherited]
 

void VISU_PipeLine::DebugOff  )  [virtual, inherited]
 

void VISU_PipeLine::SameAs VISU_PipeLine thePipeLine  )  [virtual, inherited]
 

void VISU_PipeLine::SetInput TInput theInput  )  [virtual, inherited]
 

TInput * VISU_PipeLine::GetInput  )  const [virtual, inherited]
 

vtkDataSet * VISU_PipeLine::GetOutput  )  [virtual, inherited]
 

Reimplemented in VISU_VectorsPL.

bool VISU_PipeLine::IsPlanarInput  )  const [inherited]
 

VISU_PipeLine::TMapper * VISU_PipeLine::GetMapper  )  [virtual, inherited]
 

Reimplemented in VISU_GaussPointsPL.

int VISU_PipeLine::CheckAvailableMemory const vtkFloatingPointType &  theSize  )  [static, inherited]
 

vtkFloatingPointType VISU_PipeLine::GetAvailableMemory vtkFloatingPointType  theSize = 16 *1024 *1024.0,
vtkFloatingPointType  theMinSize = 1024 *1024.0
[static, inherited]
 

void VISU_PipeLine::RemoveAllClippingPlanes  )  [inherited]
 

vtkIdType VISU_PipeLine::GetNumberOfClippingPlanes  )  const [inherited]
 

bool VISU_PipeLine::AddClippingPlane vtkPlane thePlane  )  [inherited]
 

vtkPlane * VISU_PipeLine::GetClippingPlane vtkIdType  theID  )  const [inherited]
 

void VISU_PipeLine::SetPlaneParam vtkFloatingPointType  theDir[3],
vtkFloatingPointType  theDist,
vtkPlane thePlane
[inherited]
 

void VISU_PipeLine::GetPlaneParam vtkFloatingPointType  theDir[3],
vtkFloatingPointType &  theDist,
vtkPlane thePlane
[inherited]
 

bool VISU_PipeLine.IsShrinkable  )  [inherited]
 

vtkIdType VISU_PipeLine::GetNodeObjID vtkIdType  theID  )  [virtual, inherited]
 

vtkIdType VISU_PipeLine::GetNodeVTKID vtkIdType  theID  )  [virtual, inherited]
 

virtual vtkFloatingPointType* VISU_PipeLine.GetNodeCoord vtkIdType  theObjID  )  [virtual, inherited]
 

Reimplemented in VISU_GaussPointsPL.

vtkIdType VISU_PipeLine::GetElemObjID vtkIdType  theID  )  [virtual, inherited]
 

vtkIdType VISU_PipeLine::GetElemVTKID vtkIdType  theID  )  [virtual, inherited]
 

vtkCell * VISU_PipeLine::GetElemCell vtkIdType  theObjID  )