VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkEllipsoidTensorProbeRepresentation Class Reference

A concrete implementation of vtkTensorProbeRepresentation that renders tensors as ellipoids. More...

#include <vtkEllipsoidTensorProbeRepresentation.h>

Inheritance diagram for vtkEllipsoidTensorProbeRepresentation:
[legend]
Collaboration diagram for vtkEllipsoidTensorProbeRepresentation:
[legend]

Public Member Functions

virtual void BuildRepresentation ()
 
virtual int RenderOpaqueGeometry (vtkViewport *)
 
virtual int SelectProbe (int pos[2])
 
virtual void GetActors (vtkPropCollection *)
 
virtual void ReleaseGraphicsResources (vtkWindow *)
 
- Public Member Functions inherited from vtkTensorProbeRepresentation
virtual void SetTrajectory (vtkPolyData *)
 
void Initialize ()
 
virtual int Move (double motionVector[2])
 
virtual void SetProbePosition (double, double, double)
 
virtual void SetProbePosition (double[3])
 
virtual double * GetProbePosition ()
 
virtual void GetProbePosition (double &, double &, double &)
 
virtual void GetProbePosition (double[3])
 
virtual void SetProbeCellId (vtkIdType)
 
virtual vtkIdType GetProbeCellId ()
 
vtkTensorProbeRepresentationNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
- Public Member Functions inherited from vtkWidgetRepresentation
virtual void PickingManagedOn ()
 
virtual void PickingManagedOff ()
 
virtual void SetPickingManaged (bool)
 
virtual bool GetPickingManaged ()
 
virtual void SetRenderer (vtkRenderer *ren)
 
virtual vtkRenderer * GetRenderer ()
 
virtual void PlaceWidget (double *vtkNotUsed(bounds[6]))
 
virtual void StartWidgetInteraction (double eventPos[2])
 
virtual void WidgetInteraction (double newEventPos[2])
 
virtual void EndWidgetInteraction (double newEventPos[2])
 
virtual int ComputeInteractionState (int X, int Y, int modify=0)
 
virtual int GetInteractionState ()
 
virtual void Highlight (int vtkNotUsed(highlightOn))
 
virtual void SetPlaceFactor (double)
 
virtual double GetPlaceFactor ()
 
virtual void SetHandleSize (double)
 
virtual double GetHandleSize ()
 
virtual int GetNeedToRender ()
 
virtual void SetNeedToRender (int)
 
virtual void NeedToRenderOn ()
 
virtual void NeedToRenderOff ()
 
virtual double * GetBounds ()
 
virtual void ShallowCopy (vtkProp *prop)
 
virtual void GetActors2D (vtkPropCollection *)
 
virtual void GetVolumes (vtkPropCollection *)
 
virtual int RenderOverlay (vtkViewport *vtkNotUsed(viewport))
 
virtual int RenderOpaqueGeometry (vtkViewport *vtkNotUsed(viewport))
 
virtual int RenderTranslucentPolygonalGeometry (vtkViewport *vtkNotUsed(viewport))
 
virtual int RenderVolumetricGeometry (vtkViewport *vtkNotUsed(viewport))
 
virtual int HasTranslucentPolygonalGeometry ()
 
vtkWidgetRepresentationNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 

Static Public Member Functions

static
vtkEllipsoidTensorProbeRepresentation
New ()
 
- Static Public Member Functions inherited from vtkTensorProbeRepresentation
static int IsTypeOf (const char *type)
 
static
vtkTensorProbeRepresentation
SafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkWidgetRepresentation
static int IsTypeOf (const char *type)
 
static vtkWidgetRepresentationSafeDownCast (vtkObjectBase *o)
 

Protected Member Functions

 vtkEllipsoidTensorProbeRepresentation ()
 
 ~vtkEllipsoidTensorProbeRepresentation ()
 
void EvaluateTensor (double t[9])
 
virtual void RegisterPickers ()
 
- Protected Member Functions inherited from vtkTensorProbeRepresentation
 vtkTensorProbeRepresentation ()
 
 ~vtkTensorProbeRepresentation ()
 
void FindClosestPointOnPolyline (double displayPos[2], double closestWorldPos[3], vtkIdType &cellId, int maxSpeed=10)
 
- Protected Member Functions inherited from vtkWidgetRepresentation
 vtkWidgetRepresentation ()
 
 ~vtkWidgetRepresentation ()
 
void AdjustBounds (double bounds[6], double newBounds[6], double center[3])
 
virtual void UnRegisterPickers ()
 
virtual void PickersModified ()
 
vtkPickingManager * GetPickingManager ()
 
double SizeHandlesRelativeToViewport (double factor, double pos[3])
 
double SizeHandlesInPixels (double factor, double pos[3])
 
vtkAssemblyPath * GetAssemblyPath (double X, double Y, double Z, vtkAbstractPropPicker *picker)
 

Protected Attributes

vtkActor * EllipsoidActor
 
vtkPolyDataMapper * EllipsoidMapper
 
vtkPolyDataTensorSource
 
vtkTensorGlyphTensorGlypher
 
vtkCellPicker * CellPicker
 
vtkPolyDataNormalsPolyDataNormals
 
- Protected Attributes inherited from vtkTensorProbeRepresentation
vtkActor * TrajectoryActor
 
vtkPolyDataMapper * TrajectoryMapper
 
vtkPolyDataTrajectory
 
double ProbePosition [3]
 
vtkIdType ProbeCellId
 
- Protected Attributes inherited from vtkWidgetRepresentation
vtkWeakPointer< vtkRenderer > Renderer
 
int InteractionState
 
double StartEventPosition [3]
 
double PlaceFactor
 
int Placed
 
double InitialBounds [6]
 
double InitialLength
 
int ValidPick
 
bool PickingManaged
 
double HandleSize
 
int NeedToRender
 
vtkTimeStamp BuildTime
 
typedef
vtkTensorProbeRepresentation 
Superclass
 
static int IsTypeOf (const char *type)
 
static
vtkEllipsoidTensorProbeRepresentation
SafeDownCast (vtkObjectBase *o)
 
virtual int IsA (const char *type)
 
vtkEllipsoidTensorProbeRepresentationNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual vtkObjectBase * NewInstanceInternal () const
 

Detailed Description

A concrete implementation of vtkTensorProbeRepresentation that renders tensors as ellipoids.

vtkEllipsoidTensorProbeRepresentation is a concrete implementation of vtkTensorProbeRepresentation. It renders tensors as ellipsoids. Locations between two points when probed have the tensors linearly interpolated from the neighboring locations on the polyline.

See Also
vtkTensorProbeWidget

Definition at line 37 of file vtkEllipsoidTensorProbeRepresentation.h.

Member Typedef Documentation

Standard methods for instances of this class.

Definition at line 46 of file vtkEllipsoidTensorProbeRepresentation.h.

Constructor & Destructor Documentation

vtkEllipsoidTensorProbeRepresentation::vtkEllipsoidTensorProbeRepresentation ( )
protected
vtkEllipsoidTensorProbeRepresentation::~vtkEllipsoidTensorProbeRepresentation ( )
protected

Member Function Documentation

static vtkEllipsoidTensorProbeRepresentation* vtkEllipsoidTensorProbeRepresentation::New ( )
static
static int vtkEllipsoidTensorProbeRepresentation::IsTypeOf ( const char *  type)
static

Standard methods for instances of this class.

virtual int vtkEllipsoidTensorProbeRepresentation::IsA ( const char *  type)
virtual

Standard methods for instances of this class.

Reimplemented from vtkTensorProbeRepresentation.

static vtkEllipsoidTensorProbeRepresentation* vtkEllipsoidTensorProbeRepresentation::SafeDownCast ( vtkObjectBase *  o)
static

Standard methods for instances of this class.

virtual vtkObjectBase* vtkEllipsoidTensorProbeRepresentation::NewInstanceInternal ( ) const
protectedvirtual

Standard methods for instances of this class.

Reimplemented from vtkTensorProbeRepresentation.

vtkEllipsoidTensorProbeRepresentation* vtkEllipsoidTensorProbeRepresentation::NewInstance ( ) const

Standard methods for instances of this class.

void vtkEllipsoidTensorProbeRepresentation::PrintSelf ( ostream &  os,
vtkIndent  indent 
)

Standard methods for instances of this class.

virtual void vtkEllipsoidTensorProbeRepresentation::BuildRepresentation ( )
virtual

See vtkWidgetRepresentation for details.

Reimplemented from vtkTensorProbeRepresentation.

virtual int vtkEllipsoidTensorProbeRepresentation::RenderOpaqueGeometry ( vtkViewport *  )
virtual

See vtkWidgetRepresentation for details.

Reimplemented from vtkTensorProbeRepresentation.

virtual int vtkEllipsoidTensorProbeRepresentation::SelectProbe ( int  pos[2])
virtual

Can we pick the tensor glyph at the current cursor pos

Implements vtkTensorProbeRepresentation.

virtual void vtkEllipsoidTensorProbeRepresentation::GetActors ( vtkPropCollection *  )
virtual

See vtkProp for details.

Reimplemented from vtkTensorProbeRepresentation.

virtual void vtkEllipsoidTensorProbeRepresentation::ReleaseGraphicsResources ( vtkWindow *  )
virtual

See vtkProp for details.

Reimplemented from vtkTensorProbeRepresentation.

void vtkEllipsoidTensorProbeRepresentation::EvaluateTensor ( double  t[9])
protected
virtual void vtkEllipsoidTensorProbeRepresentation::RegisterPickers ( )
protectedvirtual

Register internal Pickers in the Picking Manager. Must be reimplemented by concrete widget representations to register their pickers.

Reimplemented from vtkWidgetRepresentation.

Member Data Documentation

vtkActor* vtkEllipsoidTensorProbeRepresentation::EllipsoidActor
protected

Definition at line 72 of file vtkEllipsoidTensorProbeRepresentation.h.

vtkPolyDataMapper* vtkEllipsoidTensorProbeRepresentation::EllipsoidMapper
protected

Definition at line 73 of file vtkEllipsoidTensorProbeRepresentation.h.

vtkPolyData* vtkEllipsoidTensorProbeRepresentation::TensorSource
protected

Definition at line 74 of file vtkEllipsoidTensorProbeRepresentation.h.

vtkTensorGlyph* vtkEllipsoidTensorProbeRepresentation::TensorGlypher
protected

Definition at line 75 of file vtkEllipsoidTensorProbeRepresentation.h.

vtkCellPicker* vtkEllipsoidTensorProbeRepresentation::CellPicker
protected

Definition at line 76 of file vtkEllipsoidTensorProbeRepresentation.h.

vtkPolyDataNormals* vtkEllipsoidTensorProbeRepresentation::PolyDataNormals
protected

Definition at line 77 of file vtkEllipsoidTensorProbeRepresentation.h.


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