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

create wireframe outline around bounding box More...

#include <vtkOutlineSource.h>

Inheritance diagram for vtkOutlineSource:
[legend]

Public Types

typedef vtkPolyDataAlgorithm Superclass
 

Public Member Functions

virtual int IsA (const char *type)
 
vtkOutlineSourceNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual void SetBoxType (int)
 
virtual int GetBoxType ()
 
void SetBoxTypeToAxisAligned ()
 
void SetBoxTypeToOriented ()
 
virtual void SetBounds (double, double, double, double, double, double)
 
virtual void SetBounds (double[6])
 
virtual double * GetBounds ()
 
virtual void GetBounds (double data[6])
 
virtual void SetCorners (double data[])
 
virtual double * GetCorners ()
 
virtual void GetCorners (double data[24])
 
virtual void SetGenerateFaces (int)
 
virtual void GenerateFacesOn ()
 
virtual void GenerateFacesOff ()
 
virtual int GetGenerateFaces ()
 

Static Public Member Functions

static vtkOutlineSourceNew ()
 
static int IsTypeOf (const char *type)
 
static vtkOutlineSourceSafeDownCast (vtkObjectBase *o)
 

Protected Member Functions

virtual vtkObjectBase * NewInstanceInternal () const
 
 vtkOutlineSource ()
 
 ~vtkOutlineSource ()
 
int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 

Protected Attributes

int BoxType
 
int GenerateFaces
 
double Bounds [6]
 
double Corners [24]
 

Detailed Description

create wireframe outline around bounding box

vtkOutlineSource creates a wireframe outline around a user-specified bounding box. The outline may be created aligned with the {x,y,z} axis - in which case it is defined by the 6 bounds {xmin,xmax,ymin,ymax,zmin,zmax} via SetBounds(). Alternatively, the box may be arbitrarily aligned, in which case it should be set via the SetCorners() member.

Tests:
vtkOutlineSource (Tests)

Definition at line 38 of file vtkOutlineSource.h.

Member Typedef Documentation

typedef vtkPolyDataAlgorithm vtkOutlineSource::Superclass

Definition at line 42 of file vtkOutlineSource.h.

Constructor & Destructor Documentation

vtkOutlineSource::vtkOutlineSource ( )
protected
vtkOutlineSource::~vtkOutlineSource ( )
inlineprotected

Definition at line 81 of file vtkOutlineSource.h.

Member Function Documentation

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

Reimplemented in vtkOutlineCornerSource.

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

Reimplemented in vtkOutlineCornerSource.

vtkOutlineSource* vtkOutlineSource::NewInstance ( ) const
void vtkOutlineSource::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
virtual void vtkOutlineSource::SetBoxType ( int  )
virtual

Set box type to AxisAligned (default) or Oriented. Use the method SetBounds() with AxisAligned mode, and SetCorners() with Oriented mode.

virtual int vtkOutlineSource::GetBoxType ( )
virtual

Set box type to AxisAligned (default) or Oriented. Use the method SetBounds() with AxisAligned mode, and SetCorners() with Oriented mode.

void vtkOutlineSource::SetBoxTypeToAxisAligned ( )
inline

Set box type to AxisAligned (default) or Oriented. Use the method SetBounds() with AxisAligned mode, and SetCorners() with Oriented mode.

Definition at line 51 of file vtkOutlineSource.h.

void vtkOutlineSource::SetBoxTypeToOriented ( )
inline

Set box type to AxisAligned (default) or Oriented. Use the method SetBounds() with AxisAligned mode, and SetCorners() with Oriented mode.

Definition at line 53 of file vtkOutlineSource.h.

virtual void vtkOutlineSource::SetBounds ( double  ,
double  ,
double  ,
double  ,
double  ,
double   
)
virtual

Specify the bounds of the box to be used in Axis Aligned mode.

virtual void vtkOutlineSource::SetBounds ( double  [6])
virtual

Specify the bounds of the box to be used in Axis Aligned mode.

virtual double* vtkOutlineSource::GetBounds ( )
virtual

Specify the bounds of the box to be used in Axis Aligned mode.

virtual void vtkOutlineSource::GetBounds ( double  data[6])
virtual

Specify the bounds of the box to be used in Axis Aligned mode.

virtual void vtkOutlineSource::SetCorners ( double  data[])
virtual

Specify the corners of the outline when in Oriented mode, the values are supplied as 8*3 double values The correct corner ordering is using {x,y,z} convention for the unit cube as follows: {0,0,0},{1,0,0},{0,1,0},{1,1,0},{0,0,1},{1,0,1},{0,1,1},{1,1,1}.

virtual double* vtkOutlineSource::GetCorners ( )
virtual

Specify the corners of the outline when in Oriented mode, the values are supplied as 8*3 double values The correct corner ordering is using {x,y,z} convention for the unit cube as follows: {0,0,0},{1,0,0},{0,1,0},{1,1,0},{0,0,1},{1,0,1},{0,1,1},{1,1,1}.

virtual void vtkOutlineSource::GetCorners ( double  data[24])
virtual

Specify the corners of the outline when in Oriented mode, the values are supplied as 8*3 double values The correct corner ordering is using {x,y,z} convention for the unit cube as follows: {0,0,0},{1,0,0},{0,1,0},{1,1,0},{0,0,1},{1,0,1},{0,1,1},{1,1,1}.

virtual void vtkOutlineSource::SetGenerateFaces ( int  )
virtual

Generate solid faces for the box. This is off by default.

virtual void vtkOutlineSource::GenerateFacesOn ( )
virtual

Generate solid faces for the box. This is off by default.

virtual void vtkOutlineSource::GenerateFacesOff ( )
virtual

Generate solid faces for the box. This is off by default.

virtual int vtkOutlineSource::GetGenerateFaces ( )
virtual

Generate solid faces for the box. This is off by default.

int vtkOutlineSource::RequestData ( vtkInformation *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
protected

Member Data Documentation

int vtkOutlineSource::BoxType
protected

Definition at line 84 of file vtkOutlineSource.h.

int vtkOutlineSource::GenerateFaces
protected

Definition at line 85 of file vtkOutlineSource.h.

double vtkOutlineSource::Bounds[6]
protected

Definition at line 86 of file vtkOutlineSource.h.

double vtkOutlineSource::Corners[24]
protected

Definition at line 87 of file vtkOutlineSource.h.


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