Version: 6.3.1
Public Types | Public Member Functions | Static Public Member Functions | Data Fields | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Private Member Functions

VISU_VectorsPL Class Reference

#include <VISU_VectorsPL.hxx>

Inheritance diagram for VISU_VectorsPL:
Inheritance graph

Public Types

enum  GlyphType { ARROW, CONE2, CONE6, NONE }
enum  GlyphPos { CENTER, TAIL, HEAD }

Public Member Functions

 vtkTypeMacro (VISU_VectorsPL, VISU_DeformedShapePL)
virtual unsigned long int GetMTime ()
virtual void SetScale (vtkFloatingPointType theScale)
virtual vtkFloatingPointType GetScale ()
virtual void SetGlyphType (GlyphType theType)
virtual GlyphType GetGlyphType () const
virtual void SetGlyphPos (GlyphPos thePos)
virtual GlyphPos GetGlyphPos () const
virtual void Init ()
virtual void Build ()
virtual void Update ()
virtual unsigned long int GetMemorySize ()
 Gets memory size used by the instance (bytes).
vtkDataSet * GetOutput ()
virtual void SetTransform (VTKViewer_Transform *theTransform)
virtual VTKViewer_Transform * GetTransform ()
virtual void SetMapScale (vtkFloatingPointType theMapScale=1.0)
 vtkTypeMacro (VISU_DeformedShapePL, VISU_ScalarMapPL)
 vtkTypeMacro (VISU_ScalarMapPL, VISU_ColoredPL)
 vtkTypeMacro (VISU_ColoredPL, VISU_PipeLine)
 vtkTypeMacro (VISU_PipeLine, vtkObject)
virtual void SetSourceGeometry ()
virtual int AddGeometry (vtkDataSet *theGeometry, const VISU::TName &theGeomName)
virtual vtkDataSet * GetGeometry (int theGeomNumber, VISU::TName &theGeomName)
virtual int GetNumberOfGeometry ()
bool IsExternalGeometryUsed ()
virtual void ClearGeometry ()
virtual void GetSourceRange (vtkFloatingPointType theRange[2])
virtual void SetGaussMetric (VISU::TGaussMetric theGaussMetric)
virtual VISU::TGaussMetric GetGaussMetric ()
virtual vtkPointSet * GetMergedInput ()
virtual void AddGeometryName (const VISU::TName &theGeomName)
virtual VISU::TName GetGeometryName (int theGeomNumber) const
virtual const VISU::TNamesGetGeometryNames () const
virtual void ClearGeometryNames ()
virtual int GetScalarMode ()
virtual void SetScalarMode (int theScalarMode=0)
virtual vtkFloatingPointType * GetScalarRange ()
virtual void SetScalarRange (vtkFloatingPointType theRange[2])
void SetScalarFilterRange (vtkFloatingPointType theRange[2])
void GetScalarFilterRange (vtkFloatingPointType theRange[2])
vtkFloatingPointType * GetScalarFilterRange ()
bool IsScalarFilterUsed ()
void UseScalarFiltering (bool theUseScalarFilter)
virtual void SetScaling (int theScaling)
virtual int GetScaling ()
virtual void SetNbColors (int theNbColors)
virtual int GetNbColors ()
vtkDoubleArray * GetDistribution ()
virtual VISU_LookupTableGetMapperTable ()
virtual VISU_LookupTableGetBarTable ()
virtual vtkFloatingPointType GetMapScale ()
virtual void SetSourceRange ()
virtual void UpdateMapperLookupTable ()
virtual void ShallowCopy (VISU_PipeLine *thePipeLine, bool theIsCopyInput)
virtual void SameAs (VISU_PipeLine *thePipeLine)
void SetMapperHolder (VISU_MapperHolder *theHolder)
VISU_MapperHolderGetMapperHolder ()
const VISU::PIDMapperGetIDMapper ()
virtual vtkDataSet * GetInput ()
virtual vtkMapper * GetMapper ()
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)
bool IsPlanarInput ()
bool IsShrinkable ()
bool IsFeatureEdgesAllowed ()
void SetImplicitFunction (vtkImplicitFunction *theFunction)
vtkImplicitFunctionGetImplicitFunction ()
void SetExtractInside (bool theMode)
void SetExtractBoundaryCells (bool theMode)
virtual void RemoveAllClippingPlanes ()
vtkIdType GetNumberOfClippingPlanes ()
virtual bool AddClippingPlane (vtkPlane *thePlane)
virtual vtkPlaneGetClippingPlane (vtkIdType theID)
virtual void RemoveClippingPlane (vtkIdType theID)
virtual void SetPlaneParam (vtkFloatingPointType theDir[3], vtkFloatingPointType theDist, vtkPlane *thePlane)
virtual void GetPlaneParam (vtkFloatingPointType theDir[3], vtkFloatingPointType &theDist, vtkPlane *thePlane)
void GetVisibleBounds (vtkFloatingPointType theBounds[6])
void SetUnstructuredGridIDMapper (const VISU::PUnstructuredGridIDMapper &theIDMapper)
VISU_DataSetMapperHolderGetDataSetMapperHolder ()
vtkDataSetMapper * GetDataSetMapper ()

Static Public Member Functions

static VISU_VectorsPLNew ()
static vtkFloatingPointType GetScaleFactor (vtkDataSet *theDataSet)
static vtkFloatingPointType GetDefaultScale (VISU_ScalarMapPL *theScalarMapPL)
static size_t CheckAvailableMemory (double theSize)
static size_t GetAvailableMemory (double theSize, double theMinSize=1024 *1024)

Data Fields

VISU::TNames myGeometryNames

Protected Member Functions

 VISU_VectorsPL ()
virtual ~VISU_VectorsPL ()
virtual vtkDataSet * InsertCustomPL ()
virtual void DoShallowCopy (VISU_PipeLine *thePipeLine, bool theIsCopyInput)
virtual void OnCreateMapperHolder ()
void SetElnoDisassembleState (bool theIsShrunk)
VISU_ExtractorGetExtractorFilter ()
VISU_FieldTransformGetFieldTransformFilter ()
virtual vtkPointSet * GetClippedInput ()
virtual void ComputeVisibleBounds ()
void SetIsShrinkable (bool theIsShrinkable)
void SetIsFeatureEdgesAllowed (bool theIsFeatureEdgesAllowed)

Static Protected Member Functions

static void SetScalarMode (int theScalarMode, vtkDataSet *theInput, VISU_Extractor *theExtractor)

Protected Attributes

GlyphType myTypeGlyph
GlyphPos myPosGlyph
vtkGlyph3D * myGlyph
vtkGlyphSource2D * myGlyphSource
vtkLineSource * myLineSource
vtkConeSource * myConeSource
VTKViewer_CellCenters * myCenters
VTKViewer_TransformFilter * myTransformFilter
VISU_UsedPointsFiltermyUsedPointsFilter
vtkFloatingPointType myScaleFactor
vtkFloatingPointType myMapScaleFactor
vtkWarpVector * myWarpVector
VISU_CellDataToPointDatamyCellDataToPointData
vtkFloatingPointType myVisibleBounds [6]
vtkTimeStamp myVisibleComputeTime

Private Member Functions

 VISU_VectorsPL (const VISU_VectorsPL &)
void operator= (const VISU_VectorsPL &)

Member Enumeration Documentation

Enumerator:
ARROW 
CONE2 
CONE6 
NONE 
Enumerator:
CENTER 
TAIL 
HEAD 

Constructor & Destructor Documentation

VISU_VectorsPL::VISU_VectorsPL ( ) [protected]
VISU_VectorsPL::~VISU_VectorsPL ( ) [protected, virtual]
VISU_VectorsPL.VISU_VectorsPL ( const VISU_VectorsPL ) [private]

Member Function Documentation

VISU_VectorsPL.vtkTypeMacro ( VISU_VectorsPL  ,
VISU_DeformedShapePL   
)
static VISU_VectorsPL* VISU_VectorsPL.New ( ) [static]

Reimplemented from VISU_DeformedShapePL.

unsigned long int VISU_VectorsPL::GetMTime ( ) [virtual]

Reimplemented from VISU_DeformedShapePL.

void VISU_VectorsPL::SetScale ( vtkFloatingPointType  theScale) [virtual]

Reimplemented from VISU_DeformedShapePL.

References VISU.CheckIsSameValue().

vtkFloatingPointType VISU_VectorsPL::GetScale ( ) [virtual]

Reimplemented from VISU_DeformedShapePL.

void VISU_VectorsPL::SetGlyphType ( VISU_VectorsPL::GlyphType  theType) [virtual]
VISU_VectorsPL::GlyphType VISU_VectorsPL::GetGlyphType ( ) const [virtual]
void VISU_VectorsPL::SetGlyphPos ( VISU_VectorsPL::GlyphPos  thePos) [virtual]
VISU_VectorsPL::GlyphPos VISU_VectorsPL::GetGlyphPos ( ) const [virtual]
void VISU_VectorsPL::Init ( ) [virtual]

Reimplemented from VISU_DeformedShapePL.

void VISU_VectorsPL::Build ( ) [virtual]

Reimplemented from VISU_ScalarMapPL.

References ToCellCenters().

void VISU_VectorsPL::Update ( ) [virtual]

Reimplemented from VISU_DeformedShapePL.

References VISU.NONE.

unsigned long int VISU_VectorsPL::GetMemorySize ( ) [virtual]

Reimplemented from VISU_DeformedShapePL.

vtkDataSet * VISU_VectorsPL::GetOutput ( ) [virtual]

Reimplemented from VISU_PipeLine.

void VISU_VectorsPL::SetTransform ( VTKViewer_Transform *  theTransform) [virtual]
VTKViewer_Transform * VISU_VectorsPL::GetTransform ( ) [virtual]
void VISU_VectorsPL::SetMapScale ( vtkFloatingPointType  theMapScale = 1.0) [virtual]

Reimplemented from VISU_DeformedShapePL.

References VISU_ColoredPL.SetMapScale().

vtkDataSet * VISU_VectorsPL::InsertCustomPL ( ) [protected, virtual]

Reimplemented from VISU_DeformedShapePL.

void VISU_VectorsPL::DoShallowCopy ( VISU_PipeLine thePipeLine,
bool  theIsCopyInput 
) [protected, virtual]

Reimplemented from VISU_DeformedShapePL.

void VISU_VectorsPL.operator= ( const VISU_VectorsPL ) [private]
VISU_DeformedShapePL.vtkTypeMacro ( VISU_DeformedShapePL  ,
VISU_ScalarMapPL   
) [inherited]
VISU_ScalarMapPL.vtkTypeMacro ( VISU_ScalarMapPL  ,
VISU_ColoredPL   
) [inherited]
VISU_ColoredPL.vtkTypeMacro ( VISU_ColoredPL  ,
VISU_PipeLine   
) [inherited]
VISU_PipeLine.vtkTypeMacro ( VISU_PipeLine  ,
vtkObject   
) [inherited]
vtkFloatingPointType VISU_DeformedShapePL::GetScaleFactor ( vtkDataSet *  theDataSet) [static, inherited]
vtkFloatingPointType VISU_DeformedShapePL::GetDefaultScale ( VISU_ScalarMapPL theScalarMapPL) [static, inherited]
void VISU_ScalarMapPL::SetSourceGeometry ( ) [virtual, inherited]

Implements VISU_MergedPL.

int VISU_ScalarMapPL::AddGeometry ( vtkDataSet *  theGeometry,
const VISU::TName theGeomName 
) [virtual, inherited]

Implements VISU_MergedPL.

vtkDataSet * VISU_ScalarMapPL::GetGeometry ( int  theGeomNumber,
VISU::TName theGeomName 
) [virtual, inherited]

Implements VISU_MergedPL.

int VISU_ScalarMapPL::GetNumberOfGeometry ( ) [virtual, inherited]

Implements VISU_MergedPL.

bool VISU_ScalarMapPL::IsExternalGeometryUsed ( ) [virtual, inherited]

Implements VISU_MergedPL.

void VISU_ScalarMapPL::ClearGeometry ( ) [virtual, inherited]

Implements VISU_MergedPL.

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

Reimplemented from VISU_ColoredPL.

Reimplemented in VISU_DeformedShapeAndScalarMapPL.

void VISU_ScalarMapPL::SetGaussMetric ( VISU::TGaussMetric  theGaussMetric) [virtual, inherited]
VISU::TGaussMetric VISU_ScalarMapPL::GetGaussMetric ( ) [virtual, inherited]
vtkPointSet * VISU_ScalarMapPL::GetMergedInput ( ) [virtual, inherited]

Implements VISU_MergedPL.

void VISU_ScalarMapPL::OnCreateMapperHolder ( ) [protected, virtual, inherited]
void VISU_ScalarMapPL::SetElnoDisassembleState ( bool  theIsShrunk) [protected, inherited]
void VISU_MergedPL::AddGeometryName ( const VISU::TName theGeomName) [virtual, inherited]
VISU::TName VISU_MergedPL::GetGeometryName ( int  theGeomNumber) const [virtual, inherited]
const VISU::TNames & VISU_MergedPL::GetGeometryNames ( ) const [virtual, inherited]
void VISU_MergedPL::ClearGeometryNames ( ) [virtual, inherited]
int VISU_ColoredPL::GetScalarMode ( ) [virtual, inherited]
void VISU_ColoredPL::SetScalarMode ( int  theScalarMode = 0) [virtual, inherited]

Reimplemented in VISU_DeformedShapeAndScalarMapPL.

References VISU.GetInput().

void VISU_ColoredPL::SetScalarMode ( int  theScalarMode,
vtkDataSet *  theInput,
VISU_Extractor theExtractor 
) [static, protected, inherited]
vtkFloatingPointType * VISU_ColoredPL::GetScalarRange ( ) [virtual, inherited]
void VISU_ColoredPL::SetScalarRange ( vtkFloatingPointType  theRange[2]) [virtual, inherited]
void VISU_ColoredPL::SetScalarFilterRange ( vtkFloatingPointType  theRange[2]) [inherited]
void VISU_ColoredPL::GetScalarFilterRange ( vtkFloatingPointType  theRange[2]) [inherited]
vtkFloatingPointType * VISU_ColoredPL::GetScalarFilterRange ( ) [inherited]
bool VISU_ColoredPL::IsScalarFilterUsed ( ) [inherited]
void VISU_ColoredPL::UseScalarFiltering ( bool  theUseScalarFilter) [inherited]
void VISU_ColoredPL::SetScaling ( int  theScaling) [virtual, inherited]
int VISU_ColoredPL::GetScaling ( ) [virtual, inherited]
void VISU_ColoredPL::SetNbColors ( int  theNbColors) [virtual, inherited]
int VISU_ColoredPL::GetNbColors ( ) [virtual, inherited]
vtkDoubleArray * VISU_ColoredPL::GetDistribution ( ) [inherited]
VISU_LookupTable * VISU_ColoredPL::GetMapperTable ( ) [virtual, inherited]
VISU_LookupTable * VISU_ColoredPL::GetBarTable ( ) [virtual, inherited]
vtkFloatingPointType VISU_ColoredPL::GetMapScale ( ) [virtual, inherited]
void VISU_ColoredPL::SetSourceRange ( ) [virtual, inherited]
void VISU_ColoredPL::UpdateMapperLookupTable ( ) [virtual, inherited]
VISU_Extractor * VISU_ColoredPL::GetExtractorFilter ( ) [protected, inherited]
VISU_FieldTransform * VISU_ColoredPL::GetFieldTransformFilter ( ) [protected, inherited]
vtkPointSet * VISU_ColoredPL::GetClippedInput ( ) [protected, virtual, inherited]

Reimplemented from VISU_PipeLine.

void VISU_PipeLine::ShallowCopy ( VISU_PipeLine thePipeLine,
bool  theIsCopyInput 
) [virtual, inherited]
void VISU_PipeLine::SameAs ( VISU_PipeLine thePipeLine) [virtual, inherited]
void VISU_PipeLine::SetMapperHolder ( VISU_MapperHolder theHolder) [inherited]
VISU_MapperHolder * VISU_PipeLine::GetMapperHolder ( ) [inherited]
const VISU::PIDMapper & VISU_PipeLine::GetIDMapper ( ) [inherited]
vtkDataSet * VISU_PipeLine::GetInput ( ) [virtual, inherited]
vtkMapper * VISU_PipeLine::GetMapper ( ) [virtual, inherited]
vtkIdType VISU_PipeLine::GetNodeObjID ( vtkIdType  theID) [virtual, inherited]
vtkIdType VISU_PipeLine::GetNodeVTKID ( vtkIdType  theID) [virtual, inherited]
vtkFloatingPointType * VISU_PipeLine::GetNodeCoord ( vtkIdType  theObjID) [virtual, inherited]
vtkIdType VISU_PipeLine::GetElemObjID ( vtkIdType  theID) [virtual, inherited]
vtkIdType VISU_PipeLine::GetElemVTKID ( vtkIdType  theID) [virtual, inherited]
vtkCell * VISU_PipeLine::GetElemCell ( vtkIdType  theObjID) [virtual, inherited]
bool VISU_PipeLine::IsPlanarInput ( ) [inherited]

References VISU.GetInput().

bool VISU_PipeLine::IsShrinkable ( ) [inherited]
bool VISU_PipeLine::IsFeatureEdgesAllowed ( ) [inherited]
void VISU_PipeLine::SetImplicitFunction ( vtkImplicitFunction theFunction) [inherited]
vtkImplicitFunction * VISU_PipeLine::GetImplicitFunction ( ) [inherited]
void VISU_PipeLine::SetExtractInside ( bool  theMode) [inherited]
void VISU_PipeLine::SetExtractBoundaryCells ( bool  theMode) [inherited]
void VISU_PipeLine::RemoveAllClippingPlanes ( ) [virtual, inherited]
vtkIdType VISU_PipeLine::GetNumberOfClippingPlanes ( ) [inherited]
bool VISU_PipeLine::AddClippingPlane ( vtkPlane thePlane) [virtual, inherited]
vtkPlane * VISU_PipeLine::GetClippingPlane ( vtkIdType  theID) [virtual, inherited]
void VISU_PipeLine::RemoveClippingPlane ( vtkIdType  theID) [virtual, inherited]
void VISU_PipeLine::SetPlaneParam ( vtkFloatingPointType  theDir[3],
vtkFloatingPointType  theDist,
vtkPlane thePlane 
) [virtual, inherited]
void VISU_PipeLine::GetPlaneParam ( vtkFloatingPointType  theDir[3],
vtkFloatingPointType &  theDist,
vtkPlane thePlane 
) [virtual, inherited]
void VISU_PipeLine::GetVisibleBounds ( vtkFloatingPointType  theBounds[6]) [inherited]
size_t VISU_PipeLine::CheckAvailableMemory ( double  theSize) [static, inherited]
size_t VISU_PipeLine::GetAvailableMemory ( double  theSize,
double  theMinSize = 1024*1024 
) [static, inherited]
void VISU_PipeLine::ComputeVisibleBounds ( ) [protected, virtual, inherited]
void VISU_PipeLine::SetIsShrinkable ( bool  theIsShrinkable) [protected, inherited]
void VISU_PipeLine::SetIsFeatureEdgesAllowed ( bool  theIsFeatureEdgesAllowed) [protected, inherited]
void VISU_UnstructuredGridPL::SetUnstructuredGridIDMapper ( const VISU::PUnstructuredGridIDMapper theIDMapper) [inherited]
VISU_DataSetMapperHolder * VISU_UnstructuredGridPL::GetDataSetMapperHolder ( ) [inherited]
vtkDataSetMapper * VISU_UnstructuredGridPL::GetDataSetMapper ( ) [inherited]

Field Documentation

vtkGlyph3D* VISU_VectorsPL.myGlyph [protected]
vtkGlyphSource2D* VISU_VectorsPL.myGlyphSource [protected]
vtkLineSource* VISU_VectorsPL.myLineSource [protected]
vtkConeSource* VISU_VectorsPL.myConeSource [protected]
VTKViewer_CellCenters* VISU_VectorsPL.myCenters [protected]
VTKViewer_TransformFilter* VISU_VectorsPL.myTransformFilter [protected]
vtkFloatingPointType VISU_DeformedShapePL.myScaleFactor [protected, inherited]
vtkFloatingPointType VISU_DeformedShapePL.myMapScaleFactor [protected, inherited]
vtkWarpVector* VISU_DeformedShapePL.myWarpVector [protected, inherited]
vtkFloatingPointType VISU_PipeLine.myVisibleBounds[6] [protected, inherited]
vtkTimeStamp VISU_PipeLine.myVisibleComputeTime [protected, inherited]
Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS