#include <GEOM_Displayer.h>
Public Member Functions | |
GEOM_Displayer (SalomeApp_Study *app) | |
virtual | ~GEOM_Displayer () |
virtual bool | canBeDisplayed (const QString &, const QString &) const |
void | Display (const Handle(SALOME_InteractiveObject)&theIO, const bool updateViewer=true, SALOME_View *theViewFrame=0) |
void | Display (GEOM::GEOM_BaseObject_ptr theObj, const bool updateViewer=true) |
void | Redisplay (const Handle(SALOME_InteractiveObject)&theIO, const bool updateViewer=true, const bool checkActiveViewer=true) |
void | Redisplay (const Handle(SALOME_InteractiveObject)&theIO, const bool theUpdateViewer, SALOME_View *theViewFrame) |
void | Erase (const Handle(SALOME_InteractiveObject)&theIO, const bool forced=false, const bool updateViewer=true, SALOME_View *theViewFrame=0) |
void | Erase (GEOM::GEOM_BaseObject_ptr theObj, const bool forced=false, const bool updateViewer=true, SALOME_View *theViewFrame=0) |
void | EraseWithChildren (const Handle(SALOME_InteractiveObject)&theIO, const bool eraseOnlyChildren=false) |
void | Display (const SALOME_ListIO &theIOList, const bool updateViewer=true) |
void | Erase (const SALOME_ListIO &theIOList, const bool forced=false, const bool updateViewer=true) |
void | Redisplay (const SALOME_ListIO &theIOList, const bool updateViewer=true, const bool checkActiveViewer=true) |
void | Redisplay (const SALOME_ListIO &theIOList, const bool theUpdateViewer, SALOME_View *theViewFrame) |
void | UpdateVisibility (SALOME_View *, const SALOME_Prs *, bool) |
SALOME_Prs * | BuildPrs (GEOM::GEOM_Object_ptr) |
SALOME_Prs * | BuildPrs (const TopoDS_Shape &) |
void | SetColor (const int) |
void | UnsetColor () |
int | GetColor () const |
bool | HasColor () const |
double | SetTransparency (const double) |
double | UnsetTransparency () |
double | GetTransparency () const |
bool | HasTransparency () const |
void | SetTexture (const std::string &) |
bool | HasTexture () const |
std::string | GetTexture () const |
void | SetWidth (const double) |
void | UnsetWidth () |
double | GetWidth () const |
bool | HasWidth () const |
void | SetIsosWidth (const int) |
int | GetIsosWidth () const |
bool | HasIsosWidth () const |
int | SetNbIsos (const int) |
int | UnsetNbIsos () |
int | GetNbIsos () const |
bool | HasNbIsos () const |
int | SetIsosColor (const int) |
int | UnsetIsosColor () |
int | GetIsosColor () const |
bool | HasIsosColor () const |
int | SetDisplayMode (const int) |
int | GetDisplayMode () const |
int | UnsetDisplayMode () |
bool | HasDisplayMode () const |
void | SetName (const char *theName) |
void | UnsetName () |
virtual void | Update (SALOME_OCCPrs *) |
virtual void | Update (SALOME_VTKPrs *) |
virtual void | BeforeDisplay (SALOME_View *, const SALOME_OCCPrs *) |
virtual void | AfterDisplay (SALOME_View *, const SALOME_OCCPrs *) |
virtual void | BeforeErase (SALOME_View *, const SALOME_OCCPrs *) |
virtual void | AfterErase (SALOME_View *, const SALOME_OCCPrs *) |
void | SetToActivate (const bool) |
bool | ToActivate () const |
void | LocalSelection (const Handle(SALOME_InteractiveObject)&, const std::list< int >) |
void | LocalSelection (const Handle(SALOME_InteractiveObject)&, const int) |
void | LocalSelection (const SALOME_ListIO &theIOList, const std::list< int >) |
void | LocalSelection (const SALOME_ListIO &theIOList, const int) |
void | GlobalSelection (const int=-1, const bool=false) |
void | GlobalSelection (const TColStd_MapOfInteger &, const bool=false, const QList< int > *=0) |
SalomeApp_Study * | getStudy () const |
virtual SALOME_Prs * | buildSubshapePresentation (const TopoDS_Shape &aShape, const QString &, SALOME_View *=0) |
void | UpdateColorScale (const bool theIsRedisplayFieldSteps=false, const bool updateViewer=true) |
void | SetUpdateColorScale (bool toUpdate) |
Static Public Member Functions | |
static SALOMEDS::Color | getUniqueColor (const QList< SALOMEDS::Color > &) |
static SALOMEDS::Color | getPredefinedUniqueColor () |
static SALOMEDS::Color | getColor (GEOM::GEOM_Object_var aGeomObject, bool &hasColor) |
static int | getMinMaxShapeType (const TopoDS_Shape &shape, bool ismin) |
static bool | isCompoundOfVertices (const TopoDS_Shape &theShape) |
Protected Member Functions | |
virtual SALOME_Prs * | buildPresentation (const QString &, SALOME_View *=0) |
void | setIO (const Handle(SALOME_InteractiveObject)&theIO) |
void | setShape (const TopoDS_Shape &theShape) |
void | setFieldStepInfo (const GEOM::field_data_type theFieldDataType, const int theFieldDimension, const QList< QVariant > &theFieldStepData, const TCollection_AsciiString &theFieldStepName, const double theFieldStepRangeMin, const double theFieldStepRangeMax) |
void | internalReset () |
void | clearTemporary (LightApp_SelectionMgr *theSelMgr) |
SUIT_SelectionFilter * | getFilter (const int theMode) |
SUIT_SelectionFilter * | getComplexFilter (const QList< int > *) |
Quantity_Color | qColorFromResources (const QString &, const QColor &) |
QColor | colorFromResources (const QString &, const QColor &) |
void | updateShapeProperties (const Handle(GEOM_AISShape)&, bool) |
void | updateActorProperties (GEOM_Actor *, bool) |
void | updateDimensions (const Handle(SALOME_InteractiveObject)&, SALOME_OCCPrs *, const gp_Ax3 &) |
void | updateShapeAnnotations (const Handle(SALOME_InteractiveObject)&, SALOME_OCCPrs *, const gp_Ax3 &) |
PropMap | getObjectProperties (SalomeApp_Study *, const QString &, SALOME_View *=0) |
PropMap | getDefaultPropertyMap () |
void | readFieldStepInfo (GEOM::GEOM_FieldStep_var theGeomFieldStep) |
QList< QVariant > | groupFieldData (const QList< QVariant > &theFieldStepData, const int theFieldNbComponents, const bool theIsString, double &theFieldStepRangeMin, double &theFieldStepRangeMax) |
Handle (SALOME_InteractiveObject) myIO | |
Static Protected Member Functions | |
static Standard_Integer | HueFromValue (const Standard_Integer aValue, const Standard_Integer aMin, const Standard_Integer aMax) |
static Standard_Boolean | FindColor (const Standard_Real aValue, const Standard_Real aMin, const Standard_Real aMax, const Standard_Integer ColorsCount, Quantity_Color &aColor) |
Protected Attributes | |
TopoDS_Shape | myShape |
GEOM::field_data_type | myFieldDataType |
int | myFieldDimension |
QList< QVariant > | myFieldStepData |
TCollection_AsciiString | myFieldStepName |
double | myFieldStepRangeMin |
double | myFieldStepRangeMax |
std::string | myName |
std::string | myTexture |
int | myType |
SALOME_View * | myViewFrame |
int | myUpdateColorScale |
Quantity_Color | myShadingColor |
int | myColor |
double | myWidth |
int | myIsosWidth |
int | myNbIsos |
int | myIsosColor |
bool | myToActivate |
int | myDisplayMode |
bool | myHasDisplayMode |
Aspect_TypeOfMarker | myTypeOfMarker |
double | myScaleOfMarker |
double | myTransparency |
bool | myIsRedisplayed |
Private Attributes | |
SalomeApp_Application * | myApp |
Friends | |
class | GEOM_Swig |
GEOM_Displayer::GEOM_Displayer | ( | SalomeApp_Study * | st | ) |
GEOM_Displayer::GEOM_Displayer Constructor
References GEOM::FDT_Double, GEOM::MS_10, myApp, myColor, myDisplayMode, myFieldDataType, myFieldDimension, myFieldStepRangeMax, myFieldStepRangeMin, myHasDisplayMode, myIsosColor, myIsosWidth, myNbIsos, myScaleOfMarker, myShadingColor, myTexture, myToActivate, myTransparency, myType, myTypeOfMarker, myViewFrame, and myWidth.
|
virtual |
GEOM_Displayer::~GEOM_Displayer Destructor
|
virtual |
|
virtual |
|
virtual |
GEOM_Displayer::BeforeDisplay Called before displaying of pars. Close local context [ Reimplemented from SALOME_Displayer ]
References Handle().
|
virtual |
|
protectedvirtual |
GEOM_Displayer::buildPresentation Builds/finds object's presentation for the current viewer Calls corresponding Update() method by means of double dispatch [ internal ]
References GeometryGUI::ClientSObjectToObject(), GEOM_FIELD_STEP, GEOM_Client::get_client(), GeometryGUI::GetGeomGen(), Handle(), internalReset(), myType, myViewFrame, readFieldStepInfo(), setIO(), and setShape().
SALOME_Prs * GEOM_Displayer::BuildPrs | ( | GEOM::GEOM_Object_ptr | theObj | ) |
GEOM_Displayer::BuildPrs Build presentation accordint to the current viewer type
References aPrs, GEOM_Client::get_client(), GeometryGUI::GetGeomGen(), internalReset(), myType, myViewFrame, and setShape().
SALOME_Prs * GEOM_Displayer::BuildPrs | ( | const TopoDS_Shape & | theShape | ) |
GEOM_Displayer::BuildPrs Build presentation accordint to the current viewer type
References aPrs, internalReset(), myType, myViewFrame, and setShape().
|
virtual |
GEOM_Displayer::buildSubshapePresentation Builds/finds object's presentation for the current viewer Calls corresponding Update() method by means of double dispatch For not published objects (for Mantis issue 0020435)
References GEOM_SUBSHAPE, Handle(), internalReset(), myType, myViewFrame, setIO(), and setShape().
|
virtual |
References GeometryGUI::ClientSObjectToObject(), and getStudy().
|
protected |
GEOM_Displayer::clearTemporary Removes from selection temporary objects
|
protected |
void GEOM_Displayer::Display | ( | const Handle(SALOME_InteractiveObject)& | theIO, |
const bool | updateViewer = true , |
||
SALOME_View * | theViewFrame = 0 |
||
) |
GEOM_Displayer::Display Display interactive object in the current viewer
References buildPresentation().
void GEOM_Displayer::Display | ( | GEOM::GEOM_BaseObject_ptr | theObj, |
const bool | updateViewer = true |
||
) |
GEOM_Displayer::Display This overloaded Display() method can be useful for operations not using dialog boxes.
References Display(), getEntry(), and getName().
void GEOM_Displayer::Display | ( | const SALOME_ListIO & | theIOList, |
const bool | updateViewer = true |
||
) |
GEOM_Displayer::Display Calls Display() method for each object in the given list
References Display().
void GEOM_Displayer::Erase | ( | const Handle(SALOME_InteractiveObject)& | theIO, |
const bool | forced = false , |
||
const bool | updateViewer = true , |
||
SALOME_View * | theViewFrame = 0 |
||
) |
GEOM_Displayer::Erase Erase interactive object in the current viewer
void GEOM_Displayer::Erase | ( | GEOM::GEOM_BaseObject_ptr | theObj, |
const bool | forced = false , |
||
const bool | updateViewer = true , |
||
SALOME_View * | theViewFrame = 0 |
||
) |
GEOM_Displayer::Erase Erase geometry object in the current viewer
References Erase(), getEntry(), and getName().
void GEOM_Displayer::Erase | ( | const SALOME_ListIO & | theIOList, |
const bool | forced = false , |
||
const bool | updateViewer = true |
||
) |
GEOM_Displayer::Erase Calls Erase() method for each object in the given list
References Erase().
void GEOM_Displayer::EraseWithChildren | ( | const Handle(SALOME_InteractiveObject)& | theIO, |
const bool | eraseOnlyChildren = false |
||
) |
|
staticprotected |
References HueFromValue().
int GEOM_Displayer::GetColor | ( | ) | const |
References myColor.
|
static |
References GeometryGUI::ClientSObjectToObject(), GEOM::Color, GEOM_GROUP, getPredefinedUniqueColor(), getUniqueColor(), and it().
|
protected |
References GEOM_CompoundFilter::addSubTypes(), getStudy(), getTopAbsMode(), it(), and NULL.
|
protected |
References colorFromResources(), GEOM::Deflection, GEOM::DisplayMode, GEOM::EdgesDirection, GEOM::FreeBndColor, Material_Model::fromResources(), GEOM::IsosColor, GEOM::IsosWidth, GEOM::LineColor, GEOM::LineWidth, GEOM::Material, GEOM::NbIsos, GEOM::OutlineColor, GEOM::PointColor, GEOM::PointMarker, GEOM::propertyName(), GEOM::ShadingColor, GEOM::ShowName, GEOM::subSectionSeparator(), GEOM::TopLevel, Material_Model::toProperties(), GEOM::Transparency, GEOM::Vertices, GEOM::Visibility, and GEOM::WireframeColor.
int GEOM_Displayer::GetDisplayMode | ( | ) | const |
References myDisplayMode.
|
protected |
References GEOM_ALLGEOM, GEOM_ALLSHAPES, GEOM_CIRCLE, GEOM_CONE, GEOM_CYLINDER, GEOM_LINE, GEOM_PLANE, GEOM_PREVIEW, GEOM_REVOLUTION, GEOM_SPHERE, GEOM_TORUS, getStudy(), and getTopAbsMode().
int GEOM_Displayer::GetIsosColor | ( | ) | const |
References myIsosColor.
int GEOM_Displayer::GetIsosWidth | ( | ) | const |
References myIsosWidth.
|
static |
References it().
int GEOM_Displayer::GetNbIsos | ( | ) | const |
References myNbIsos.
|
protected |
References GeometryGUI::ClientSObjectToObject(), GEOM::Color, GEOM::FreeBndColor, getColor(), getDefaultPropertyMap(), GEOM::LastProperty, GEOM::LineColor, GEOM::MS_70, GEOM::MS_NONE, GEOM::MT_NONE, GEOM::MT_USER, GEOM::PointColor, GEOM::PointMarker, GEOM::propertyName(), GEOM::ShadingColor, GEOM::subSectionSeparator(), GEOM::Visibility, and GEOM::WireframeColor.
|
static |
References GEOM::Color.
SalomeApp_Study * GEOM_Displayer::getStudy | ( | ) | const |
References myApp.
std::string GEOM_Displayer::GetTexture | ( | ) | const |
References myTexture.
double GEOM_Displayer::GetTransparency | ( | ) | const |
GEOM_Displayer::GetTransparency Get transparency for shape displaying.
References myTransparency.
|
static |
References aColor, GEOM::Color, and it().
double GEOM_Displayer::GetWidth | ( | ) | const |
References myWidth.
void GEOM_Displayer::GlobalSelection | ( | const int | theMode = -1 , |
const bool | update = false |
||
) |
GEOM_Displayer::globalSelection Activate selection of CAD shapes without activisation of selection of their sub-shapes (without opened local context for OCC viewer)
void GEOM_Displayer::GlobalSelection | ( | const TColStd_MapOfInteger & | theModes, |
const bool | update = false , |
||
const QList< int > * | theSubShapes = 0 |
||
) |
GEOM_Displayer::globalSelection Activate selection of CAD shapes without activisation of selection of their sub-shapes (without opened local context for OCC viewer)
References anIter(), clearTemporary(), GEOM_ALLOBJECTS, GEOM_COMPOUNDFILTER, GEOM_PREVIEW, getComplexFilter(), getFilter(), Handle(), and GEOM_LogicalFilter::LO_OR.
|
protected |
References aColor, anIter(), and FindColor().
|
protected |
bool GEOM_Displayer::HasColor | ( | ) | const |
References myColor.
bool GEOM_Displayer::HasDisplayMode | ( | ) | const |
References myHasDisplayMode.
bool GEOM_Displayer::HasIsosColor | ( | ) | const |
References myIsosColor.
bool GEOM_Displayer::HasIsosWidth | ( | ) | const |
References myIsosWidth.
bool GEOM_Displayer::HasNbIsos | ( | ) | const |
References myNbIsos.
bool GEOM_Displayer::HasTexture | ( | ) | const |
References myTexture.
bool GEOM_Displayer::HasTransparency | ( | ) | const |
GEOM_Displayer::HasTransparency Check if transparency for shape displaying is set.
References myTransparency.
bool GEOM_Displayer::HasWidth | ( | ) | const |
References myWidth.
|
staticprotected |
|
protected |
GEOM_Displayer::internalReset Resets internal data [internal]
References GEOM::FDT_Double, myFieldDataType, myFieldDimension, myFieldStepData, myFieldStepName, myFieldStepRangeMax, myFieldStepRangeMin, and myShape.
|
static |
References getMinMaxShapeType().
void GEOM_Displayer::LocalSelection | ( | const Handle(SALOME_InteractiveObject)& | theIO, |
const std::list< int > | modes | ||
) |
GEOM_Displayer::LocalSelection Activate selection of CAD shapes with activisation of selection of their sub-shapes (with opened local context for OCC viewer)
References Display().
void GEOM_Displayer::LocalSelection | ( | const Handle(SALOME_InteractiveObject)& | theIO, |
const int | theMode | ||
) |
GEOM_Displayer::LocalSelection Activate selection of CAD shapes with activisation of selection of their sub-shapes (with opened local context for OCC viewer)
References LocalSelection().
void GEOM_Displayer::LocalSelection | ( | const SALOME_ListIO & | theIOList, |
const std::list< int > | modes | ||
) |
GEOM_Displayer::LocalSelection Activate selection of CAD shapes with activisation of selection of their sub-shapes (with opened local context for OCC viewer)
References LocalSelection().
void GEOM_Displayer::LocalSelection | ( | const SALOME_ListIO & | theIOList, |
const int | theMode | ||
) |
GEOM_Displayer::LocalSelection Activate selection of CAD shapes with activisation of selection of their sub-shapes (with opened local context for OCC viewer)
References LocalSelection().
|
protected |
|
protected |
References GEOM::FDT_Bool, GEOM::FDT_Double, GEOM::FDT_Int, GEOM::FDT_String, groupFieldData(), and setFieldStepInfo().
void GEOM_Displayer::Redisplay | ( | const Handle(SALOME_InteractiveObject)& | theIO, |
const bool | updateViewer = true , |
||
const bool | checkActiveViewer = true |
||
) |
GEOM_Displayer::Redisplay Redisplay (erase and then display again) interactive object in the current viewer
References it(), and myIsRedisplayed.
void GEOM_Displayer::Redisplay | ( | const Handle(SALOME_InteractiveObject)& | theIO, |
const bool | theUpdateViewer, | ||
SALOME_View * | theViewFrame | ||
) |
GEOM_Displayer::Redisplay Redisplay (erase and then display again) interactive object in the specified view
References Display(), GEOMGUI_AnnotationMgr::DisplayVisibleAnnotations(), Erase(), GEOMGUI_AnnotationMgr::EraseVisibleAnnotations(), GeometryGUI::GetAnnotationMgr(), and myIsRedisplayed.
void GEOM_Displayer::Redisplay | ( | const SALOME_ListIO & | theIOList, |
const bool | updateViewer = true , |
||
const bool | checkActiveViewer = true |
||
) |
GEOM_Displayer::Redisplay Calls Redisplay() method for each object in the given list
References Redisplay().
void GEOM_Displayer::Redisplay | ( | const SALOME_ListIO & | theIOList, |
const bool | theUpdateViewer, | ||
SALOME_View * | theViewFrame | ||
) |
GEOM_Displayer::Redisplay Calls Redisplay() method for each object in the given list
References anIter(), and Redisplay().
void GEOM_Displayer::SetColor | ( | const int | color | ) |
GEOM_Displayer::SetColor Set color for shape displaying. If it is equal -1 then default color is used. Available values are from Quantity_NameOfColor enumeration
References myColor, myShadingColor, and UnsetColor().
int GEOM_Displayer::SetDisplayMode | ( | const int | theMode | ) |
References myDisplayMode, myHasDisplayMode, and UnsetDisplayMode().
|
protected |
References myFieldDataType, myFieldDimension, myFieldStepData, myFieldStepName, myFieldStepRangeMax, and myFieldStepRangeMin.
|
protected |
int GEOM_Displayer::SetIsosColor | ( | const int | color | ) |
References myIsosColor.
void GEOM_Displayer::SetIsosWidth | ( | const int | width | ) |
References myIsosWidth.
void GEOM_Displayer::SetName | ( | const char * | theName | ) |
References myName.
int GEOM_Displayer::SetNbIsos | ( | const int | nbIsos | ) |
References myNbIsos.
|
protected |
References myShape.
void GEOM_Displayer::SetTexture | ( | const std::string & | texureFileName | ) |
References myTexture.
void GEOM_Displayer::SetToActivate | ( | const bool | toActivate | ) |
GEOM_Displayer::SetToActivate This method is used for activisation/deactivisation of objects to be displayed
References myToActivate.
double GEOM_Displayer::SetTransparency | ( | const double | transparency | ) |
GEOM_Displayer::SetTransparency Set transparency for shape displaying.
References myTransparency.
|
inline |
void GEOM_Displayer::SetWidth | ( | const double | width | ) |
GEOM_Displayer::SetWidth Set width of shape displaying. If it is equal -1 then default width is used.
References myWidth.
bool GEOM_Displayer::ToActivate | ( | ) | const |
References myToActivate.
void GEOM_Displayer::UnsetColor | ( | ) |
References myColor, and myShadingColor.
int GEOM_Displayer::UnsetDisplayMode | ( | ) |
References myDisplayMode, and myHasDisplayMode.
int GEOM_Displayer::UnsetIsosColor | ( | ) |
References SetIsosColor().
void GEOM_Displayer::UnsetName | ( | ) |
References myName.
int GEOM_Displayer::UnsetNbIsos | ( | ) |
References SetNbIsos().
double GEOM_Displayer::UnsetTransparency | ( | ) |
GEOM_Displayer::UnsetTransparency Unset transparency for shape displaying.
References SetTransparency().
void GEOM_Displayer::UnsetWidth | ( | ) |
References myWidth.
|
virtual |
GEOM_Displayer::Update Update OCC presentaion [ Reimplemented from SALOME_Displayer ]
References anIter(), GEOM_AISShape::CustomHighlight, GEOM_FIELD_STEP, GEOM_MARKER, GEOM_VECTOR, GetColor(), getStudy(), GetWidth(), Handle(), HasColor(), HasWidth(), myShape, myType, ToActivate(), GEOM_AISShape::topLevelDisplayMode(), GEOM_AISShape::TopShowAdditionalWActor, updateDimensions(), and updateShapeProperties().
|
virtual |
GEOM_Displayer::Update Update VTK presentaion [ Reimplemented from SALOME_Displayer ]
References aColor, GEOM_MARKER, GetColor(), getStudy(), GetWidth(), Handle(), HasColor(), HasWidth(), myShape, myType, GEOM_VTKTrihedron::New(), GEOM_Actor::New(), and updateActorProperties().
|
protected |
References aColor, anIO, colorFromResources(), GEOM::Deflection, GEOM::DisplayMode, GEOM::EdgesDirection, GEOM::FreeBndColor, Material_Model::fromProperties(), GEOM_VECTOR, GEOM_Actor::GetBackMaterial(), GetColor(), GetDisplayMode(), GEOM_Actor::GetFrontMaterial(), GetIsosColor(), GetIsosWidth(), Material_Model::getMaterialVTKProperty(), GetNbIsos(), getObjectProperties(), getStudy(), GEOM_Actor::getTopo(), GetTransparency(), getViewManagerId(), GetWidth(), Handle(), HasColor(), HasDisplayMode(), HasIsosColor(), HasIsosWidth(), HasNbIsos(), HasTransparency(), HasWidth(), GEOM::IsosColor, GEOM::IsosWidth, Material_Model::isPhysical(), GEOM::LineColor, GEOM::LineWidth, GEOM::Material, GEOM::minDeflection(), myName, myShape, myToActivate, myType, myViewFrame, GEOM::NbIsos, GEOM::OutlineColor, GEOM::PointColor, GEOM::propertyName(), GEOM_Actor::SetColor(), GEOM_Actor::setDisplayMode(), GEOM_Actor::SetEdgesInShadingColor(), GEOM_Actor::SetFreeEdgeColor(), GEOM_Actor::SetIsolatedEdgeColor(), GEOM_Actor::SetIsosColor(), GEOM_Actor::SetIsosWidth(), GEOM_Actor::SetLabelColor(), GEOM_Actor::SetMaterial(), GEOM_Actor::SetNameMode(), GEOM_Actor::SetNbIsos(), GEOM_Actor::SetOpacity(), GEOM_Actor::SetPointColor(), GEOM_Actor::SetShape(), GEOM_Actor::SetSharedEdgeColor(), GEOM_Actor::SetVectorMode(), GEOM_Actor::SetVerticesMode(), GEOM_Actor::SetWidth(), GEOM::ShadingColor, GEOM::ShowName, GEOM::subSectionSeparator(), GEOM::Transparency, GEOM::Vertices, VTK_MIN_DEFLECTION, and GEOM::WireframeColor.
void GEOM_Displayer::UpdateColorScale | ( | const bool | theIsRedisplayFieldSteps = false , |
const bool | updateViewer = true |
||
) |
References aHeight, anIO, anIter(), aPrs, aView, GEOM::FDT_Bool, GEOM::FDT_String, Handle(), myApp, and myUpdateColorScale.
|
protected |
GEOM_Displayer::updateDimensions Creates or renews dimension presentation for the IO.
References aColor, aFont, anIO, aPrs, GEOM::Dimensions, GEOMGUI_DimensionProperty::DimensionType_Angle, GEOMGUI_DimensionProperty::DimensionType_Diameter, GEOMGUI_DimensionProperty::DimensionType_Length, GEOMGUI_DimensionProperty::GetNumber(), GEOMGUI_DimensionProperty::GetRecord(), getStudy(), GEOMGUI_DimensionProperty::GetType(), Handle(), GEOMGUI_DimensionProperty::IsVisible(), GEOMGUI_DimensionProperty::LoadFromAttribute(), GEOM::propertyName(), and GEOM::sharedPropertiesId().
|
protected |
|
protected |
References aHeight, anIO, GEOM::Deflection, GEOM::DisplayMode, GEOM::EdgesDirection, GEOM::FreeBndColor, Material_Model::fromProperties(), getActiveStudy(), GetColor(), GetDisplayMode(), GetIsosColor(), GetIsosWidth(), Material_Model::getMaterialOCCAspect(), GetNbIsos(), getObjectProperties(), getStudy(), GetTexture(), GetTransparency(), getViewManagerId(), GetWidth(), Handle(), HasColor(), HasDisplayMode(), HasIsosColor(), HasIsosWidth(), HasNbIsos(), HasTexture(), HasTransparency(), HasWidth(), isCompoundOfVertices(), GEOM::IsosColor, GEOM::IsosWidth, Material_Model::isPhysical(), GEOM::LineColor, GEOM::LineWidth, GEOM::Material, GEOM::minDeflection(), myFieldDataType, myFieldDimension, myFieldStepData, myFieldStepName, myFieldStepRangeMax, myFieldStepRangeMin, myName, myShape, myViewFrame, GEOM::NbIsos, GEOM::OutlineColor, GEOM::PointColor, GEOM::PointMarker, GEOM::propertyName(), qColorFromResources(), GEOM_AISShape::SetDisplayName(), GEOM_AISShape::SetDisplayVectors(), GEOM_AISShape::SetDisplayVertices(), GEOM_AISShape::SetEdgesInShadingColor(), GEOM_AISShape::setFieldStepInfo(), GEOM_AISShape::setIO(), GEOM_AISShape::SetLabelColor(), GEOM_AISShape::SetShadingColor(), GEOM_AISShape::setTopLevel(), GEOM::ShadingColor, GEOM::ShowName, GEOM::subSectionSeparator(), GEOM::Texture, GEOM::TopLevel, GEOM::Transparency, GEOM::Vertices, and GEOM::WireframeColor.
void GEOM_Displayer::UpdateVisibility | ( | SALOME_View * | v, |
const SALOME_Prs * | p, | ||
bool | on | ||
) |
References getStudy(), getViewManagerId(), GEOM::propertyName(), and GEOM::Visibility.
|
friend |
|
private |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |