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 | List of all members
vtkProjectSphereFilter Class Reference

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

#include <vtkProjectSphereFilter.h>

Inheritance diagram for vtkProjectSphereFilter:
[legend]

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 double * GetCenter ()
 
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 vtkObjectBase * NewInstanceInternal () 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

typedef vtkPointSetAlgorithm vtkProjectSphereFilter::Superclass

Definition at line 42 of file vtkProjectSphereFilter.h.

Constructor & Destructor Documentation

vtkProjectSphereFilter::vtkProjectSphereFilter ( )
protected
vtkProjectSphereFilter::~vtkProjectSphereFilter ( )
protected

Member Function Documentation

static int vtkProjectSphereFilter::IsTypeOf ( const char *  type)
static
virtual int vtkProjectSphereFilter::IsA ( const char *  type)
virtual

Reimplemented in vtkPProjectSphereFilter.

static vtkProjectSphereFilter* vtkProjectSphereFilter::SafeDownCast ( vtkObjectBase *  o)
static
virtual vtkObjectBase* vtkProjectSphereFilter::NewInstanceInternal ( ) const
protectedvirtual

Reimplemented in vtkPProjectSphereFilter.

vtkProjectSphereFilter* vtkProjectSphereFilter::NewInstance ( ) const
virtual void vtkProjectSphereFilter::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
virtual

Reimplemented in vtkPProjectSphereFilter.

static vtkProjectSphereFilter* vtkProjectSphereFilter::New ( )
static
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 
)
protectedvirtual
virtual int vtkProjectSphereFilter::RequestData ( vtkInformation *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
protectedvirtual
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 *   
)
inlineprotectedvirtual

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)
protectedvirtual

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: