VTK
|
subsample graph edges to make smooth curves More...
#include <vtkSplineGraphEdges.h>
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.
Definition at line 44 of file vtkSplineGraphEdges.h.
Reimplemented from vtkGraphAlgorithm.
Definition at line 48 of file vtkSplineGraphEdges.h.
anonymous enum |
Definition at line 58 of file vtkSplineGraphEdges.h.
vtkSplineGraphEdges::vtkSplineGraphEdges | ( | ) | [protected] |
vtkSplineGraphEdges::~vtkSplineGraphEdges | ( | ) | [protected] |
static vtkSplineGraphEdges* vtkSplineGraphEdges::New | ( | ) | [static] |
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.
static vtkSplineGraphEdges* vtkSplineGraphEdges::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
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.
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] |
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.