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

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

#include <vtkDashedStreamLine.h>

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

Public Types

typedef vtkStreamLine Superclass
 
- Public Types inherited from vtkStreamLine
typedef vtkStreamer Superclass
 
- Public Types inherited from vtkStreamer
typedef vtkPolyDataAlgorithm 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 ()
 
- Public Member Functions inherited from vtkStreamLine
vtkStreamLineNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual void SetStepLength (double)
 
virtual double GetStepLength ()
 
- Public Member Functions inherited from vtkStreamer
vtkStreamerNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
void SetStartLocation (vtkIdType cellId, int subId, double pcoords[3])
 
vtkIdType GetStartLocation (int &subId, double pcoords[3])
 
void SetStartPosition (double x[3])
 
void SetStartPosition (double x, double y, double z)
 
double * GetStartPosition ()
 
void SetSourceConnection (vtkAlgorithmOutput *algOutput)
 
virtual void SetNumberOfThreads (int)
 
virtual int GetNumberOfThreads ()
 
virtual void SetSavePointInterval (double)
 
virtual double GetSavePointInterval ()
 
void SetStartLocation (vtkIdType cellId, int subId, double r, double s, double t)
 
void SetSourceData (vtkDataSet *source)
 
vtkDataSet * GetSource ()
 
virtual void SetMaximumPropagationTime (double)
 
virtual double GetMaximumPropagationTime ()
 
virtual void SetIntegrationDirection (int)
 
virtual int GetIntegrationDirection ()
 
void SetIntegrationDirectionToForward ()
 
void SetIntegrationDirectionToBackward ()
 
void SetIntegrationDirectionToIntegrateBothDirections ()
 
const char * GetIntegrationDirectionAsString ()
 
virtual void SetIntegrationStepLength (double)
 
virtual double GetIntegrationStepLength ()
 
virtual void SetSpeedScalars (int)
 
virtual int GetSpeedScalars ()
 
virtual void SpeedScalarsOn ()
 
virtual void SpeedScalarsOff ()
 
virtual void SetOrientationScalars (int)
 
virtual int GetOrientationScalars ()
 
virtual void OrientationScalarsOn ()
 
virtual void OrientationScalarsOff ()
 
virtual void SetTerminalSpeed (double)
 
virtual double GetTerminalSpeed ()
 
virtual void SetVorticity (int)
 
virtual int GetVorticity ()
 
virtual void VorticityOn ()
 
virtual void VorticityOff ()
 
void SetIntegrator (vtkInitialValueProblemSolver *)
 
virtual
vtkInitialValueProblemSolver * 
GetIntegrator ()
 
virtual void SetEpsilon (double)
 
virtual double GetEpsilon ()
 

Static Public Member Functions

static vtkDashedStreamLineNew ()
 
static int IsTypeOf (const char *type)
 
static vtkDashedStreamLineSafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkStreamLine
static int IsTypeOf (const char *type)
 
static vtkStreamLineSafeDownCast (vtkObjectBase *o)
 
static vtkStreamLineNew ()
 
- Static Public Member Functions inherited from vtkStreamer
static int IsTypeOf (const char *type)
 
static vtkStreamerSafeDownCast (vtkObjectBase *o)
 

Protected Member Functions

virtual vtkObjectBase * NewInstanceInternal () const
 
 vtkDashedStreamLine ()
 
 ~vtkDashedStreamLine ()
 
virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
- Protected Member Functions inherited from vtkStreamLine
 vtkStreamLine ()
 
 ~vtkStreamLine ()
 
- Protected Member Functions inherited from vtkStreamer
void Integrate (vtkDataSet *input, vtkDataSet *source)
 
void InitializeThreadedIntegrate ()
 
virtual int FillInputPortInformation (int port, vtkInformation *info)
 
 vtkStreamer ()
 
 ~vtkStreamer ()
 
virtual vtkIdType GetNumberOfStreamers ()
 
StreamArrayGetStreamers ()
 

Protected Attributes

double DashFactor
 
- Protected Attributes inherited from vtkStreamLine
double StepLength
 
- Protected Attributes inherited from vtkStreamer
int StartFrom
 
vtkIdType StartCell
 
int StartSubId
 
double StartPCoords [3]
 
double StartPosition [3]
 
StreamArrayStreamers
 
vtkIdType NumberOfStreamers
 
double MaximumPropagationTime
 
int IntegrationDirection
 
double IntegrationStepLength
 
int Vorticity
 
double TerminalSpeed
 
int SpeedScalars
 
int OrientationScalars
 
vtkInitialValueProblemSolver * Integrator
 
double Epsilon
 
double SavePointInterval
 
vtkMultiThreader * Threader
 
int NumberOfThreads
 

Additional Inherited Members

- Static Protected Member Functions inherited from vtkStreamer
static VTK_THREAD_RETURN_TYPE ThreadedIntegrate (void *arg)
 

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

Definition at line 47 of file vtkDashedStreamLine.h.

Constructor & Destructor Documentation

vtkDashedStreamLine::vtkDashedStreamLine ( )
protected
vtkDashedStreamLine::~vtkDashedStreamLine ( )
inlineprotected

Definition at line 60 of file vtkDashedStreamLine.h.

Member Function Documentation

static vtkDashedStreamLine* vtkDashedStreamLine::New ( )
static
static int vtkDashedStreamLine::IsTypeOf ( const char *  type)
static
virtual int vtkDashedStreamLine::IsA ( const char *  type)
virtual

Reimplemented from vtkStreamLine.

static vtkDashedStreamLine* vtkDashedStreamLine::SafeDownCast ( vtkObjectBase *  o)
static
virtual vtkObjectBase* vtkDashedStreamLine::NewInstanceInternal ( ) const
protectedvirtual

Reimplemented from vtkStreamLine.

vtkDashedStreamLine* vtkDashedStreamLine::NewInstance ( ) const
void vtkDashedStreamLine::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
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.

virtual double vtkDashedStreamLine::GetDashFactor ( )
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.

virtual int vtkDashedStreamLine::RequestData ( vtkInformation *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
protectedvirtual

Reimplemented from vtkStreamLine.

Member Data Documentation

double vtkDashedStreamLine::DashFactor
protected

Definition at line 66 of file vtkDashedStreamLine.h.


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