#include <vtkSweptSurface.h>
Inheritance diagram for vtkSweptSurface:
Public Methods | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
unsigned long int | GetMTime () |
virtual void | SetSampleDimensions (int, int, int) |
virtual void | SetSampleDimensions (int[3]) |
virtual int * | GetSampleDimensions () |
virtual void | GetSampleDimensions (int data[3]) |
virtual void | SetTransforms (vtkTransformCollection *) |
virtual vtkTransformCollection * | GetTransforms () |
virtual void | SetFillValue (float) |
virtual float | GetFillValue () |
virtual void | SetNumberOfInterpolationSteps (int) |
virtual int | GetNumberOfInterpolationSteps () |
virtual void | SetMaximumNumberOfInterpolationSteps (int) |
virtual int | GetMaximumNumberOfInterpolationSteps () |
virtual void | SetCapping (int) |
virtual int | GetCapping () |
virtual void | CappingOn () |
virtual void | CappingOff () |
virtual void | SetModelBounds (float data[]) |
virtual float * | GetModelBounds () |
virtual void | GetModelBounds (float data[6]) |
void | SetModelBounds (float xmin, float xmax, float ymin, float ymax, float zmin, float zmax) |
virtual void | SetAdjustBounds (int) |
virtual int | GetAdjustBounds () |
virtual void | AdjustBoundsOn () |
virtual void | AdjustBoundsOff () |
virtual void | SetAdjustDistance (float) |
virtual float | GetAdjustDistance () |
Static Public Methods | |
vtkSweptSurface * | New () |
int | IsTypeOf (const char *type) |
vtkSweptSurface * | SafeDownCast (vtkObject *o) |
Protected Methods | |
vtkSweptSurface () | |
~vtkSweptSurface () | |
void | Execute () |
void | ExecuteInformation () |
void | ComputeBounds (float origin[3], float ar[3], float bbox[24]) |
int | ComputeNumberOfSteps (vtkTransform *t1, vtkTransform *t2, float bbox[24]) |
void | SampleInput (vtkMatrix4x4 *m, int inDim[3], float inOrigin[3], float inAr[3], vtkDataArray *in, vtkDataArray *out) |
void | ComputeFootprint (vtkMatrix4x4 *m, int inDim[3], float inOrigin[3], float inSpacing[3], int Indicies[6]) |
void | Cap (vtkDataArray *s) |
void | GetRelativePosition (vtkTransform &t, float *origin, float *position) |
vtkMatrix4x4 * | GetActorMatrixPointer (vtkTransform &t, float origin[3], float position[3], float orientation[3]) |
virtual void | InterpolateStates (float *pos1, float *pos2, float *euler1, float *euler2, float t, float *posOut, float *eulerOut) |
Protected Attributes | |
int | SampleDimensions [3] |
float | FillValue |
float | ModelBounds [6] |
int | NumberOfInterpolationSteps |
int | MaximumNumberOfInterpolationSteps |
int | Capping |
int | AdjustBounds |
float | AdjustDistance |
vtkTransformCollection * | Transforms |
vtkSweptSurface is a filter that is used to create a surface defined by moving a part along a path. In this implementation, the path is defined as a list of transformation matrices (vtkTransform), and the part geometry is implicitly defined using a volume (i.e., distance scalars in structured point dataset). The input to the filter is the geometry (i.e., a structured point dataset) and the output is a structured point dataset (i.e., an implicit representation of the swept surface). If you wish to generate a polygonal representation of swept surface you will have to use a contouring filter (e.g., vtkContourFilter). (You may also wish to use vtkDecimate to reduce mesh size.)
The swept surface algorithm can be summarized as follows. A geometry (i.e. the input) is swept along a path (list of transforms). At each point on the path the input is re-sampled into a volume using a union operation. (Union means that the minimum scalar value is retained - minimum distance value for example.) At the end, an implicit representation of the swept surface is defined.
Definition at line 90 of file vtkSweptSurface.h.
|
|
|
|
|
Instantiate object with no start, end, or progress methods. Reimplemented from vtkStructuredPointsSource. |
|
Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkStructuredPointsToStructuredPointsFilter. |
|
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 vtkStructuredPointsToStructuredPointsFilter. |
|
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 vtkStructuredPointsToStructuredPointsFilter. |
|
Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkStructuredPointsToStructuredPointsFilter. |
|
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 vtkSource. |
|
Specify i-j-k dimensions to sample input with. The higher the resolution the lower the error but the greater the processing time. |
|
Specify i-j-k dimensions to sample input with. The higher the resolution the lower the error but the greater the processing time. |
|
Specify i-j-k dimensions to sample input with. The higher the resolution the lower the error but the greater the processing time. |
|
Specify i-j-k dimensions to sample input with. The higher the resolution the lower the error but the greater the processing time. |
|
Specify a path (i.e., list of transforms) that the input moves along. At least two transforms must be used to define a path. |
|
Specify a path (i.e., list of transforms) that the input moves along. At least two transforms must be used to define a path. |
|
Voxels are initialized to this value. By default a large floating point value is used, since the scalar values are assumed to be a distance function. |
|
Voxels are initialized to this value. By default a large floating point value is used, since the scalar values are assumed to be a distance function. |
|
Value specifies/controls interpolation between the nodes (i.e., transforms) defining the path. A positive value indicates the number of steps to take between transforms (i.e., interpolation is performed). A negative value indicates that no interpolation to be performed, that is, only the points defined at each transform are used (interpolation not performed). A zero value indicates that automatic interpolation is to be performed, that is, interpolation is computed so that potential errors fall below the error bounds defined in the text. By default, automatic computation is performed (Interpolation = 0). |
|
Value specifies/controls interpolation between the nodes (i.e., transforms) defining the path. A positive value indicates the number of steps to take between transforms (i.e., interpolation is performed). A negative value indicates that no interpolation to be performed, that is, only the points defined at each transform are used (interpolation not performed). A zero value indicates that automatic interpolation is to be performed, that is, interpolation is computed so that potential errors fall below the error bounds defined in the text. By default, automatic computation is performed (Interpolation = 0). |
|
Set/get the maximum number of interpolation steps to take. This is useful if you are limited in computation time or just know that the number of computed steps should not exceed a certain value. |
|
Set/get the maximum number of interpolation steps to take. This is useful if you are limited in computation time or just know that the number of computed steps should not exceed a certain value. |
|
The outer boundary of the sampling volume can be capped (i.e., assigned fill value). This will "close" the implicit model if the geometry approaches close to or passes through the boundary of the volume (i.e., defined by ModelBounds instance variable). Capping turns on/off this capability. By default capping is on. |
|
The outer boundary of the sampling volume can be capped (i.e., assigned fill value). This will "close" the implicit model if the geometry approaches close to or passes through the boundary of the volume (i.e., defined by ModelBounds instance variable). Capping turns on/off this capability. By default capping is on. |
|
The outer boundary of the sampling volume can be capped (i.e., assigned fill value). This will "close" the implicit model if the geometry approaches close to or passes through the boundary of the volume (i.e., defined by ModelBounds instance variable). Capping turns on/off this capability. By default capping is on. |
|
The outer boundary of the sampling volume can be capped (i.e., assigned fill value). This will "close" the implicit model if the geometry approaches close to or passes through the boundary of the volume (i.e., defined by ModelBounds instance variable). Capping turns on/off this capability. By default capping is on. |
|
Define the volume (in world coordinates) in which the sampling is to occur. Make sure that the volume is large enough to accommodate the motion of the geometry along the path. If the model bounds are set to all zero values, the model bounds will be computed automatically from the input geometry and path. |
|
Define the volume (in world coordinates) in which the sampling is to occur. Make sure that the volume is large enough to accommodate the motion of the geometry along the path. If the model bounds are set to all zero values, the model bounds will be computed automatically from the input geometry and path. |
|
Define the volume (in world coordinates) in which the sampling is to occur. Make sure that the volume is large enough to accommodate the motion of the geometry along the path. If the model bounds are set to all zero values, the model bounds will be computed automatically from the input geometry and path. |
|
Define the volume (in world coordinates) in which the sampling is to occur. Make sure that the volume is large enough to accommodate the motion of the geometry along the path. If the model bounds are set to all zero values, the model bounds will be computed automatically from the input geometry and path. |
|
Control how the model bounds are computed. If the ivar AdjustBounds is set, then the bounds specified (or computed automatically) is modified by the fraction given by AdjustDistance. This means that the model bounds is expanded in each of the x-y-z directions. |
|
Control how the model bounds are computed. If the ivar AdjustBounds is set, then the bounds specified (or computed automatically) is modified by the fraction given by AdjustDistance. This means that the model bounds is expanded in each of the x-y-z directions. |
|
Control how the model bounds are computed. If the ivar AdjustBounds is set, then the bounds specified (or computed automatically) is modified by the fraction given by AdjustDistance. This means that the model bounds is expanded in each of the x-y-z directions. |
|
Control how the model bounds are computed. If the ivar AdjustBounds is set, then the bounds specified (or computed automatically) is modified by the fraction given by AdjustDistance. This means that the model bounds is expanded in each of the x-y-z directions. |
|
Specify the amount to grow the model bounds (if the ivar AdjustBounds is set). The value is a fraction of the maximum length of the sides of the box specified by the model bounds. |
|
Specify the amount to grow the model bounds (if the ivar AdjustBounds is set). The value is a fraction of the maximum length of the sides of the box specified by the model bounds. |
|
Return this object's modified time. Reimplemented from vtkObject. |
|
This method is the old style execute method Reimplemented from vtkSource. |
|
Reimplemented from vtkStructuredPointsToStructuredPointsFilter. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 208 of file vtkSweptSurface.h. |
|
Definition at line 209 of file vtkSweptSurface.h. |
|
Definition at line 210 of file vtkSweptSurface.h. |
|
Definition at line 211 of file vtkSweptSurface.h. |
|
Definition at line 212 of file vtkSweptSurface.h. |
|
Definition at line 213 of file vtkSweptSurface.h. |
|
Definition at line 214 of file vtkSweptSurface.h. |
|
Definition at line 215 of file vtkSweptSurface.h. |
|
Definition at line 217 of file vtkSweptSurface.h. |