VTK
|
create wireframe outline around bounding box More...
#include <vtkOutlineSource.h>
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.
Definition at line 38 of file vtkOutlineSource.h.
Reimplemented from vtkPolyDataAlgorithm.
Reimplemented in vtkOutlineCornerSource.
Definition at line 42 of file vtkOutlineSource.h.
vtkOutlineSource::vtkOutlineSource | ( | ) | [protected] |
vtkOutlineSource::~vtkOutlineSource | ( | ) | [inline, protected] |
Definition at line 90 of file vtkOutlineSource.h.
static vtkOutlineSource* vtkOutlineSource::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkPolyDataAlgorithm.
Reimplemented in vtkOutlineCornerSource.
static int vtkOutlineSource::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 vtkPolyDataAlgorithm.
Reimplemented in vtkOutlineCornerSource.
virtual int vtkOutlineSource::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 vtkPolyDataAlgorithm.
Reimplemented in vtkOutlineCornerSource.
static vtkOutlineSource* vtkOutlineSource::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkPolyDataAlgorithm.
Reimplemented in vtkOutlineCornerSource.
virtual vtkObjectBase* vtkOutlineSource::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkPolyDataAlgorithm.
Reimplemented in vtkOutlineCornerSource.
vtkOutlineSource* vtkOutlineSource::NewInstance | ( | ) | const |
Reimplemented from vtkPolyDataAlgorithm.
Reimplemented in vtkOutlineCornerSource.
void vtkOutlineSource::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 vtkPolyDataAlgorithm.
Reimplemented in vtkOutlineCornerSource.
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.
virtual void vtkOutlineSource::SetOutputPointsPrecision | ( | int | ) | [virtual] |
Set/get the desired precision for the output points. vtkAlgorithm::SINGLE_PRECISION - Output single-precision floating point. vtkAlgorithm::DOUBLE_PRECISION - Output double-precision floating point.
Reimplemented in vtkOutlineCornerSource.
virtual int vtkOutlineSource::GetOutputPointsPrecision | ( | ) | [virtual] |
Set/get the desired precision for the output points. vtkAlgorithm::SINGLE_PRECISION - Output single-precision floating point. vtkAlgorithm::DOUBLE_PRECISION - Output double-precision floating point.
Reimplemented in vtkOutlineCornerSource.
int vtkOutlineSource::RequestData | ( | vtkInformation * | request, |
vtkInformationVector ** | inputVector, | ||
vtkInformationVector * | outputVector | ||
) | [protected, virtual] |
This is called by the superclass. This is the method you should override.
Reimplemented from vtkPolyDataAlgorithm.
Reimplemented in vtkOutlineCornerSource.
int vtkOutlineSource::BoxType [protected] |
Definition at line 93 of file vtkOutlineSource.h.
int vtkOutlineSource::GenerateFaces [protected] |
Definition at line 94 of file vtkOutlineSource.h.
int vtkOutlineSource::OutputPointsPrecision [protected] |
Reimplemented in vtkOutlineCornerSource.
Definition at line 95 of file vtkOutlineSource.h.
double vtkOutlineSource::Bounds[6] [protected] |
Definition at line 96 of file vtkOutlineSource.h.
double vtkOutlineSource::Corners[24] [protected] |
Definition at line 97 of file vtkOutlineSource.h.