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

subsample graph edges to make smooth curves More...

#include <vtkSplineGraphEdges.h>

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

List of all members.

Public Types

enum  { BSPLINE = 0, CUSTOM }
typedef vtkGraphAlgorithm Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkSplineGraphEdgesNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetSpline (vtkSpline *s)
virtual vtkSplineGetSpline ()
virtual void SetSplineType (int)
virtual int GetSplineType ()
virtual void SetNumberOfSubdivisions (vtkIdType)
virtual vtkIdType GetNumberOfSubdivisions ()

Static Public Member Functions

static vtkSplineGraphEdgesNew ()
static int IsTypeOf (const char *type)
static vtkSplineGraphEdgesSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkSplineGraphEdges ()
 ~vtkSplineGraphEdges ()
virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual unsigned long GetMTime ()
void GeneratePoints (vtkGraph *g, vtkIdType e)
void GenerateBSpline (vtkGraph *g, vtkIdType e)

Protected Attributes

vtkSplineSpline
int SplineType
vtkSmartPointer< vtkSplineXSpline
vtkSmartPointer< vtkSplineYSpline
vtkSmartPointer< vtkSplineZSpline
vtkIdType NumberOfSubdivisions

Detailed Description

subsample graph edges to make smooth curves

vtkSplineGraphEdges uses a vtkSpline to make edges into nicely sampled splines. By default, the filter will use an optimized b-spline. Otherwise, it will use a custom vtkSpline instance set by the user.

Events:
vtkCommand::ProgressEvent
Tests:
vtkSplineGraphEdges (Tests)

Definition at line 44 of file vtkSplineGraphEdges.h.


Member Typedef Documentation

Reimplemented from vtkGraphAlgorithm.

Definition at line 48 of file vtkSplineGraphEdges.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
BSPLINE 
CUSTOM 

Definition at line 58 of file vtkSplineGraphEdges.h.


Constructor & Destructor Documentation


Member Function Documentation

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkGraphAlgorithm.

static int vtkSplineGraphEdges::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 vtkGraphAlgorithm.

virtual int vtkSplineGraphEdges::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 vtkGraphAlgorithm.

Reimplemented from vtkGraphAlgorithm.

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

Reimplemented from vtkGraphAlgorithm.

Reimplemented from vtkGraphAlgorithm.

void vtkSplineGraphEdges::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 vtkGraphAlgorithm.

virtual void vtkSplineGraphEdges::SetSpline ( vtkSpline s) [virtual]

If SplineType is CUSTOM, uses this spline.

virtual vtkSpline* vtkSplineGraphEdges::GetSpline ( ) [virtual]

If SplineType is CUSTOM, uses this spline.

virtual void vtkSplineGraphEdges::SetSplineType ( int  ) [virtual]

Spline type used by the filter. BSPLINE (0) - Use optimized b-spline (default). CUSTOM (1) - Use spline set with SetSpline.

virtual int vtkSplineGraphEdges::GetSplineType ( ) [virtual]

Spline type used by the filter. BSPLINE (0) - Use optimized b-spline (default). CUSTOM (1) - Use spline set with SetSpline.

The number of subdivisions in the spline.

The number of subdivisions in the spline.

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

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

Reimplemented from vtkGraphAlgorithm.

virtual unsigned long vtkSplineGraphEdges::GetMTime ( ) [protected, virtual]

Return this object's modified time.

Reimplemented from vtkObject.

void vtkSplineGraphEdges::GeneratePoints ( vtkGraph g,
vtkIdType  e 
) [protected]
void vtkSplineGraphEdges::GenerateBSpline ( vtkGraph g,
vtkIdType  e 
) [protected]

Member Data Documentation

Definition at line 92 of file vtkSplineGraphEdges.h.

Definition at line 94 of file vtkSplineGraphEdges.h.

Definition at line 97 of file vtkSplineGraphEdges.h.

Definition at line 98 of file vtkSplineGraphEdges.h.

Definition at line 99 of file vtkSplineGraphEdges.h.

Definition at line 102 of file vtkSplineGraphEdges.h.


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