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
vtkSplineGraphEdges Class Reference

subsample graph edges to make smooth curves More...

#include <vtkSplineGraphEdges.h>

Inherits vtkGraphAlgorithm.

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 vtkSpline * GetSpline ()
 
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 vtkObjectBase * NewInstanceInternal () 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

vtkSpline * Spline
 
int SplineType
 
vtkSmartPointer< vtkSpline > XSpline
 
vtkSmartPointer< vtkSpline > YSpline
 
vtkSmartPointer< vtkSpline > ZSpline
 
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

typedef vtkGraphAlgorithm vtkSplineGraphEdges::Superclass

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

vtkSplineGraphEdges::vtkSplineGraphEdges ( )
protected
vtkSplineGraphEdges::~vtkSplineGraphEdges ( )
protected

Member Function Documentation

static vtkSplineGraphEdges* vtkSplineGraphEdges::New ( )
static
static int vtkSplineGraphEdges::IsTypeOf ( const char *  type)
static
virtual int vtkSplineGraphEdges::IsA ( const char *  type)
virtual
static vtkSplineGraphEdges* vtkSplineGraphEdges::SafeDownCast ( vtkObjectBase *  o)
static
virtual vtkObjectBase* vtkSplineGraphEdges::NewInstanceInternal ( ) const
protectedvirtual
vtkSplineGraphEdges* vtkSplineGraphEdges::NewInstance ( ) const
void vtkSplineGraphEdges::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
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 *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
protectedvirtual
virtual unsigned long vtkSplineGraphEdges::GetMTime ( )
protectedvirtual
void vtkSplineGraphEdges::GeneratePoints ( vtkGraph *  g,
vtkIdType  e 
)
protected
void vtkSplineGraphEdges::GenerateBSpline ( vtkGraph *  g,
vtkIdType  e 
)
protected

Member Data Documentation

vtkSpline* vtkSplineGraphEdges::Spline
protected

Definition at line 92 of file vtkSplineGraphEdges.h.

int vtkSplineGraphEdges::SplineType
protected

Definition at line 94 of file vtkSplineGraphEdges.h.

vtkSmartPointer<vtkSpline> vtkSplineGraphEdges::XSpline
protected

Definition at line 97 of file vtkSplineGraphEdges.h.

vtkSmartPointer<vtkSpline> vtkSplineGraphEdges::YSpline
protected

Definition at line 98 of file vtkSplineGraphEdges.h.

vtkSmartPointer<vtkSpline> vtkSplineGraphEdges::ZSpline
protected

Definition at line 99 of file vtkSplineGraphEdges.h.

vtkIdType vtkSplineGraphEdges::NumberOfSubdivisions
protected

Definition at line 102 of file vtkSplineGraphEdges.h.


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