Back to index

salome-gui  6.5.0
Public Member Functions | Public Attributes
VTK::TPropertyColor Struct Reference
Inheritance diagram for VTK::TPropertyColor:
Inheritance graph
Collaboration diagram for VTK::TPropertyColor:
Collaboration graph

List of all members.

Public Member Functions

 TPropertyColor (vtkProperty *theProperty)
virtual void get (TVertex &theVertex, vtkIdType thePointId, vtkIdType theCellId)

Public Attributes

vtkFloatingPointType myColor [3]
vtkFloatingPointType myAlpha

Detailed Description

Definition at line 332 of file VTKViewer_PolyDataMapper.cxx.

Constructor & Destructor Documentation

VTK::TPropertyColor::TPropertyColor ( vtkProperty *  theProperty) [inline]

Definition at line 336 of file VTKViewer_PolyDataMapper.cxx.

      TColorFunctorBase( theProperty )
      theProperty->GetColor( myColor );

Member Function Documentation

virtual void VTK::TPropertyColor::get ( TVertex theVertex,
vtkIdType  thePointId,
vtkIdType  theCellId 
) [inline, virtual]

Implements VTK::TColorFunctorBase.

Definition at line 344 of file VTKViewer_PolyDataMapper.cxx.

      theVertex.r = myColor[0];
      theVertex.g = myColor[1];
      theVertex.b = myColor[2];
      theVertex.a = myAlpha;

Member Data Documentation

Definition at line 319 of file VTKViewer_PolyDataMapper.cxx.

Definition at line 334 of file VTKViewer_PolyDataMapper.cxx.

The documentation for this struct was generated from the following file: