vtk怎么自定义的vtkcontourfilterr

图像处理(4)
VTK交互机制:
&&& 类vtkRenderWindowInteractor被用来获取绘制窗口上发生的鼠标和键盘事件,然后把这些事件分发到另一个类——vtkInteractorStyle。因此,要增加新的交互方式到VTK里的话,应该先从vtkInteractorStyle派生出一个子类,如:vtkInteractorStyleTrackball, vtkInteractorStyleJoystickActor, vtkInteractorStyleJoystickCamera,
vtkInteractorStyleUser等。vtkInteractorStyleUser允许用户自定义交互方式。
&&& 实际上,vtkRenderWindowInteractor的工作方式是这样的:这个类会截取发生在与它关联的vtkRenderWindow(通过vtkRenderWindowInteractor的SetRenderWindow()方法加入的那个绘制窗口)上的事件,然后,vtkRenderWindowInteractor类会根据具体的设备以及操作系统实例化一个对象,比如说,Unix下是vtkXRenderWindowInteractor,而Windows下则是vtkWin32RenderWindowInteractor。当vtkRenderWindowInteractor::Start()方法被调用时,事件的截取功能就会被激活。最后,这些所截取的事件会被送往vtkRenderWindowInteractor::InteractorStyle这个实例进行处理。InteractorStyle是vtkRenderWindowInteractor类里面的一个保护的数据成员,是vtkInteractorObserver类型的指针,而vtkInteractorObserver是被vtkRenderWindowInteractor调用的类,它的作用是监测所发生的事件,这样,由vtkRenderWindowInteractor所截取的消息就有了归宿。
&&& VTK里定义好的主要的交互类型有:
&&& vtkInteractorStyleJoystickActor/C vtkInteractorTrackballActor/C vtkInteractorStyleS
vtkInteractorStyleT vtkInteractorStyleI vtkInteractorStyleF vtkInteractorStyleU vtkInteractorStyleUser等。其中vtkInteractorStyleImage是专为显示图像(vtkImageActor)时设计的交互方式,用这种交互方式可以通过鼠标运动,调节图像的窗宽/窗位,放大/缩小等操作。
&&& 在VTK里,什么类能响应什么事件,一般都是预先定义好的,当然用户也可以自定义对这些事件的响应。所有的Filter(即vtkProcessObject的子类)都可以调用: StartE EndE ProgressEvent。可以用截取这些事件,在Filter处理数据的过程中给用户一些反馈的信息,如该Filter的处理时间等。当vtkRenderWindow绘制时,可以调用事件:AbortCheckEvent。
参考知识库
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
访问:3918次
排名:千里之外
转载:16篇filter that generates tubes around lines
#include &&
This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.
This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.
typedef  
typedef  
enum   { ,
} Values used for setting the desired output precision for various algorithms.
typedef  
virtual   (const char *type)
 Return 1 if this class is the same type of (or a subclass of) the named class.
*  () const
void  (ostream &os,
 Methods invoked by print to print information about the object including superclasses.
virtual void  ()
 Set the minimum tube radius (minimum because the tube radius may vary).
virtual   ()
 Set the minimum tube radius (minimum because the tube radius may vary).
virtual void  ()
 Turn on/off the variation of tube radius with scalar value.
virtual   ()
 Turn on/off the variation of tube radius with scalar value.
void  ()
 Turn on/off the variation of tube radius with scalar value.
void  ()
 Turn on/off the variation of tube radius with scalar value.
void  ()
 Turn on/off the variation of tube radius with scalar value.
void  ()
 Turn on/off the variation of tube radius with scalar value.
const char *  ()
 Turn on/off the variation of tube radius with scalar value.
virtual void  ()
 Set the number of sides for the tube.
virtual   ()
 Set the number of sides for the tube.
virtual void  ()
 Set the maximum tube radius in terms of a multiple of the minimum radius.
virtual   ()
 Set the maximum tube radius in terms of a multiple of the minimum radius.
virtual void  (, , )
 Set the default normal to use if no normals are supplied, and the DefaultNormalOn is set.
virtual void  ([3])
 Set the default normal to use if no normals are supplied, and the DefaultNormalOn is set.
*  ()
 Set the default normal to use if no normals are supplied, and the DefaultNormalOn is set.
virtual void  ( data[3])
 Set the default normal to use if no normals are supplied, and the DefaultNormalOn is set.
virtual void  ()
 Set a boolean to control whether to use default normals.
virtual   ()
 Set a boolean to control whether to use default normals.
virtual void  ()
 Set a boolean to control whether to use default normals.
virtual void  ()
 Set a boolean to control whether to use default normals.
virtual void  ()
 Set a boolean to control whether tube sides should share vertices.
virtual   ()
 Set a boolean to control whether tube sides should share vertices.
virtual void  ()
 Set a boolean to control whether tube sides should share vertices.
virtual void  ()
 Set a boolean to control whether tube sides should share vertices.
virtual void  ()
 Turn on/off whether to cap the ends with polygons.
virtual   ()
 Turn on/off whether to cap the ends with polygons.
virtual void  ()
 Turn on/off whether to cap the ends with polygons.
virtual void  ()
 Turn on/off whether to cap the ends with polygons.
virtual void  ()
 Control the striping of the tubes.
virtual   ()
 Control the striping of the tubes.
virtual void  ()
 Control the striping of the tubes.
virtual   ()
 Control the striping of the tubes.
virtual void  ()
 Control whether and how texture coordinates are produced.
virtual   ()
 Control whether and how texture coordinates are produced.
void  ()
 Control whether and how texture coordinates are produced.
void  ()
 Control whether and how texture coordinates are produced.
void  ()
 Control whether and how texture coordinates are produced.
void  ()
 Control whether and how texture coordinates are produced.
const char *  ()
 Control whether and how texture coordinates are produced.
virtual void  ()
 Control the conversion of units during the texture coordinates calculation.
virtual   ()
 Control the conversion of units during the texture coordinates calculation.
virtual void  ()
 Set/get the desired precision for the output types.
virtual   ()
 Set/get the desired precision for the output types.
*  () const
  ( *,
*) override
for details
*  ()
*  ( port)
*  ( port)
*  ()
 Get the output data object for a port on this algorithm.
*  ()
 Get the output data object for a port on this algorithm.
virtual void  ( *d)
 Get the output data object for a port on this algorithm.
void  ( *)
 Assign a data object as input.
void  (,
 Assign a data object as input.
void  ( *)
 Assign a data object as input.
void  (,
 Assign a data object as input.
*  () const
 Check whether this algorithm has an assigned executive.
*  ()
 Get this algorithm's executive.
virtual void  ( *executive)
 Set this algorithm's executive.
  ( *request,
 Version of
that is wrapped.
virtual   ( *request,
**inInfoVec,
*outInfoVec,
requestFromOutputPort,
 A special version of ProcessRequest meant specifically for the pipeline modified time request.
virtual   ( *request,
 This method gives the algorithm a chance to modify the contents of a request before or after (specified in the when argument) it is forwarded.
*  ( port)
 Get the information object associated with an input port.
*  ( port)
 Get the information object associated with an output port.
 Get the number of input ports used by the algorithm.
 Get the number of output ports provided by the algorithm.
void  ( amount)
 Update the progress of the process object.
virtual void  ( idx,
connection, const char *fieldAssociation, const char *attributeTypeorName)
 String based versions of .
*  ( idx)
 Get the info object for the specified input array to this algorithm.
void  ()
 Remove all the input data.
*  ( port)
 Get the data object that will contain the algorithm output for the given port.
*  ( port,
connection)
 Get the data object that will contain the algorithm input for the given port and given connection.
virtual void  ( port,
 Remove a connection from the given input port index.
virtual void  ( port,
 Remove a connection given by index idx.
virtual void  ( port)
 Removes all input connections.
virtual void  ( port,
 Sets the data-object as an input on the given port index.
virtual void  ( *data)
virtual void  ( port,
 Add the data-object as an input to this given port.
virtual void  ( *data)
*  ( index)
 Get a proxy object corresponding to the given output port of this algorithm.
*  ()
  ( port)
 Get the number of inputs currently connected to a port.
 Get the total number of inputs for this algorithm.
*  ( port,
 Get the algorithm output port connected to an input port.
*  ( port,
 Returns the algorithm and the output port index of that algorithm connected to a port-index pair.
*  ( port,
 Returns the algorithm connected to a port-index pair.
*  ()
 Equivalent to GetInputAlgorithm(0, 0).
*  ( port,
 Returns the executive associated with a particular input connection.
*  ()
 Equivalent to GetInputExecutive(0, 0)
*  ( port,
 Return the information object that is associated with a particular input connection.
*  ()
 Equivalent to GetInputInformation(0, 0)
*  ( port)
 Return the information object that is associated with a particular output port.
virtual   ( port,
*requests)
 This method enables the passing of data requests to the algorithm to be used during execution (in addition to bringing a particular port up-to-date).
virtual   ( *requests)
 Convenience method to update an algorithm after passing requests to its first output port.
virtual   ( piece,
numPieces,
ghostLevels, const
extents[6]=0)
 Convenience method to update an algorithm after passing requests to its first output port.
virtual   (const
extents[6])
 Convenience method to update an algorithm after passing requests to its first output port.
virtual   ( time,
numPieces=1,
ghostLevels=0, const
extents[6]=0)
 Convenience method to update an algorithm after passing requests to its first output port.
virtual void  ()
 Bring the algorithm's information up-to-date.
virtual void  ()
 Create output object(s).
virtual void  ()
 Propagate meta-data upstream.
virtual void  ()
 Bring this algorithm's outputs up-to-date.
void  ( ind,
 Convenience routine to convert from a linear ordering of input connections to a port/connection pair.
  ( port)
 If the whole output extent is required, this method can be called to set the output update extent to the whole extent.
 Convenience function equivalent to SetUpdateExtentToWholeExtent(0) This method assumes that the whole extent is known (that UpdateInformation has been called).
void  ( port,
numPieces,
ghostLevel)
 Set the output update extent in terms of piece and ghost levels.
void  ( piece,
numPieces,
ghostLevel)
 Convenience function equivalent to SetUpdateExtent(0, piece, numPieces, ghostLevel)
void  ( port,
extent[6])
 Set the output update extent for data objects that use 3D extents.
void  ( extent[6])
 Convenience function equivalent to SetUpdateExtent(0, extent)
*  ()
 Set/Get the information object associated with this algorithm.
virtual void  ( *)
 Set/Get the information object associated with this algorithm.
void  ( *o) override
 Participate in garbage collection.
void  ( *o) override
 Participate in garbage collection.
virtual void  ()
 Set/Get the AbortExecute flag for the process object.
virtual   ()
 Set/Get the AbortExecute flag for the process object.
virtual void  ()
 Set/Get the AbortExecute flag for the process object.
virtual void  ()
 Set/Get the AbortExecute flag for the process object.
virtual void  ()
 Set/Get the execution progress of a process object.
virtual   ()
 Set/Get the execution progress of a process object.
void  (const char *ptext)
 Set the current text message associated with the progress state.
virtual char *  ()
 Set the current text message associated with the progress state.
virtual unsigned long  ()
 The error code contains a possible error that occurred while reading or writing the file.
virtual void  ( idx,
connection,
fieldAssociation, const char *name)
 Set the input data arrays that this algorithm will process.
virtual void  ( idx,
connection,
fieldAssociation,
fieldAttributeType)
 Set the input data arrays that this algorithm will process.
virtual void  ( idx,
 Set the input data arrays that this algorithm will process.
virtual void  ( port,
 Set the connection for the given input port index.
virtual void  ( *input)
 Set the connection for the given input port index.
virtual void  ( port,
 Add a connection to the given input port index.
virtual void  ( *input)
 Add a connection to the given input port index.
virtual void  ( port)
 Bring this algorithm's outputs up-to-date.
virtual void  ()
 Bring this algorithm's outputs up-to-date.
virtual void  ()
 Turn release data flag on or off for all output ports.
virtual   ()
 Turn release data flag on or off for all output ports.
void  ()
 Turn release data flag on or off for all output ports.
void  ()
 Turn release data flag on or off for all output ports.
  ( *pinfo,
 This detects when the UpdateExtent will generate no data This condition is satisfied when the UpdateExtent has zero volume (0,-1,...) or the UpdateNumberOfPieces is 0.
  ( *pinfo,
extentType)
 This detects when the UpdateExtent will generate no data This condition is satisfied when the UpdateExtent has zero volume (0,-1,...) or the UpdateNumberOfPieces is 0.
*  ()
 These functions return the update extent for output ports that use 3D extents.
*  ( port)
 These functions return the update extent for output ports that use 3D extents.
void  ( &x0,
 These functions return the update extent for output ports that use 3D extents.
void  ( port,
 These functions return the update extent for output ports that use 3D extents.
void  ( extent[6])
 These functions return the update extent for output ports that use 3D extents.
void  ( port,
extent[6])
 These functions return the update extent for output ports that use 3D extents.
 These functions return the update extent for output ports that use piece extents.
  ( port)
 These functions return the update extent for output ports that use piece extents.
 These functions return the update extent for output ports that use piece extents.
  ( port)
 These functions return the update extent for output ports that use piece extents.
 These functions return the update extent for output ports that use piece extents.
  ( port)
 These functions return the update extent for output ports that use piece extents.
void  ( *)
 If an ProgressObserver is set, the algorithm will report progress through it rather than directly.
*  ()
 If an ProgressObserver is set, the algorithm will report progress through it rather than directly.
  (, )
virtual void  ()
 Turn debugging output on.
virtual void  ()
 Turn debugging output off.
bool  ()
 Get the value of the debug flag.
void  (bool debugFlag)
 Set the value of the debug flag.
virtual void  ()
 Update the modification time for this object.
virtual   ()
 Return this object's modified time.
void  (unsigned long tag)
void  (unsigned long event)
void  (const char *event)
void  ()
  (unsigned long event)
  (const char *event)
  (unsigned long event)
  (const char *event)
unsigned long  (unsigned long event,
priority=0.0f)
 Allow people to add/remove/invoke observers (callbacks) to any VTK object.
unsigned long  (const char *event,
priority=0.0f)
 Allow people to add/remove/invoke observers (callbacks) to any VTK object.
*  (unsigned long tag)
 Allow people to add/remove/invoke observers (callbacks) to any VTK object.
void  ( *)
 Allow people to add/remove/invoke observers (callbacks) to any VTK object.
void  (unsigned long event,
 Allow people to add/remove/invoke observers (callbacks) to any VTK object.
void  (const char *event,
 Allow people to add/remove/invoke observers (callbacks) to any VTK object.
  (unsigned long event,
 Allow people to add/remove/invoke observers (callbacks) to any VTK object.
  (const char *event,
 Allow people to add/remove/invoke observers (callbacks) to any VTK object.
template&class U , class T &
unsigned long  (unsigned long event, U observer, void(T::*callback)(),
priority=0.0f)
 Overloads to AddObserver that allow developers to add class member functions as callbacks for events.
template&class U , class T &
unsigned long  (unsigned long event, U observer, void(T::*callback)( *, unsigned long, void *),
priority=0.0f)
 Overloads to AddObserver that allow developers to add class member functions as callbacks for events.
template&class U , class T &
unsigned long  (unsigned long event, U observer, bool(T::*callback)( *, unsigned long, void *),
priority=0.0f)
 Allow user to set the AbortFlagOn() with the return value of the callback method.
  (unsigned long event, void *callData)
 This method invokes an event and return whether the event was aborted or not.
  (const char *event, void *callData)
 This method invokes an event and return whether the event was aborted or not.
const char *  () const
 Return the class name as a string.
virtual void  ()
 Delete a VTK object.
virtual void  ()
 Delete a reference to this object.
void  (ostream &os)
 Print an object to an ostream.
 Return the current reference count of this object.
void  ()
 Sets the reference count.
void  (ostream &)
 Legacy.
virtual void  (ostream &os,
 Methods invoked by print to print information about the object including superclasses.
virtual void  (ostream &os,
 Methods invoked by print to print information about the object including superclasses.
static   (const char *type)
*  ( *o)
*  ()
 Construct object with radius 0.5, radius variation turned off, the number of sides set to 3, and radius factor of 10.
*  ()
static   (const char *type)
*  ( *o)
*  ()
static   (const char *type)
*  ( *o)
*  ()
 Keys used to specify input port requirements.
*  ()
*  ()
*  ()
*  ()
*  ()
*  ()
*  ()
 This key tells the executive that a particular output port is capable of producing an arbitrary subextent of the whole extent.
*  ()
 Key that tells the pipeline that a particular algorithm can or cannot handle piece request.
static void  ( *proto)
 If the DefaultExecutivePrototype is set, a copy of it is created in
*  ()
 Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
static void  ()
 This method is called when vtkErrorMacro executes.
static void  ( val)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
static void  ()
 This is a global flag that controls whether any debug, warning or error messages are displayed.
static void  ()
 This is a global flag that controls whether any debug, warning or error messages are displayed.
static   ()
 This is a global flag that controls whether any debug, warning or error messages are displayed.
static   (const char *name)
 Return 1 if this class type is the same type of (or a subclass of) the named class.
*  ()
 Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
*  () const
  ( *,
 This is called by the superclass.
  ( offset,
*newNormals,
*inScalars,
*inVectors,
*inNormals)
void  ( offset,
*newStrips)
void  ( offset,
*inScalars,
*newTCoords)
  ( offset,
  () override
virtual   ( *request,
**inputVector,
*outputVector)
virtual   ( *,
 This is called by the superclass.
  ( port,
*info) override
 Fill the output port information objects for this algorithm.
  ( port,
*info) override
 Fill the input port information objects for this algorithm.
  () override
virtual void  ( n)
 Set the number of input ports used by the algorithm.
virtual void  ( n)
 Set the number of output ports provided by the algorithm.
  ( index, const char *action)
  ( index, const char *action)
  ( idx,
**inputVector)
 Get the assocition of the actual data array for the input array specified by idx, this is only reasonable during the REQUEST_DATA pass.
*  ( idx,
**inputVector)
 This method takes in an index (as specified in SetInputArrayToProcess) and a pipeline information vector.
*  ()
 Create a default executive.
void  ( *) override
virtual void  ( port,
 Replace the Nth connection on the given input port.
virtual void  ( port,
 Set the number of input connections on the given input port.
void  ( port,
 These methods are used by subclasses to implement methods to set data objects directly as input.
void  ( port,
  ( idx,
connection,
**inputVector)
 Filters that have multiple connections on one port can use this signature.
  ( idx,
 Filters that have multiple connections on one port can use this signature.
*  ( idx,
**inputVector)
 Get the actual data array for the input array specified by idx, this is only reasonable during the REQUEST_DATA pass.
*  ( idx,
**inputVector,
&association)
 Get the actual data array for the input array specified by idx, this is only reasonable during the REQUEST_DATA pass.
*  ( idx,
connection,
**inputVector)
 Filters that have multiple connections on one port can use this signature.
*  ( idx,
connection,
**inputVector,
&association)
 Filters that have multiple connections on one port can use this signature.
*  ( idx,
 Filters that have multiple connections on one port can use this signature.
*  ( idx,
&association)
 Filters that have multiple connections on one port can use this signature.
*  ( idx,
**inputVector)
 Get the actual data array for the input array specified by idx, this is only reasonable during the REQUEST_DATA pass.
*  ( idx,
**inputVector,
&association)
 Get the actual data array for the input array specified by idx, this is only reasonable during the REQUEST_DATA pass.
*  ( idx,
connection,
**inputVector)
 Filters that have multiple connections on one port can use this signature.
*  ( idx,
connection,
**inputVector,
&association)
 Filters that have multiple connections on one port can use this signature.
*  ( idx,
 Filters that have multiple connections on one port can use this signature.
*  ( idx,
&association)
 Filters that have multiple connections on one port can use this signature.
virtual void  (unsigned long)
 The error code contains a possible error that occurred while reading or writing the file.
  () override
void  ( *,
check) override
void  ( *,
check) override
void  ( *mouseEvents,
*keypressEvents=NULL)
 These methods allow a command to exclusively grab all events.
void  ()
 These methods allow a command to exclusively grab all events.
virtual  ()
virtual void  (ostream &)
  (const
void  (const
  [3]
char * 
unsigned long 
 The error code contains a possible error that occurred while reading or writing the file.
bool 
vtkSubjectHelper * 
*  ()
filter that generates tubes around lines
is a filter that generates a tube around each input line. The tubes are made up of triangle strips and rotate around the tube with the rotation of the line normals. (If no normals are present, they are computed automatically.) The radius of the tube can be set to vary with scalar or vector value. If the radius varies with scalar value the radius is linearly adjusted. If the radius varies with vector value, a mass flux preserving variation is used. The number of sides for the tube also can be specified. You can also specify which of the sides are visible. This is useful for generating interesting striping effects. Other options include the ability to cap the tube and generate texture coordinates. Texture coordinates can be used with an associated texture map to create interesting effects such as marking the tube with stripes corresponding to length or time.
This filter is typically used to create thick or dramatic lines. Another common use is to combine this filter with
to generate streamtubes.
WarningThe number of tube sides must be greater than 3. If you wish to use fewer sides (i.e., a ribbon), use .
The input line must not have duplicate points, or normals at points that are parallel to the incoming/outgoing line segments. (Duplicate points can be removed with .) If a line does not meet this criteria, then that line is not tubed.
Thanks:Michael Finch for absolute scalar radius
Definition at line
Definition at line
vtkTubeFilter::vtkTubeFilter
vtkTubeFilter::~vtkTubeFilter
inlineprotected
Definition at line
vtkTubeFilter::IsTypeOf
const char * 
vtkTubeFilter::IsA
const char * 
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 .
static * vtkTubeFilter::SafeDownCast
virtual * vtkTubeFilter::NewInstanceInternal
protectedvirtual
Reimplemented from .
* vtkTubeFilter::NewInstance
void vtkTubeFilter::PrintSelf
ostream & 
indent 
Methods invoked by print to print information about the object including superclasses.
Typically not called by the user (use
instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from .
static * vtkTubeFilter::New
Construct object with radius 0.5, radius variation turned off, the number of sides set to 3, and radius factor of 10.
virtual void vtkTubeFilter::SetRadius
Set the minimum tube radius (minimum because the tube radius may vary).
vtkTubeFilter::GetRadius
Set the minimum tube radius (minimum because the tube radius may vary).
virtual void vtkTubeFilter::SetVaryRadius
Turn on/off the variation of tube radius with scalar value.
vtkTubeFilter::GetVaryRadius
Turn on/off the variation of tube radius with scalar value.
void vtkTubeFilter::SetVaryRadiusToVaryRadiusOff
Turn on/off the variation of tube radius with scalar value.
Definition at line
void vtkTubeFilter::SetVaryRadiusToVaryRadiusByScalar
Turn on/off the variation of tube radius with scalar value.
Definition at line
void vtkTubeFilter::SetVaryRadiusToVaryRadiusByVector
Turn on/off the variation of tube radius with scalar value.
Definition at line
void vtkTubeFilter::SetVaryRadiusToVaryRadiusByAbsoluteScalar
Turn on/off the variation of tube radius with scalar value.
Definition at line
const char* vtkTubeFilter::GetVaryRadiusAsString
Turn on/off the variation of tube radius with scalar value.
virtual void vtkTubeFilter::SetNumberOfSides
Set the number of sides for the tube.
At a minimum, number of sides is 3.
vtkTubeFilter::GetNumberOfSides
Set the number of sides for the tube.
At a minimum, number of sides is 3.
virtual void vtkTubeFilter::SetRadiusFactor
Set the maximum tube radius in terms of a multiple of the minimum radius.
vtkTubeFilter::GetRadiusFactor
Set the maximum tube radius in terms of a multiple of the minimum radius.
virtual void vtkTubeFilter::SetDefaultNormal
Set the default normal to use if no normals are supplied, and the DefaultNormalOn is set.
virtual void vtkTubeFilter::SetDefaultNormal
Set the default normal to use if no normals are supplied, and the DefaultNormalOn is set.
virtual * vtkTubeFilter::GetDefaultNormal
Set the default normal to use if no normals are supplied, and the DefaultNormalOn is set.
virtual void vtkTubeFilter::GetDefaultNormal
Set the default normal to use if no normals are supplied, and the DefaultNormalOn is set.
virtual void vtkTubeFilter::SetUseDefaultNormal
Set a boolean to control whether to use default normals.
DefaultNormalOn is set.
vtkTubeFilter::GetUseDefaultNormal
Set a boolean to control whether to use default normals.
DefaultNormalOn is set.
virtual void vtkTubeFilter::UseDefaultNormalOn
Set a boolean to control whether to use default normals.
DefaultNormalOn is set.
virtual void vtkTubeFilter::UseDefaultNormalOff
Set a boolean to control whether to use default normals.
DefaultNormalOn is set.
virtual void vtkTubeFilter::SetSidesShareVertices
Set a boolean to control whether tube sides should share vertices.
This creates independent strips, with constant normals so the tube is always faceted in appearance.
vtkTubeFilter::GetSidesShareVertices
Set a boolean to control whether tube sides should share vertices.
This creates independent strips, with constant normals so the tube is always faceted in appearance.
virtual void vtkTubeFilter::SidesShareVerticesOn
Set a boolean to control whether tube sides should share vertices.
This creates independent strips, with constant normals so the tube is always faceted in appearance.
virtual void vtkTubeFilter::SidesShareVerticesOff
Set a boolean to control whether tube sides should share vertices.
This creates independent strips, with constant normals so the tube is always faceted in appearance.
virtual void vtkTubeFilter::SetCapping
Turn on/off whether to cap the ends with polygons.
Initial value is off.
vtkTubeFilter::GetCapping
Turn on/off whether to cap the ends with polygons.
Initial value is off.
virtual void vtkTubeFilter::CappingOn
Turn on/off whether to cap the ends with polygons.
Initial value is off.
virtual void vtkTubeFilter::CappingOff
Turn on/off whether to cap the ends with polygons.
Initial value is off.
virtual void vtkTubeFilter::SetOnRatio
Control the striping of the tubes.
If OnRatio is greater than 1, then every nth tube side is turned on, beginning with the Offset side.
vtkTubeFilter::GetOnRatio
Control the striping of the tubes.
If OnRatio is greater than 1, then every nth tube side is turned on, beginning with the Offset side.
virtual void vtkTubeFilter::SetOffset
Control the striping of the tubes.
The offset sets the first tube side that is visible. Offset is generally used with OnRatio to create nifty striping effects.
vtkTubeFilter::GetOffset
Control the striping of the tubes.
The offset sets the first tube side that is visible. Offset is generally used with OnRatio to create nifty striping effects.
virtual void vtkTubeFilter::SetGenerateTCoords
Control whether and how texture coordinates are produced.
This is useful for striping the tube with length textures, etc. If you use scalars to create the texture, the scalars are assumed to be monotonically increasing (or decreasing).
vtkTubeFilter::GetGenerateTCoords
Control whether and how texture coordinates are produced.
This is useful for striping the tube with length textures, etc. If you use scalars to create the texture, the scalars are assumed to be monotonically increasing (or decreasing).
void vtkTubeFilter::SetGenerateTCoordsToOff
Control whether and how texture coordinates are produced.
This is useful for striping the tube with length textures, etc. If you use scalars to create the texture, the scalars are assumed to be monotonically increasing (or decreasing).
Definition at line
void vtkTubeFilter::SetGenerateTCoordsToNormalizedLength
Control whether and how texture coordinates are produced.
This is useful for striping the tube with length textures, etc. If you use scalars to create the texture, the scalars are assumed to be monotonically increasing (or decreasing).
Definition at line
void vtkTubeFilter::SetGenerateTCoordsToUseLength
Control whether and how texture coordinates are produced.
This is useful for striping the tube with length textures, etc. If you use scalars to create the texture, the scalars are assumed to be monotonically increasing (or decreasing).
Definition at line
void vtkTubeFilter::SetGenerateTCoordsToUseScalars
Control whether and how texture coordinates are produced.
This is useful for striping the tube with length textures, etc. If you use scalars to create the texture, the scalars are assumed to be monotonically increasing (or decreasing).
Definition at line
const char* vtkTubeFilter::GetGenerateTCoordsAsString
Control whether and how texture coordinates are produced.
This is useful for striping the tube with length textures, etc. If you use scalars to create the texture, the scalars are assumed to be monotonically increasing (or decreasing).
virtual void vtkTubeFilter::SetTextureLength
Control the conversion of units during the texture coordinates calculation.
The TextureLength indicates what length (whether calculated from scalars or length) is mapped to the [0,1) texture space.
vtkTubeFilter::GetTextureLength
Control the conversion of units during the texture coordinates calculation.
The TextureLength indicates what length (whether calculated from scalars or length) is mapped to the [0,1) texture space.
virtual void vtkTubeFilter::SetOutputPointsPrecision
Set/get the desired precision for the output types.
See the documentation for the
enum for an explanation of the available precision settings.
vtkTubeFilter::GetOutputPointsPrecision
Set/get the desired precision for the output types.
See the documentation for the
enum for an explanation of the available precision settings.
vtkTubeFilter::RequestData
inputVector,
outputVector 
protectedvirtual
This is called by the superclass.
This is the method you should override.
Reimplemented from .
vtkTubeFilter::GeneratePoints
newNormals,
inScalars,
inVectors,
inNormals 
void vtkTubeFilter::GenerateStrips
newStrips 
void vtkTubeFilter::GenerateTextureCoords
inScalars,
newTCoords 
vtkTubeFilter::ComputeOffset
npts 
vtkTubeFilter::Radius
Definition at line
vtkTubeFilter::VaryRadius
Definition at line
vtkTubeFilter::NumberOfSides
Definition at line
vtkTubeFilter::RadiusFactor
Definition at line
vtkTubeFilter::DefaultNormal[3]
Definition at line
vtkTubeFilter::UseDefaultNormal
Definition at line
vtkTubeFilter::SidesShareVertices
Definition at line
vtkTubeFilter::Capping
Definition at line
vtkTubeFilter::OnRatio
Definition at line
vtkTubeFilter::Offset
Definition at line
vtkTubeFilter::GenerateTCoords
Definition at line
vtkTubeFilter::OutputPointsPrecision
Definition at line
vtkTubeFilter::TextureLength
Definition at line
vtkTubeFilter::Theta
Definition at line
The documentation for this class was generated from the following file:
dox/Filters/Core/

我要回帖

更多关于 hbase 自定义filter 的文章

 

随机推荐