求教,怎么显示vtkvtktextactorr的边框

君,已阅读到文档的结尾了呢~~
广告剩余8秒
文档加载中
定位获得焦点窗口 要想突出显示获得焦点的二维图像显示窗口, 必须 得到当前鼠标所在的位置, 知道它处于哪一窗口.再根据焦点窗口 在其边界画指定颜色的外接矩形框 ,...
扫扫二维码,随身浏览文档
手机或平板扫扫即可继续访问
vtk中二维图像显示窗口焦点外框的实现方法
举报该文档为侵权文档。
举报该文档含有违规或不良信息。
反馈该文档无法正常浏览。
举报该文档为重复文档。
推荐理由:
将文档分享至:
分享完整地址
文档地址:
粘贴到BBS或博客
flash地址:
支持嵌入FLASH地址的网站使用
html代码:
&embed src='/DocinViewer-4.swf' width='100%' height='600' type=application/x-shockwave-flash ALLOWFULLSCREEN='true' ALLOWSCRIPTACCESS='always'&&/embed&
450px*300px480px*400px650px*490px
支持嵌入HTML代码的网站使用
您的内容已经提交成功
您所提交的内容需要审核后才能发布,请您等待!
3秒自动关闭窗口represents an object (geometry & properties) in a rendered scene
#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  
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,
indent) override
 Methods invoked by print to print information about the object including superclasses.
void  ( *) override
 For some exporters and other other operations we must be able to collect all the actors or volumes.
  () override
 Does this prop have some translucent polygonal geometry?
virtual void  ( *,
 This causes the actor to be rendered.
void  ( *prop) override
 Shallow copy of an actor.
void  ( *) override
 Release any graphics resources that are being consumed by this actor.
*  ()
 Create a new property suitable for use with this type of Actor.
virtual void  ( *)
 This is the method that is used to connect an actor to the end of a visualization pipeline, i.e.
*  () override
 Return a reference to the Prop3D's composite transform.
virtual void  ()
 Apply the current properties to all parts that compose this actor.
  () override
 Get the actors mtime plus consider its properties and texture if set.
  () override
 Return the mtime of anything that would cause the rendered image to appear differently.
bool  () override
 WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERING PROCESS Used by
to determine if the prop supports hardware selection.
  ( *viewport) override
 Support the standard render methods.
  ( *viewport) override
 Support the standard render methods.
void  ( *lut)
 Set/Get the property object that controls this actors surface properties.
*  ()
 Set/Get the property object that controls this actors surface properties.
void  ( *lut)
 Set/Get the property object that controls this actors backface surface properties.
*  ()
 Set/Get the property object that controls this actors backface surface properties.
virtual void  ( *)
 Set/Get the texture object to control rendering texture maps.
*  ()
 Set/Get the texture object to control rendering texture maps.
*  ()
 Returns the Mapper that this actor is getting its data from.
virtual bool  ()
 Force the actor to be treated as opaque or translucent.
virtual void  (bool)
 Force the actor to be treated as opaque or translucent.
virtual void  ()
 Force the actor to be treated as opaque or translucent.
virtual void  ()
 Force the actor to be treated as opaque or translucent.
virtual bool  ()
 Force the actor to be treated as opaque or translucent.
virtual void  (bool)
 Force the actor to be treated as opaque or translucent.
virtual void  ()
 Force the actor to be treated as opaque or translucent.
virtual void  ()
 Force the actor to be treated as opaque or translucent.
*  () const
void  (ostream &os,
indent) override
 Methods invoked by print to print information about the object including superclasses.
void  ( *prop) override
 Shallow copy of this .
virtual void  ( pos[3])
*  ()
virtual void  ( data[3])
void  ( deltaPosition[3])
void  ( deltaX,
void  ( s)
 Method to set the scale isotropically.
*  ()
 Get the center of the bounding box in world coordinates.
*  ()
 Get the Prop3D's x range in world coordinates.
*  ()
 Get the Prop3D's y range in world coordinates.
*  ()
 Get the Prop3D's z range in world coordinates.
 Get the length of the diagonal of the bounding box.
void  ()
 Rotate the Prop3D in degrees about the X axis using the right hand rule.
void  ()
 Rotate the Prop3D in degrees about the Y axis using the right hand rule.
void  ()
 Rotate the Prop3D in degrees about the Z axis using the right hand rule.
void  ( w,
 Rotate the Prop3D in degrees about an arbitrary axis specified by the last three arguments.
void  ( x,
 Sets the orientation of the Prop3D.
void  ( orientation[3])
 Sets the orientation of the Prop3D.
*  ()
 Returns the WXYZ orientation of the Prop3D.
void  ( x,
 Add to the current orientation.
void  ( orentation[3])
 Add to the current orientation.
void  ( *matrix) override
 This method modifies the
so that its transformation state is set to the matrix specified.
void  () override
 Overload 's method for setting up assembly paths.
  () override
 Get the 's mtime.
 Get the modified time of the user matrix or user transform.
virtual void  ()
 Generate the matrix based on ivars.
virtual void  ( x,
 Set/Get/Add the position of the Prop3D in world coordinates.
virtual void  ( x,
 Set/Get the origin of the Prop3D.
virtual void  (const
 Set/Get the origin of the Prop3D.
*  ()
 Set/Get the origin of the Prop3D.
virtual void  ( data[3])
 Set/Get the origin of the Prop3D.
virtual void  ( x,
 Set/Get the scale of the actor.
virtual void  ( scale[3])
 Set/Get the scale of the actor.
*  ()
 Set/Get the scale of the actor.
virtual void  ( data[3])
 Set/Get the scale of the actor.
void  ( *transform)
 In addition to the instance variables such as position and orientation, you can add an additional transformation for your own use.
*  ()
 In addition to the instance variables such as position and orientation, you can add an additional transformation for your own use.
void  ( *matrix)
 The UserMatrix can be used in place of UserTransform.
*  ()
 The UserMatrix can be used in place of UserTransform.
virtual void  ( *m)
 Return a reference to the Prop3D's 4x4 composite matrix.
virtual void  ( m[16])
 Return a reference to the Prop3D's 4x4 composite matrix.
void  ( bounds[6])
 Return a reference to the Prop3D's composite transform.
*  ()
 Returns the orientation of the Prop3D as s vector of X,Y and Z rotation.
void  ( orentation[3])
 Returns the orientation of the Prop3D as s vector of X,Y and Z rotation.
*  () override
 Get a pointer to an internal .
virtual   ()
 Is the matrix for this actor identity.
*  () const
virtual void  ( *)
virtual void  ( *)
virtual void  ()
 Method fires PickEvent if the prop is picked.
virtual void  ( *vtkNotUsed(matrix))
 These methods are used by subclasses to place a matrix (if any) in the prop prior to rendering.
virtual bool  ( *requiredKeys)
 Tells if the prop has all the required keys.
virtual   ( *)
virtual   ( *)
virtual bool  ( *v,
*requiredKeys)
 Render the opaque geometry only if the prop has all the requiredKeys.
virtual bool  ( *v,
*requiredKeys)
 Render the translucent polygonal geometry only if the prop has all the requiredKeys.
virtual bool  ( *v,
*requiredKeys)
 Render the volumetric geometry only if the prop has all the requiredKeys.
virtual bool  ( *v,
*requiredKeys)
 Render in the overlay of the viewport only if the prop has all the requiredKeys.
virtual   ( *)
 WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDERING PROCESS The EstimatedRenderTime may be used to select between different props, for example in LODProp it is used to select the level-of-detail.
virtual   ()
virtual void  ( t)
 WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDERING PROCESS This method is used by, for example, the
in order to initialize the estimated render time at start-up to some user defined value.
virtual void  ()
 WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDERING PROCESS When the EstimatedRenderTime is first set to 0.0 (in the SetAllocatedRenderTime method) the old value is saved.
virtual void  ( t,
*vtkNotUsed(vp))
 WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERING PROCESS This method is intended to allow the renderer to add to the EstimatedRenderTime in props that require information that the renderer has in order to do this.
void  ( t)
 WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERING PROCESS Get/Set the multiplier for the render time.
virtual   ()
virtual void  ( *paths,
 WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERING PROCESS Used to construct assembly paths and perform part traversal.
virtual void  ()
 Set/Get visibility of this .
virtual   ()
 Set/Get visibility of this .
virtual void  ()
 Set/Get visibility of this .
virtual void  ()
 Set/Get visibility of this .
virtual void  ()
 Set/Get the pickable instance variable.
virtual   ()
 Set/Get the pickable instance variable.
virtual void  ()
 Set/Get the pickable instance variable.
virtual void  ()
 Set/Get the pickable instance variable.
virtual void  ()
 Set/Get the value of the dragable instance variable.
virtual   ()
 Set/Get the value of the dragable instance variable.
virtual void  ()
 Set/Get the value of the dragable instance variable.
virtual void  ()
 Set/Get the value of the dragable instance variable.
virtual void  (bool)
 In case the Visibility flag is true, tell if the bounds of this prop should be taken into account or ignored during the computation of other bounding boxes, like in .
virtual bool  ()
 In case the Visibility flag is true, tell if the bounds of this prop should be taken into account or ignored during the computation of other bounding boxes, like in .
virtual void  ()
 In case the Visibility flag is true, tell if the bounds of this prop should be taken into account or ignored during the computation of other bounding boxes, like in .
virtual void  ()
 In case the Visibility flag is true, tell if the bounds of this prop should be taken into account or ignored during the computation of other bounding boxes, like in .
*  ()
  and its subclasses can be picked by subclasses of
virtual   ()
  and its subclasses can be picked by subclasses of
*  ()
 Set/Get property keys.
virtual void  ( *keys)
 Set/Get property keys.
virtual void  ( t,
*vtkNotUsed(v))
 WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERING PROCESS The renderer may use the allocated rendering time to determine how to render this actor.
virtual   ()
 WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERING PROCESS.
virtual   ()
 Get the number of consumers.
void  ( *c)
 Add or remove or get or check a consumer,.
void  ( *c)
 Add or remove or get or check a consumer,.
*  ( i)
 Add or remove or get or check a consumer,.
  ( *c)
 Add or remove or get or check a consumer,.
  (, )
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.
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  ()
void  (ostream &os)
 Print an object to an ostream.
virtual void  ( *o)
 Increase the reference count (mark as used by another object).
virtual void  ( *o)
 Decrease the reference count (release by another object).
 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)
*  ()
 Creates an actor with the following defaults: origin(0,0,0) position=(0,0,0) scale=(1,1,1) visibility=1 pickable=1 dragable=1 orientation=(0,0,0).
static   (const char *type)
*  ( *o)
static   (const char *type)
*  ( *o)
*  ()
 Optional Key Indicating the texture unit for general texture mapping Old OpenGL was a state machine where you would push or pop items.
*  ()
 Optional Key Indicating the texture transform for general texture mapping Old OpenGL was a state machine where you would push or pop items.
*  ()
 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
  () override
  () override
  () override
  () override
void  ( *,
check) override
void  ( *,
check) override
void  ( *mouseEvents,
*keypressEvents=nullptr)
 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 &)
virtual void  ( *)
  (const
void  (const
bool 
bool 
  [6]
  [3]
  [3]
  [3]
  [3]
  [3]
  [6]
bool 
bool 
vtkSubjectHelper * 
represents an object (geometry & properties) in a rendered scene
is used to represent an entity in a rendering scene. It inherits functions related to the actors position, and orientation from . The actor also has scaling and maintains a reference to the defining geometry (i.e., the mapper), rendering properties, and possibly a texture map.
combines these instance variables into one 4x4 transformation matrix as follows: [x y z 1] = [x y z 1] Translate(-origin) Scale(scale) Rot(y) Rot(x) Rot (z) Trans(origin) Trans(position)
Definition at line
Definition at line
vtkActor::vtkActor
vtkActor::~vtkActor
overrideprotected
vtkActor::IsTypeOf
const char * 
vtkActor::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 .
Reimplemented in , , , , , , , , , , , and .
static * vtkActor::SafeDownCast
virtual * vtkActor::NewInstanceInternal
protectedvirtual
Reimplemented from .
Reimplemented in , , , , , , , , , , , and .
* vtkActor::NewInstance
void vtkActor::PrintSelf
ostream & 
indent 
overridevirtual
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 .
Reimplemented in , , , , , , , and .
static * vtkActor::New
Creates an actor with the following defaults: origin(0,0,0) position=(0,0,0) scale=(1,1,1) visibility=1 pickable=1 dragable=1 orientation=(0,0,0).
No user defined matrix and no texture map.
void vtkActor::GetActors
overridevirtual
For some exporters and other other operations we must be able to collect all the actors or volumes.
These methods are used in that process.
Reimplemented from .
vtkActor::RenderOpaqueGeometry
overridevirtual
Support the standard render methods.
Reimplemented from .
Reimplemented in , , and .
vtkActor::RenderTranslucentPolygonalGeometry
overridevirtual
Support the standard render methods.
Reimplemented from .
Reimplemented in .
vtkActor::HasTranslucentPolygonalGeometry
overridevirtual
Does this prop have some translucent polygonal geometry?
Reimplemented from .
Reimplemented in .
virtual void vtkActor::Render
inlinevirtual
This causes the actor to be rendered.
It in turn will render the actor's property, texture map and then mapper. If a property hasn't been assigned, then the actor will create one automatically. Note that a side effect of this method is that the pipeline will be updated.
Reimplemented in , , , , and .
Definition at line
void vtkActor::ShallowCopy
overridevirtual
Shallow copy of an actor.
Overloads the virtual
Reimplemented from .
Reimplemented in , , and .
void vtkActor::ReleaseGraphicsResources
overridevirtual
Release any graphics resources that are being consumed by this actor.
The parameter window could be used to determine which graphic resources to release.
Reimplemented from .
Reimplemented in , , and .
void vtkActor::SetProperty
Set/Get the property object that controls this actors surface properties.
This should be an instance of a
object. Every actor must have a property associated with it. If one isn't specified, then one will be generated automatically. Multiple actors can share one property object.
* vtkActor::GetProperty
Set/Get the property object that controls this actors surface properties.
This should be an instance of a
object. Every actor must have a property associated with it. If one isn't specified, then one will be generated automatically. Multiple actors can share one property object.
virtual * vtkActor::MakeProperty
Create a new property suitable for use with this type of Actor.
For example, a vtkMesaActor should create a vtkMesaProperty in this function. The default is to just call .
void vtkActor::SetBackfaceProperty
Set/Get the property object that controls this actors backface surface properties.
This should be an instance of a
object. If one isn't specified, then the front face properties will be used. Multiple actors can share one property object.
virtual * vtkActor::GetBackfaceProperty
Set/Get the property object that controls this actors backface surface properties.
This should be an instance of a
object. If one isn't specified, then the front face properties will be used. Multiple actors can share one property object.
virtual void vtkActor::SetTexture
Set/Get the texture object to control rendering texture maps.
This will be a
object. An actor does not need to have an associated texture map and multiple actors can share one texture.
virtual * vtkActor::GetTexture
Set/Get the texture object to control rendering texture maps.
This will be a
object. An actor does not need to have an associated texture map and multiple actors can share one texture.
virtual void vtkActor::SetMapper
This is the method that is used to connect an actor to the end of a visualization pipeline, i.e.
the mapper. This should be a subclass of . Typically
will be used.
virtual * vtkActor::GetMapper
Returns the Mapper that this actor is getting its data from.
* vtkActor::GetBounds
overridevirtual
Return a reference to the Prop3D's composite transform.
Get the bounds for this Prop3D as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax).
Implements .
Reimplemented in .
virtual void vtkActor::ApplyProperties
inlinevirtual
Apply the current properties to all parts that compose this actor.
This method is overloaded in
to apply the assemblies' properties to all its parts in a recursive manner. Typically the use of this method is to set the desired properties in the assembly, and then push the properties down to the assemblies parts with .
Definition at line
vtkActor::GetMTime
overridevirtual
Get the actors mtime plus consider its properties and texture if set.
Reimplemented from .
vtkActor::GetRedrawMTime
overridevirtual
Return the mtime of anything that would cause the rendered image to appear differently.
Usually this involves checking the mtime of the prop plus anything else it depends on such as properties, textures, etc.
Reimplemented from .
virtual bool vtkActor::GetForceOpaque
Force the actor to be treated as opaque or translucent.
virtual void vtkActor::SetForceOpaque
bool 
Force the actor to be treated as opaque or translucent.
virtual void vtkActor::ForceOpaqueOn
Force the actor to be treated as opaque or translucent.
virtual void vtkActor::ForceOpaqueOff
Force the actor to be treated as opaque or translucent.
virtual bool vtkActor::GetForceTranslucent
Force the actor to be treated as opaque or translucent.
virtual void vtkActor::SetForceTranslucent
bool 
Force the actor to be treated as opaque or translucent.
virtual void vtkActor::ForceTranslucentOn
Force the actor to be treated as opaque or translucent.
virtual void vtkActor::ForceTranslucentOff
Force the actor to be treated as opaque or translucent.
bool vtkActor::GetSupportsSelection
overridevirtual
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERING PROCESS Used by
to determine if the prop supports hardware selection.
Reimplemented from .
vtkActor::GetIsOpaque
bool vtkActor::ForceOpaque
Definition at line
bool vtkActor::ForceTranslucent
Definition at line
* vtkActor::Property
Definition at line
* vtkActor::BackfaceProperty
Definition at line
* vtkActor::Texture
Definition at line
* vtkActor::Mapper
Definition at line
vtkActor::MapperBounds[6]
Definition at line
vtkActor::BoundsMTime
Definition at line
The documentation for this class was generated from the following file:
dox/Rendering/Core/

我要回帖

更多关于 vtkactorcollection 的文章

 

随机推荐