Version: 6.3.1
Data Structures | Typedefs | Functions | Variables

Package VTK

Data Structures

struct  ActorCollectionCopy
struct  TSetFunction
struct  TSetVisibility
struct  TVertex
struct  TColorFunctorBase
struct  TPropertyColor
struct  TColors2Color
struct  TPointColors2Color
struct  TCellColors2Color

Typedefs

typedef int MarkerType
 Type of standard marker for advanced rendering of vtk points.
typedef int MarkerScale
 Scale of standard marker for advanced rendering of vtk points.
typedef std::list< unsigned short > MarkerTexture
typedef std::pair< std::string,
MarkerTexture
MarkerData
typedef std::map< int, MarkerDataMarkerMap

Functions

template<typename TActor , typename TFunction >
TFunction ForEach (vtkActorCollection *theCollection, TFunction theFun)
template<typename TActor , typename TPredicate , typename TFunction >
TFunction ForEachIf (vtkActorCollection *theCollection, TPredicate thePredicate, TFunction theFun)
template<typename TActor , typename TPredicate >
TActor * Find (vtkActorCollection *theCollection, TPredicate thePredicate)
bool LoadTextureData (const QString &theFileName, VTK::MarkerScale theMarkerScale, VTK::MarkerTexture &theMarkerTexture)
vtkSmartPointer< vtkImageData > MakeVTKImage (const VTK::MarkerTexture &theMarkerTexture, bool theWhiteForeground)
QImage ConvertToQImage (vtkImageData *theImageData)
int GetUniqueId (const VTK::MarkerMap &theMarkerMap)
template<class TCoordinates >
void DrawPoints (TCoordinates *theStartPoints, vtkCellArray *theCells, TColorFunctorBase *theColorFunctor, TVertex *theVertexArr, vtkIdType &theCellId, vtkIdType &theVertexId)
template<class TCoordinates >
void DrawCellsPoints (vtkPolyData *theInput, vtkPoints *thePoints, TColorFunctorBase *theColorFunctor, TVertex *theVertexArr)

Variables

const MarkerType MT_NONE = 0
const MarkerType MT_POINT = 1
const MarkerType MT_PLUS = 2
const MarkerType MT_STAR = 3
const MarkerType MT_O = 4
const MarkerType MT_X = 5
const MarkerType MT_O_POINT = 6
const MarkerType MT_O_PLUS = 7
const MarkerType MT_O_STAR = 8
const MarkerType MT_O_X = 9
const MarkerType MT_USER = 10
const MarkerScale MS_NONE = 0
const MarkerScale MS_10 = 1
const MarkerScale MS_15 = 2
const MarkerScale MS_20 = 3
const MarkerScale MS_25 = 4
const MarkerScale MS_30 = 5
const MarkerScale MS_35 = 6
const MarkerScale MS_40 = 7
const MarkerScale MS_45 = 8
const MarkerScale MS_50 = 9
const MarkerScale MS_55 = 10
const MarkerScale MS_60 = 11
const MarkerScale MS_65 = 12
const MarkerScale MS_70 = 13

Typedef Documentation

typedef int VTK.MarkerType
typedef int VTK.MarkerScale
typedef std::list<unsigned short> VTK.MarkerTexture
typedef std::pair<std::string, MarkerTexture> VTK.MarkerData
typedef std::map<int, MarkerData> VTK.MarkerMap

Function Documentation

template<typename TActor , typename TFunction >
TFunction VTK.ForEach ( vtkActorCollection *  theCollection,
TFunction  theFun 
)

For each actor(for ex: someActor) from theCollection(that can be dynamic cast to type TActor) Call method theFun(someActor)

template<typename TActor , typename TPredicate , typename TFunction >
TFunction VTK.ForEachIf ( vtkActorCollection *  theCollection,
TPredicate  thePredicate,
TFunction  theFun 
)

For each actor(for ex: someActor) from theCollection(that can be dynamic cast to type TActor and
method thePredicate(someActor) return true)
Call method theFun(someActor)

template<typename TActor , typename TPredicate >
TActor* VTK.Find ( vtkActorCollection *  theCollection,
TPredicate  thePredicate 
)

Find actor from collection, that can be dynamicaly cast to TActor,
and method thePredicate(someActor) return true)

Return values:
someActor
bool VTK.LoadTextureData ( const QString &  theFileName,
VTK::MarkerScale  theMarkerScale,
VTK::MarkerTexture theMarkerTexture 
)

References MS_NONE.

vtkSmartPointer<vtkImageData> VTK.MakeVTKImage ( const VTK::MarkerTexture theMarkerTexture,
bool  theWhiteForeground 
)
QImage VTK::ConvertToQImage ( vtkImageData *  theImageData)
int VTK.GetUniqueId ( const VTK::MarkerMap theMarkerMap)
template<class TCoordinates >
void VTK.DrawPoints ( TCoordinates *  theStartPoints,
vtkCellArray *  theCells,
TColorFunctorBase *  theColorFunctor,
TVertex *  theVertexArr,
vtkIdType &  theCellId,
vtkIdType &  theVertexId 
)
template<class TCoordinates >
void VTK.DrawCellsPoints ( vtkPolyData *  theInput,
vtkPoints *  thePoints,
TColorFunctorBase *  theColorFunctor,
TVertex *  theVertexArr 
)

References DrawPoints().


Variable Documentation

const MarkerType VTK.MT_O = 4
const MarkerType VTK.MT_X = 5
const MarkerType VTK.MT_USER = 10
const MarkerScale VTK.MS_55 = 10
const MarkerScale VTK.MS_60 = 11
const MarkerScale VTK.MS_65 = 12
const MarkerScale VTK.MS_70 = 13
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