Open CASCADE Technology 7.8.2.dev
IVtkTools.hxx File Reference
#include <IVtk_Types.hxx>
#include <vtkSmartPointer.h>
#include <limits>

Namespaces

namespace  IVtkTools
 Helper methods to facilitate usage of VIS classes in an application.
 

Functions

vtkSmartPointer< vtkLookupTable > IVtkTools::InitLookupTable ()
 Returns vtkLookupTable instance initialized by standrad OCCT colors used in wireframe mode for different kinds of sub-shapes (free/boundary/shared edges, isolines,...)
 
void IVtkTools::SetLookupTableColor (vtkLookupTable *theColorTable, const IVtk_MeshType theColorRole, const double theR, const double theG, const double theB, const double theA=1)
 Set a color for given type of sub-shapes.
 
void IVtkTools::GetLookupTableColor (vtkLookupTable *theColorTable, const IVtk_MeshType theColorRole, double &theR, double &theG, double &theB)
 Get a color for given type of sub-shapes.
 
void IVtkTools::GetLookupTableColor (vtkLookupTable *theColorTable, const IVtk_MeshType theColorRole, double &theR, double &theG, double &theB, double &theA)
 Get a color for given type of sub-shapes.
 
void IVtkTools::InitShapeMapper (vtkMapper *theMapper)
 Set up the initial shape mapper parameters with default OCC colors.
 
void IVtkTools::InitShapeMapper (vtkMapper *theMapper, vtkLookupTable *theColorTable)
 Set up the initial shape mapper parameters with user colors.