VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions
vtkProjectSphereFilter Class Reference

A filter to 'unroll' a sphere. The unroll longitude is -180. More...

#include <vtkProjectSphereFilter.h>

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

List of all members.

Public Types

typedef vtkPointSetAlgorithm Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkProjectSphereFilterNewInstance () const
virtual void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetCenter (double, double, double)
virtual void SetCenter (double[3])
virtual doubleGetCenter ()
virtual void GetCenter (double data[3])
virtual bool GetKeepPolePoints ()
virtual void SetKeepPolePoints (bool)
virtual void KeepPolePointsOn ()
virtual void KeepPolePointsOff ()
virtual bool GetTranslateZ ()
virtual void SetTranslateZ (bool)
virtual void TranslateZOn ()
virtual void TranslateZOff ()

Static Public Member Functions

static int IsTypeOf (const char *type)
static vtkProjectSphereFilterSafeDownCast (vtkObjectBase *o)
static vtkProjectSphereFilterNew ()

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkProjectSphereFilter ()
 ~vtkProjectSphereFilter ()
virtual int FillInputPortInformation (int port, vtkInformation *info)
virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
void TransformPointInformation (vtkPointSet *input, vtkPointSet *output, vtkIdList *)
void TransformCellInformation (vtkPointSet *input, vtkPointSet *output, vtkIdList *)
void TransformTensors (vtkIdType id, double *coord, vtkDataSetAttributes *arrays)
virtual double GetZTranslation (vtkPointSet *input)
void SetCellInformation (vtkUnstructuredGrid *output, vtkCell *cell, vtkIdType numberOfNewCells)
virtual void ComputePointsClosestToCenterLine (double, vtkIdList *)
void SplitCell (vtkPointSet *input, vtkPointSet *output, vtkIdType inputCellId, vtkIncrementalPointLocator *locator, vtkCellArray *connectivity, int splitSide)

Detailed Description

A filter to 'unroll' a sphere. The unroll longitude is -180.

Tests:
vtkProjectSphereFilter (Tests)

Definition at line 38 of file vtkProjectSphereFilter.h.


Member Typedef Documentation

Reimplemented from vtkPointSetAlgorithm.

Reimplemented in vtkPProjectSphereFilter.

Definition at line 42 of file vtkProjectSphereFilter.h.


Constructor & Destructor Documentation


Member Function Documentation

static int vtkProjectSphereFilter::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 vtkPointSetAlgorithm.

Reimplemented in vtkPProjectSphereFilter.

virtual int vtkProjectSphereFilter::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 vtkPointSetAlgorithm.

Reimplemented in vtkPProjectSphereFilter.

Reimplemented from vtkPointSetAlgorithm.

Reimplemented in vtkPProjectSphereFilter.

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

Reimplemented from vtkPointSetAlgorithm.

Reimplemented in vtkPProjectSphereFilter.

Reimplemented from vtkPointSetAlgorithm.

Reimplemented in vtkPProjectSphereFilter.

virtual void vtkProjectSphereFilter::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 vtkPointSetAlgorithm.

Reimplemented in vtkPProjectSphereFilter.

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

Reimplemented from vtkPointSetAlgorithm.

Reimplemented in vtkPProjectSphereFilter.

virtual void vtkProjectSphereFilter::SetCenter ( double  ,
double  ,
double   
) [virtual]

Set the center of the sphere to be split. Default is 0,0,0.

virtual void vtkProjectSphereFilter::SetCenter ( double  [3]) [virtual]

Set the center of the sphere to be split. Default is 0,0,0.

virtual double* vtkProjectSphereFilter::GetCenter ( ) [virtual]

Set the center of the sphere to be split. Default is 0,0,0.

virtual void vtkProjectSphereFilter::GetCenter ( double  data[3]) [virtual]

Set the center of the sphere to be split. Default is 0,0,0.

virtual bool vtkProjectSphereFilter::GetKeepPolePoints ( ) [virtual]

Specify whether or not to keep the cells using a point at a pole. The default is false.

virtual void vtkProjectSphereFilter::SetKeepPolePoints ( bool  ) [virtual]

Specify whether or not to keep the cells using a point at a pole. The default is false.

virtual void vtkProjectSphereFilter::KeepPolePointsOn ( ) [virtual]

Specify whether or not to keep the cells using a point at a pole. The default is false.

virtual void vtkProjectSphereFilter::KeepPolePointsOff ( ) [virtual]

Specify whether or not to keep the cells using a point at a pole. The default is false.

virtual bool vtkProjectSphereFilter::GetTranslateZ ( ) [virtual]

Specify whether (true) or not to translate the points in the projected transformation such that the input point with the smallest radius is at 0. The default is false.

virtual void vtkProjectSphereFilter::SetTranslateZ ( bool  ) [virtual]

Specify whether (true) or not to translate the points in the projected transformation such that the input point with the smallest radius is at 0. The default is false.

virtual void vtkProjectSphereFilter::TranslateZOn ( ) [virtual]

Specify whether (true) or not to translate the points in the projected transformation such that the input point with the smallest radius is at 0. The default is false.

virtual void vtkProjectSphereFilter::TranslateZOff ( ) [virtual]

Specify whether (true) or not to translate the points in the projected transformation such that the input point with the smallest radius is at 0. The default is false.

virtual int vtkProjectSphereFilter::FillInputPortInformation ( int  port,
vtkInformation info 
) [protected, virtual]

Fill the input port information objects for this algorithm. This is invoked by the first call to GetInputPortInformation for each port so subclasses can specify what they can handle.

Reimplemented from vtkPointSetAlgorithm.

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

Reimplemented from vtkPointSetAlgorithm.

void vtkProjectSphereFilter::TransformPointInformation ( vtkPointSet input,
vtkPointSet output,
vtkIdList  
) [protected]
void vtkProjectSphereFilter::TransformCellInformation ( vtkPointSet input,
vtkPointSet output,
vtkIdList  
) [protected]
void vtkProjectSphereFilter::TransformTensors ( vtkIdType  id,
double coord,
vtkDataSetAttributes arrays 
) [protected]
virtual void vtkProjectSphereFilter::ComputePointsClosestToCenterLine ( double  ,
vtkIdList  
) [inline, protected, virtual]

Parallel part of the algorithm to figure out the closest point to the centerline (i.e. line connecting -90 latitude to 90 latitude) if we don't build cells using points at the poles.

Reimplemented in vtkPProjectSphereFilter.

Definition at line 87 of file vtkProjectSphereFilter.h.

virtual double vtkProjectSphereFilter::GetZTranslation ( vtkPointSet input) [protected, virtual]

If TranslateZ is true then this is the method that computes the amount to translate.

Reimplemented in vtkPProjectSphereFilter.

void vtkProjectSphereFilter::SplitCell ( vtkPointSet input,
vtkPointSet output,
vtkIdType  inputCellId,
vtkIncrementalPointLocator locator,
vtkCellArray connectivity,
int  splitSide 
) [protected]

Split a cell into multiple cells because it stretches across the SplitLongitude. splitSide is 1 for left side and 0 for sight side.

void vtkProjectSphereFilter::SetCellInformation ( vtkUnstructuredGrid output,
vtkCell cell,
vtkIdType  numberOfNewCells 
) [protected]

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