vtkSplineGraphEdges Class Reference

#include <vtkSplineGraphEdges.h>

Inheritance diagram for vtkSplineGraphEdges:

Inheritance graph
[legend]
Collaboration diagram for vtkSplineGraphEdges:

Collaboration graph
[legend]

List of all members.


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 43 of file vtkSplineGraphEdges.h.


Public Types

enum  { BSPLINE = 0, CUSTOM }
typedef vtkGraphAlgorithm Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
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 (vtkObject *o)

Protected Member Functions

 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

Member Typedef Documentation

Reimplemented from vtkGraphAlgorithm.

Definition at line 47 of file vtkSplineGraphEdges.h.


Member Enumeration Documentation

anonymous enum

Enumerator:
BSPLINE 
CUSTOM 

Definition at line 57 of file vtkSplineGraphEdges.h.


Constructor & Destructor Documentation

vtkSplineGraphEdges::vtkSplineGraphEdges (  )  [protected]

vtkSplineGraphEdges::~vtkSplineGraphEdges (  )  [protected]


Member Function Documentation

static vtkSplineGraphEdges* vtkSplineGraphEdges::New (  )  [static]

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

Reimplemented from vtkGraphAlgorithm.

virtual const char* vtkSplineGraphEdges::GetClassName (  )  [virtual]

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.

static vtkSplineGraphEdges* vtkSplineGraphEdges::SafeDownCast ( vtkObject o  )  [static]

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.

virtual void vtkSplineGraphEdges::SetNumberOfSubdivisions ( vtkIdType   )  [virtual]

The number of subdivisions in the spline.

virtual vtkIdType vtkSplineGraphEdges::GetNumberOfSubdivisions (  )  [virtual]

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 91 of file vtkSplineGraphEdges.h.

Definition at line 93 of file vtkSplineGraphEdges.h.

Definition at line 96 of file vtkSplineGraphEdges.h.

Definition at line 97 of file vtkSplineGraphEdges.h.

Definition at line 98 of file vtkSplineGraphEdges.h.

Definition at line 101 of file vtkSplineGraphEdges.h.


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

Generated on Wed Aug 24 12:07:58 2011 for VTK by  doxygen 1.5.6