VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkDashedStreamLine Class Reference

generate constant-time dashed streamline in arbitrary dataset More...

#include <vtkDashedStreamLine.h>

Inheritance diagram for vtkDashedStreamLine:
Inheritance graph
[legend]
Collaboration diagram for vtkDashedStreamLine:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkStreamLine Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkDashedStreamLineNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetDashFactor (double)
virtual double GetDashFactor ()

Static Public Member Functions

static vtkDashedStreamLineNew ()
static int IsTypeOf (const char *type)
static vtkDashedStreamLineSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkDashedStreamLine ()
 ~vtkDashedStreamLine ()
virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)

Protected Attributes

double DashFactor

Detailed Description

generate constant-time dashed streamline in arbitrary dataset

vtkDashedStreamLine is a filter that generates a "dashed" streamline for an arbitrary dataset. The streamline consists of a series of dashes, each of which represents (approximately) a constant time increment. Thus, in the resulting visual representation, relatively long dashes represent areas of high velocity, and small dashes represent areas of low velocity.

vtkDashedStreamLine introduces the instance variable DashFactor. DashFactor interacts with its superclass' instance variable StepLength to create the dashes. DashFactor is the percentage of the StepLength line segment that is visible. Thus, if the DashFactor=0.75, the dashes will be "three-quarters on" and "one-quarter off".

See also:
vtkStreamer vtkStreamLine vtkStreamPoints
Tests:
vtkDashedStreamLine (Tests)

Definition at line 43 of file vtkDashedStreamLine.h.


Member Typedef Documentation

Reimplemented from vtkStreamLine.

Definition at line 47 of file vtkDashedStreamLine.h.


Constructor & Destructor Documentation

Definition at line 60 of file vtkDashedStreamLine.h.


Member Function Documentation

Construct object with step size set to 1.0.

Reimplemented from vtkStreamLine.

static int vtkDashedStreamLine::IsTypeOf ( const char *  name) [static]

Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkStreamLine.

virtual int vtkDashedStreamLine::IsA ( const char *  name) [virtual]

Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkStreamLine.

Reimplemented from vtkStreamLine.

virtual vtkObjectBase* vtkDashedStreamLine::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkStreamLine.

Reimplemented from vtkStreamLine.

void vtkDashedStreamLine::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkStreamLine.

virtual void vtkDashedStreamLine::SetDashFactor ( double  ) [virtual]

For each dash, specify the fraction of the dash that is "on". A factor of 1.0 will result in a continuous line, a factor of 0.5 will result in dashed that are half on and half off.

For each dash, specify the fraction of the dash that is "on". A factor of 1.0 will result in a continuous line, a factor of 0.5 will result in dashed that are half on and half off.

virtual int vtkDashedStreamLine::RequestData ( vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
) [protected, virtual]

This is called by the superclass. This is the method you should override.

Reimplemented from vtkStreamLine.


Member Data Documentation

Definition at line 66 of file vtkDashedStreamLine.h.


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