Version: 9.15.0
SPV3D_Prs Class Reference

#include <SPV3D_Prs.h>

Inheritance diagram for SPV3D_Prs:
Inheritance graph

Public Member Functions

 SPV3D_Prs (const char *entry, SPV3D_ViewWindow *view)
 
 ~SPV3D_Prs ()
 
void SetName (const std::string &name)
 
SPV3D_PrsdeepCopy () const
 
void FillUsingActor (vtkActor *actor) const
 
void DisplayIn (SALOME_View *v) const override
 It uses double dispatch in order to invoke Display() method corresponding to the actual type of presentation. More...
 
void SetPVRenderInfo (SPV3D_EXPORTSPV3DData *pvRendInfo)
 
pqPipelineSource * GetSourceProducer () const
 
void SetRepresentation (pqDataRepresentation *repr) const
 
pqDataRepresentation * GetRepresentation () const
 
bool IsNull () const override
 Should return true, if this presentation contains a graphic object. More...
 
void hide () const
 
bool isVisible () const
 
- Public Member Functions inherited from SALOME_PV3DPrs
 SALOME_PV3DPrs (const char *e)
 Constructor. More...
 
virtual void EraseIn (SALOME_View *, const bool=false) const
 It uses double dispatch in order to invoke Erase() method corresponding to the actual type of presentation. More...
 
virtual void BeforeDisplayIn (SALOME_Displayer *, SALOME_View *) const
 It uses double dispatch in order to invoke BeforeDisplayIn() method corresponding to the actual type of presentation. More...
 
virtual void AfterDisplayIn (SALOME_Displayer *, SALOME_View *) const
 It uses double dispatch in order to invoke AfterDisplayIn() method corresponding to the actual type of presentation. More...
 
virtual void BeforeEraseIn (SALOME_Displayer *, SALOME_View *) const
 It uses double dispatch in order to invoke BeforeEraseIn() method corresponding to the actual type of presentation. More...
 
virtual void AfterEraseIn (SALOME_Displayer *, SALOME_View *) const
 It uses double dispatch in order to invoke AfterEraseIn() method corresponding to the actual type of presentation. More...
 
virtual void Update (SALOME_Displayer *)
 It uses double dispatch in order to invoke Update() method corresponding to the actual type of presentation. More...
 
virtual void LocalSelectionIn (SALOME_View *, const int) const
 Key method for double dispatch of activation of sub-shapes selection. More...
 
virtual void LocalSelectionIn (SALOME_View *, const std::list< int >) const
 
- Public Member Functions inherited from SALOME_Prs
 SALOME_Prs (const char *)
 Constructor. More...
 
virtual ~SALOME_Prs ()
 Destructor. More...
 
const char * GetEntry () const
 Get entry. More...
 
bool IsClippable () const
 
void SetClippable (bool isClippable)
 

Static Public Member Functions

static vtkIdType FromEntryToVtkId (const char *)
 
static const char * FromVtkIdToEntry (vtkIdType)
 

Private Member Functions

 SPV3D_Prs (const SPV3D_Prs &other)=default
 

Private Attributes

SPV3D_EXPORTSPV3DData_pvRendInfo = nullptr
 
SPV3D_ViewWindow_view = nullptr
 
std::string _name
 Name attached to the displayable object in the study. More...
 

Static Private Attributes

static vtkIdType cellid = 0
 
static vtkIdType nbsolid = 0
 

Additional Inherited Members

- Protected Attributes inherited from SALOME_Prs
std::string myEntry
 
bool myIsClippable
 

Constructor & Destructor Documentation

◆ SPV3D_Prs() [1/2]

SPV3D_Prs::SPV3D_Prs ( const char *  entry,
SPV3D_ViewWindow view 
)
explicit

◆ ~SPV3D_Prs()

SPV3D_Prs::~SPV3D_Prs ( )

◆ SPV3D_Prs() [2/2]

SPV3D_Prs::SPV3D_Prs ( const SPV3D_Prs other)
privatedefault

Member Function Documentation

◆ deepCopy()

SPV3D_Prs * SPV3D_Prs::deepCopy ( ) const

References SPV3D_Prs().

◆ DisplayIn()

void SPV3D_Prs::DisplayIn ( SALOME_View v) const
overridevirtual

It uses double dispatch in order to invoke Display() method corresponding to the actual type of presentation.

Dispatches display operation to proper Display() method of SALOME_View

Reimplemented from SALOME_PV3DPrs.

References SALOME_PV3DPrs::DisplayIn().

◆ FillUsingActor()

void SPV3D_Prs::FillUsingActor ( vtkActor *  actor) const

◆ FromEntryToVtkId()

vtkIdType SPV3D_Prs::FromEntryToVtkId ( const char *  entry)
static

◆ FromVtkIdToEntry()

const char * SPV3D_Prs::FromVtkIdToEntry ( vtkIdType  id)
static

◆ GetRepresentation()

pqDataRepresentation* SPV3D_Prs::GetRepresentation ( ) const
inline

◆ GetSourceProducer()

pqPipelineSource* SPV3D_Prs::GetSourceProducer ( ) const
inline

◆ hide()

void SPV3D_Prs::hide ( ) const
inline

◆ IsNull()

bool SPV3D_Prs::IsNull ( ) const
overridevirtual

Should return true, if this presentation contains a graphic object.

Implements SALOME_Prs.

References _pvRendInfo, SALOME_Prs::GetEntry(), and SPV3D_EXPORTSPV3DData::havePrs().

◆ isVisible()

bool SPV3D_Prs::isVisible ( ) const
inline

◆ SetName()

void SPV3D_Prs::SetName ( const std::string &  name)
inline

◆ SetPVRenderInfo()

void SPV3D_Prs::SetPVRenderInfo ( SPV3D_EXPORTSPV3DData pvRendInfo)
inline

◆ SetRepresentation()

void SPV3D_Prs::SetRepresentation ( pqDataRepresentation *  repr) const
inline

Member Data Documentation

◆ _name

std::string SPV3D_Prs::_name
private

Name attached to the displayable object in the study.

◆ _pvRendInfo

SPV3D_EXPORTSPV3DData* SPV3D_Prs::_pvRendInfo = nullptr
private

◆ _view

SPV3D_ViewWindow* SPV3D_Prs::_view = nullptr
private

◆ cellid

vtkIdType SPV3D_Prs::cellid = 0
staticprivate

◆ nbsolid

vtkIdType SPV3D_Prs::nbsolid = 0
staticprivate

The documentation for this class was generated from the following files: