#include "SMESH_ActorDef.h"#include "SMESH_ActorUtils.h"#include "SMESH_DeviceActor.h"#include "SMESH_ObjectDef.h"#include "SMESH_ControlsDef.hxx"#include "SMDS_UnstructuredGrid.hxx"#include "SMESH_ScalarBarActor.h"#include "VTKViewer_CellCenters.h"#include "VTKViewer_DataSetMapper.h"#include "VTKViewer_ExtractUnstructuredGrid.h"#include "VTKViewer_FramedTextActor.h"#include "SALOME_InteractiveObject.hxx"#include "SUIT_Session.h"#include "SUIT_ResourceMgr.h"#include <SPlot2d_Histogram.h>#include <vtkProperty.h>#include <vtkTimeStamp.h>#include <vtkObjectFactory.h>#include <vtkShrinkPolyData.h>#include <vtkMergeFilter.h>#include <vtkMatrix4x4.h>#include <vtkUnstructuredGrid.h>#include <vtkPointData.h>#include <vtkCellData.h>#include <vtkMapper.h>#include <vtkRenderer.h>#include <vtkCell.h>#include <vtkIdList.h>#include <vtkIntArray.h>#include <vtkActor2D.h>#include <vtkProperty2D.h>#include <vtkPolyData.h>#include <vtkMaskPoints.h>#include <vtkTextProperty.h>#include <vtkLabeledDataMapper.h>#include <vtkSelectVisiblePoints.h>#include <vtkLookupTable.h>#include <vtkMath.h>#include <vtkPlane.h>#include <vtkImplicitBoolean.h>#include <vtkImplicitFunctionCollection.h>#include <vtkConfigure.h>#include "utilities.h"
Go to the source code of this file.
Defines | |
| #define | VTK_XVERSION (VTK_MAJOR_VERSION<<16)+(VTK_MINOR_VERSION<<8)+(VTK_BUILD_VERSION) |
Functions | |
| static void | GetColor (vtkProperty *theProperty, vtkFloatingPointType &r, vtkFloatingPointType &g, vtkFloatingPointType &b) |
Variables | |
| static int | MYDEBUG = 1 |
| static int | aLineWidthInc = 2 |
| #define VTK_XVERSION (VTK_MAJOR_VERSION<<16)+(VTK_MINOR_VERSION<<8)+(VTK_BUILD_VERSION) |
Definition at line 83 of file SMESH_Actor.cxx.
| static void GetColor | ( | vtkProperty * | theProperty, |
| vtkFloatingPointType & | r, | ||
| vtkFloatingPointType & | g, | ||
| vtkFloatingPointType & | b | ||
| ) | [static] |
Definition at line 1735 of file SMESH_Actor.cxx.
Referenced by SMESH_ActorDef.Get0DColor(), SMESH_ActorDef.GetBackSufaceColor(), SMESH_ActorDef.GetEdgeColor(), SMESH_ActorDef.GetHighlightColor(), SMESH_ActorDef.GetNodeColor(), SMESH_ActorDef.GetPreHighlightColor(), SMESH_ActorDef.GetSufaceColor(), SMESHGUI_GroupDlg.setDefaultGroupColor(), SMESH_ActorDef.SMESH_ActorDef(), SMESH_DeviceActor.SMESH_DeviceActor(), and SMESHGUI_MeshEditPreview.SMESHGUI_MeshEditPreview().
{
vtkFloatingPointType* aColor = theProperty->GetColor();
r = aColor[0];
g = aColor[1];
b = aColor[2];
}
int aLineWidthInc = 2 [static] |
Definition at line 94 of file SMESH_Actor.cxx.
Definition at line 91 of file SMESH_Actor.cxx.