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

VISU_DeformedShapeAndScalarMapPL Class Reference

#include <VISU_DeformedShapeAndScalarMapPL.hxx>

Inheritance diagram for VISU_DeformedShapeAndScalarMapPL:
Inheritance graph

Public Member Functions

 vtkTypeMacro (VISU_DeformedShapeAndScalarMapPL, VISU_ScalarMapPL)
virtual void SetScale (vtkFloatingPointType theScale)
virtual vtkFloatingPointType GetScale ()
virtual int GetScalarMode ()
virtual void SetScalarMode (int theScalarMode=0)
virtual void SetScaling (int theScaling)
virtual void SetScalarRange (vtkFloatingPointType theRange[2])
virtual vtkFloatingPointType * GetScalarRange ()
virtual void GetSourceRange (vtkFloatingPointType theRange[2])
virtual void SetGaussMetric (VISU::TGaussMetric theGaussMetric)
virtual VISU::TGaussMetric GetGaussMetric ()
virtual void SetScalars (vtkDataSet *theScalars)
virtual vtkDataSet * GetScalars ()
virtual void RemoveAllClippingPlanes ()
virtual void RemoveClippingPlane (vtkIdType theID)
virtual bool AddClippingPlane (vtkPlane *thePlane)
virtual void SetImplicitFunction (vtkImplicitFunction *theFunction)
virtual vtkImplicitFunctionGetImplicitFunction ()
virtual void Init ()
 Redefined method for initialization of the pipeline.
virtual void Build ()
 Redefined method for building the pipeline.
virtual void Update ()
 Redefined method for updating the pipeline.
virtual unsigned long int GetMemorySize ()
 Gets memory size used by the instance (bytes).
void UpdateScalars ()
 Update scalars.
virtual void SetMapScale (vtkFloatingPointType theMapScale=1.0)
 vtkTypeMacro (VISU_ScalarMapPL, VISU_ColoredPL)
 vtkTypeMacro (VISU_ColoredPL, VISU_PipeLine)
 vtkTypeMacro (VISU_PipeLine, vtkObject)
virtual unsigned long int GetMTime ()
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 vtkPointSet * GetMergedInput ()
virtual void AddGeometryName (const VISU::TName &theGeomName)
virtual VISU::TName GetGeometryName (int theGeomNumber) const
virtual const VISU::TNamesGetGeometryNames () const
virtual void ClearGeometryNames ()
void SetScalarFilterRange (vtkFloatingPointType theRange[2])
void GetScalarFilterRange (vtkFloatingPointType theRange[2])
vtkFloatingPointType * GetScalarFilterRange ()
bool IsScalarFilterUsed ()
void UseScalarFiltering (bool theUseScalarFilter)
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 vtkDataSet * GetOutput ()
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 SetExtractInside (bool theMode)
void SetExtractBoundaryCells (bool theMode)
vtkIdType GetNumberOfClippingPlanes ()
virtual vtkPlaneGetClippingPlane (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_DeformedShapeAndScalarMapPL
New ()
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_DeformedShapeAndScalarMapPL ()
virtual ~VISU_DeformedShapeAndScalarMapPL ()
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

vtkFloatingPointType myVisibleBounds [6]
vtkTimeStamp myVisibleComputeTime

Private Member Functions

 VISU_DeformedShapeAndScalarMapPL (const VISU_DeformedShapeAndScalarMapPL &)

Private Attributes

vtkFloatingPointType myScaleFactor
vtkFloatingPointType myMapScaleFactor
vtkWarpVector * myWarpVector
VISU_MergeFiltermyScalarsMergeFilter
vtkSmartPointer
< vtkUnstructuredGrid > 
myScalars
VISU_CellDataToPointDatamyCellDataToPointData
VISU_FieldTransformmyScalarsFieldTransform
VISU_ExtractormyScalarsExtractor
VISU_ElnoDisassembleFiltermyScalarsElnoDisassembleFilter
SALOME_ExtractGeometrymyExtractGeometry

Constructor & Destructor Documentation

VISU_DeformedShapeAndScalarMapPL.VISU_DeformedShapeAndScalarMapPL ( ) [protected]
VISU_DeformedShapeAndScalarMapPL::~VISU_DeformedShapeAndScalarMapPL ( ) [protected, virtual]

Destructor. Delete all fields.

VISU_DeformedShapeAndScalarMapPL.VISU_DeformedShapeAndScalarMapPL ( const VISU_DeformedShapeAndScalarMapPL ) [private]

Member Function Documentation

VISU_DeformedShapeAndScalarMapPL.vtkTypeMacro ( VISU_DeformedShapeAndScalarMapPL  ,
VISU_ScalarMapPL   
)
static VISU_DeformedShapeAndScalarMapPL* VISU_DeformedShapeAndScalarMapPL.New ( ) [static]

Reimplemented from VISU_ScalarMapPL.

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

Sets scale for deformed shape

References VISU.CheckIsSameValue().

vtkFloatingPointType VISU_DeformedShapeAndScalarMapPL::GetScale ( ) [virtual]

Gets scale of deformed shape.

int VISU_DeformedShapeAndScalarMapPL::GetScalarMode ( ) [virtual]

Gets scalar mode.

Reimplemented from VISU_ColoredPL.

void VISU_DeformedShapeAndScalarMapPL::SetScalarMode ( int  theScalarMode = 0) [virtual]

Sets scalar mode.

Reimplemented from VISU_ColoredPL.

References VISU_ColoredPL.SetScalarMode().

void VISU_DeformedShapeAndScalarMapPL::SetScaling ( int  theScaling) [virtual]
void VISU_DeformedShapeAndScalarMapPL::SetScalarRange ( vtkFloatingPointType  theRange[2]) [virtual]

Reimplemented from VISU_ColoredPL.

References VISU.CheckIsSameRange().

vtkFloatingPointType * VISU_DeformedShapeAndScalarMapPL::GetScalarRange ( ) [virtual]

Reimplemented from VISU_ColoredPL.

void VISU_DeformedShapeAndScalarMapPL::GetSourceRange ( vtkFloatingPointType  theRange[2]) [virtual]

Gets ranges of extracted scalars

Parameters:
theRange[2]- output values

  • theRange[0] - minimum value
  • theRange[1] - maximum value

Reimplemented from VISU_ScalarMapPL.

void VISU_DeformedShapeAndScalarMapPL::SetGaussMetric ( VISU::TGaussMetric  theGaussMetric) [virtual]

Reimplemented from VISU_ScalarMapPL.

VISU::TGaussMetric VISU_DeformedShapeAndScalarMapPL::GetGaussMetric ( ) [virtual]

Reimplemented from VISU_ScalarMapPL.

void VISU_DeformedShapeAndScalarMapPL::SetScalars ( vtkDataSet *  theScalars) [virtual]

Set scalars. Sets vtkDataSet with scalars values to VISU_Extractor filter for scalars extraction.

vtkDataSet * VISU_DeformedShapeAndScalarMapPL::GetScalars ( ) [virtual]

Get pointer to input scalars.

void VISU_DeformedShapeAndScalarMapPL::RemoveAllClippingPlanes ( ) [virtual]

Removes all clipping planes (for myScalars)

Reimplemented from VISU_PipeLine.

void VISU_DeformedShapeAndScalarMapPL::RemoveClippingPlane ( vtkIdType  theID) [virtual]

Removes a clipping plane (for myScalars)

Reimplemented from VISU_PipeLine.

bool VISU_DeformedShapeAndScalarMapPL::AddClippingPlane ( vtkPlane thePlane) [virtual]

Adds a clipping plane (for myScalars)

Reimplemented from VISU_PipeLine.

void VISU_DeformedShapeAndScalarMapPL::SetImplicitFunction ( vtkImplicitFunction theFunction) [virtual]

Sets implicit function of clipping

Reimplemented from VISU_PipeLine.

vtkImplicitFunction * VISU_DeformedShapeAndScalarMapPL::GetImplicitFunction ( ) [virtual]

Gets implicit function of clipping

Reimplemented from VISU_PipeLine.

void VISU_DeformedShapeAndScalarMapPL::Init ( ) [virtual]

Initial method

Reimplemented from VISU_ColoredPL.

References VISU_DeformedShapePL.GetDefaultScale().

void VISU_DeformedShapeAndScalarMapPL::Build ( ) [virtual]

Build method Building of deformation and puts result to merge filter.

Reimplemented from VISU_ScalarMapPL.

void VISU_DeformedShapeAndScalarMapPL::Update ( ) [virtual]

Update method

Reimplemented from VISU_ScalarMapPL.

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

Reimplemented from VISU_ColoredPL.

void VISU_DeformedShapeAndScalarMapPL::UpdateScalars ( )

Update scalars method. Put scalars to merge filter.

References VISU.IsDataOnCells().

void VISU_DeformedShapeAndScalarMapPL::SetMapScale ( vtkFloatingPointType  theMapScale = 1.0) [virtual]

Set scale factor of deformation.

Reimplemented from VISU_ColoredPL.

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

Reimplemented from VISU_ScalarMapPL.

References VISU.CellDataToPoint().

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

Copy information about pipline. Copy scale and scalars.

Reimplemented from VISU_ScalarMapPL.

VISU_ScalarMapPL.vtkTypeMacro ( VISU_ScalarMapPL  ,
VISU_ColoredPL   
) [inherited]
VISU_ColoredPL.vtkTypeMacro ( VISU_ColoredPL  ,
VISU_PipeLine   
) [inherited]
VISU_PipeLine.vtkTypeMacro ( VISU_PipeLine  ,
vtkObject   
) [inherited]
unsigned long int VISU_ScalarMapPL::GetMTime ( ) [virtual, 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.

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]
void VISU_ColoredPL::SetScalarMode ( int  theScalarMode,
vtkDataSet *  theInput,
VISU_Extractor theExtractor 
) [static, protected, 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]
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]
vtkDataSet * VISU_PipeLine::GetOutput ( ) [virtual, inherited]

Reimplemented in VISU_VectorsPL.

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::SetExtractInside ( bool  theMode) [inherited]
void VISU_PipeLine::SetExtractBoundaryCells ( bool  theMode) [inherited]
vtkIdType VISU_PipeLine::GetNumberOfClippingPlanes ( ) [inherited]
vtkPlane * VISU_PipeLine::GetClippingPlane ( 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

vtkFloatingPointType VISU_DeformedShapeAndScalarMapPL.myScaleFactor [private]
vtkFloatingPointType VISU_DeformedShapeAndScalarMapPL.myMapScaleFactor [private]
vtkSmartPointer<vtkUnstructuredGrid> VISU_DeformedShapeAndScalarMapPL.myScalars [private]
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