#include <vtkImplicitPlaneRepresentation.h>
This class is a concrete representation for the vtkImplicitPlaneWidget2. It represents an infinite plane defined by a normal and point in the context of a bounding box. Through interaction with the widget, the plane can be manipulated by adjusting the plane normal or moving the origin point.
To use this representation, you normally define a (plane) origin and (plane) normal. The PlaceWidget() method is also used to intially position the representation.
Definition at line 63 of file vtkImplicitPlaneRepresentation.h.
Standard methods for the class.
Reimplemented from vtkWidgetRepresentation.
Definition at line 71 of file vtkImplicitPlaneRepresentation.h.
Definition at line 213 of file vtkImplicitPlaneRepresentation.h.
vtkImplicitPlaneRepresentation::vtkImplicitPlaneRepresentation | ( | ) | [protected] |
vtkImplicitPlaneRepresentation::~vtkImplicitPlaneRepresentation | ( | ) | [protected] |
static vtkImplicitPlaneRepresentation* vtkImplicitPlaneRepresentation::New | ( | ) | [static] |
Instantiate the class.
Reimplemented from vtkObject.
virtual const char* vtkImplicitPlaneRepresentation::GetClassName | ( | ) | [virtual] |
Standard methods for the class.
Reimplemented from vtkWidgetRepresentation.
static int vtkImplicitPlaneRepresentation::IsTypeOf | ( | const char * | type | ) | [static] |
Standard methods for the class.
Reimplemented from vtkWidgetRepresentation.
virtual int vtkImplicitPlaneRepresentation::IsA | ( | const char * | type | ) | [virtual] |
Standard methods for the class.
Reimplemented from vtkWidgetRepresentation.
static vtkImplicitPlaneRepresentation* vtkImplicitPlaneRepresentation::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Standard methods for the class.
Reimplemented from vtkWidgetRepresentation.
void vtkImplicitPlaneRepresentation::PrintSelf | ( | ostream & | os, | |
vtkIndent | indent | |||
) | [virtual] |
Standard methods for the class.
Reimplemented from vtkWidgetRepresentation.
void vtkImplicitPlaneRepresentation::SetOrigin | ( | double | x, | |
double | y, | |||
double | z | |||
) |
Get the origin of the plane.
void vtkImplicitPlaneRepresentation::SetOrigin | ( | double | x[3] | ) |
Get the origin of the plane.
double* vtkImplicitPlaneRepresentation::GetOrigin | ( | ) |
Get the origin of the plane.
void vtkImplicitPlaneRepresentation::GetOrigin | ( | double | xyz[3] | ) |
Get the origin of the plane.
void vtkImplicitPlaneRepresentation::SetNormal | ( | double | x, | |
double | y, | |||
double | z | |||
) |
Get the normal to the plane.
void vtkImplicitPlaneRepresentation::SetNormal | ( | double | x[3] | ) |
Get the normal to the plane.
double* vtkImplicitPlaneRepresentation::GetNormal | ( | ) |
Get the normal to the plane.
void vtkImplicitPlaneRepresentation::GetNormal | ( | double | xyz[3] | ) |
Get the normal to the plane.
void vtkImplicitPlaneRepresentation::SetNormalToXAxis | ( | int | ) |
Force the plane widget to be aligned with one of the x-y-z axes. If one axis is set on, the other two will be set off. Remember that when the state changes, a ModifiedEvent is invoked. This can be used to snap the plane to the axes if it is orginally not aligned.
virtual int vtkImplicitPlaneRepresentation::GetNormalToXAxis | ( | ) | [virtual] |
Force the plane widget to be aligned with one of the x-y-z axes. If one axis is set on, the other two will be set off. Remember that when the state changes, a ModifiedEvent is invoked. This can be used to snap the plane to the axes if it is orginally not aligned.
virtual void vtkImplicitPlaneRepresentation::NormalToXAxisOn | ( | ) | [virtual] |
Force the plane widget to be aligned with one of the x-y-z axes. If one axis is set on, the other two will be set off. Remember that when the state changes, a ModifiedEvent is invoked. This can be used to snap the plane to the axes if it is orginally not aligned.
virtual void vtkImplicitPlaneRepresentation::NormalToXAxisOff | ( | ) | [virtual] |
Force the plane widget to be aligned with one of the x-y-z axes. If one axis is set on, the other two will be set off. Remember that when the state changes, a ModifiedEvent is invoked. This can be used to snap the plane to the axes if it is orginally not aligned.
void vtkImplicitPlaneRepresentation::SetNormalToYAxis | ( | int | ) |
Force the plane widget to be aligned with one of the x-y-z axes. If one axis is set on, the other two will be set off. Remember that when the state changes, a ModifiedEvent is invoked. This can be used to snap the plane to the axes if it is orginally not aligned.
virtual int vtkImplicitPlaneRepresentation::GetNormalToYAxis | ( | ) | [virtual] |
Force the plane widget to be aligned with one of the x-y-z axes. If one axis is set on, the other two will be set off. Remember that when the state changes, a ModifiedEvent is invoked. This can be used to snap the plane to the axes if it is orginally not aligned.
virtual void vtkImplicitPlaneRepresentation::NormalToYAxisOn | ( | ) | [virtual] |
Force the plane widget to be aligned with one of the x-y-z axes. If one axis is set on, the other two will be set off. Remember that when the state changes, a ModifiedEvent is invoked. This can be used to snap the plane to the axes if it is orginally not aligned.
virtual void vtkImplicitPlaneRepresentation::NormalToYAxisOff | ( | ) | [virtual] |
Force the plane widget to be aligned with one of the x-y-z axes. If one axis is set on, the other two will be set off. Remember that when the state changes, a ModifiedEvent is invoked. This can be used to snap the plane to the axes if it is orginally not aligned.
void vtkImplicitPlaneRepresentation::SetNormalToZAxis | ( | int | ) |
Force the plane widget to be aligned with one of the x-y-z axes. If one axis is set on, the other two will be set off. Remember that when the state changes, a ModifiedEvent is invoked. This can be used to snap the plane to the axes if it is orginally not aligned.
virtual int vtkImplicitPlaneRepresentation::GetNormalToZAxis | ( | ) | [virtual] |
Force the plane widget to be aligned with one of the x-y-z axes. If one axis is set on, the other two will be set off. Remember that when the state changes, a ModifiedEvent is invoked. This can be used to snap the plane to the axes if it is orginally not aligned.
virtual void vtkImplicitPlaneRepresentation::NormalToZAxisOn | ( | ) | [virtual] |
Force the plane widget to be aligned with one of the x-y-z axes. If one axis is set on, the other two will be set off. Remember that when the state changes, a ModifiedEvent is invoked. This can be used to snap the plane to the axes if it is orginally not aligned.
virtual void vtkImplicitPlaneRepresentation::NormalToZAxisOff | ( | ) | [virtual] |
Force the plane widget to be aligned with one of the x-y-z axes. If one axis is set on, the other two will be set off. Remember that when the state changes, a ModifiedEvent is invoked. This can be used to snap the plane to the axes if it is orginally not aligned.
virtual void vtkImplicitPlaneRepresentation::SetTubing | ( | int | ) | [virtual] |
Turn on/off tubing of the wire outline of the plane. The tube thickens the line by wrapping with a vtkTubeFilter.
virtual int vtkImplicitPlaneRepresentation::GetTubing | ( | ) | [virtual] |
Turn on/off tubing of the wire outline of the plane. The tube thickens the line by wrapping with a vtkTubeFilter.
virtual void vtkImplicitPlaneRepresentation::TubingOn | ( | ) | [virtual] |
Turn on/off tubing of the wire outline of the plane. The tube thickens the line by wrapping with a vtkTubeFilter.
virtual void vtkImplicitPlaneRepresentation::TubingOff | ( | ) | [virtual] |
Turn on/off tubing of the wire outline of the plane. The tube thickens the line by wrapping with a vtkTubeFilter.
void vtkImplicitPlaneRepresentation::SetDrawPlane | ( | int | plane | ) |
Enable/disable the drawing of the plane. In some cases the plane interferes with the object that it is operating on (i.e., the plane interferes with the cut surface it produces producing z-buffer artifacts.)
virtual int vtkImplicitPlaneRepresentation::GetDrawPlane | ( | ) | [virtual] |
Enable/disable the drawing of the plane. In some cases the plane interferes with the object that it is operating on (i.e., the plane interferes with the cut surface it produces producing z-buffer artifacts.)
virtual void vtkImplicitPlaneRepresentation::DrawPlaneOn | ( | ) | [virtual] |
Enable/disable the drawing of the plane. In some cases the plane interferes with the object that it is operating on (i.e., the plane interferes with the cut surface it produces producing z-buffer artifacts.)
virtual void vtkImplicitPlaneRepresentation::DrawPlaneOff | ( | ) | [virtual] |
Enable/disable the drawing of the plane. In some cases the plane interferes with the object that it is operating on (i.e., the plane interferes with the cut surface it produces producing z-buffer artifacts.)
virtual void vtkImplicitPlaneRepresentation::SetOutlineTranslation | ( | int | ) | [virtual] |
Turn on/off the ability to translate the bounding box by grabbing it with the left mouse button.
virtual int vtkImplicitPlaneRepresentation::GetOutlineTranslation | ( | ) | [virtual] |
Turn on/off the ability to translate the bounding box by grabbing it with the left mouse button.
virtual void vtkImplicitPlaneRepresentation::OutlineTranslationOn | ( | ) | [virtual] |
Turn on/off the ability to translate the bounding box by grabbing it with the left mouse button.
virtual void vtkImplicitPlaneRepresentation::OutlineTranslationOff | ( | ) | [virtual] |
Turn on/off the ability to translate the bounding box by grabbing it with the left mouse button.
virtual void vtkImplicitPlaneRepresentation::SetOutsideBounds | ( | int | ) | [virtual] |
Turn on/off the ability to move the widget outside of the bounds specified in the initial PlaceWidget() invocation.
virtual int vtkImplicitPlaneRepresentation::GetOutsideBounds | ( | ) | [virtual] |
Turn on/off the ability to move the widget outside of the bounds specified in the initial PlaceWidget() invocation.
virtual void vtkImplicitPlaneRepresentation::OutsideBoundsOn | ( | ) | [virtual] |
Turn on/off the ability to move the widget outside of the bounds specified in the initial PlaceWidget() invocation.
virtual void vtkImplicitPlaneRepresentation::OutsideBoundsOff | ( | ) | [virtual] |
Turn on/off the ability to move the widget outside of the bounds specified in the initial PlaceWidget() invocation.
virtual void vtkImplicitPlaneRepresentation::SetScaleEnabled | ( | int | ) | [virtual] |
Turn on/off the ability to scale the widget with the mouse.
virtual int vtkImplicitPlaneRepresentation::GetScaleEnabled | ( | ) | [virtual] |
Turn on/off the ability to scale the widget with the mouse.
virtual void vtkImplicitPlaneRepresentation::ScaleEnabledOn | ( | ) | [virtual] |
Turn on/off the ability to scale the widget with the mouse.
virtual void vtkImplicitPlaneRepresentation::ScaleEnabledOff | ( | ) | [virtual] |
Turn on/off the ability to scale the widget with the mouse.
void vtkImplicitPlaneRepresentation::GetPolyData | ( | vtkPolyData * | pd | ) |
Grab the polydata that defines the plane. The polydata contains a single polygon that is clipped by the bounding box.
vtkPolyDataAlgorithm* vtkImplicitPlaneRepresentation::GetPolyDataAlgorithm | ( | ) |
Satisfies superclass API. This returns a pointer to the underlying PolyData (which represents the plane).
void vtkImplicitPlaneRepresentation::GetPlane | ( | vtkPlane * | plane | ) |
Get the implicit function for the plane. The user must provide the instance of the class vtkPlane. Note that vtkPlane is a subclass of vtkImplicitFunction, meaning that it can be used by a variety of filters to perform clipping, cutting, and selection of data.
void vtkImplicitPlaneRepresentation::UpdatePlacement | ( | void | ) |
Satisfies the superclass API. This will change the state of the widget to match changes that have been made to the underlying PolyDataSource
virtual vtkProperty* vtkImplicitPlaneRepresentation::GetNormalProperty | ( | ) | [virtual] |
Get the properties on the normal (line and cone).
virtual vtkProperty* vtkImplicitPlaneRepresentation::GetSelectedNormalProperty | ( | ) | [virtual] |
Get the properties on the normal (line and cone).
virtual vtkProperty* vtkImplicitPlaneRepresentation::GetPlaneProperty | ( | ) | [virtual] |
Get the plane properties. The properties of the plane when selected and unselected can be manipulated.
virtual vtkProperty* vtkImplicitPlaneRepresentation::GetSelectedPlaneProperty | ( | ) | [virtual] |
Get the plane properties. The properties of the plane when selected and unselected can be manipulated.
virtual vtkProperty* vtkImplicitPlaneRepresentation::GetOutlineProperty | ( | ) | [virtual] |
Get the property of the outline.
virtual vtkProperty* vtkImplicitPlaneRepresentation::GetSelectedOutlineProperty | ( | ) | [virtual] |
Get the property of the outline.
virtual vtkProperty* vtkImplicitPlaneRepresentation::GetEdgesProperty | ( | ) | [virtual] |
Get the property of the intersection edges. (This property also applies to the edges when tubed.)
virtual int vtkImplicitPlaneRepresentation::ComputeInteractionState | ( | int | X, | |
int | Y, | |||
int | modify = 0 | |||
) | [virtual] |
Methods to interface with the vtkSliderWidget.
Reimplemented from vtkWidgetRepresentation.
virtual void vtkImplicitPlaneRepresentation::PlaceWidget | ( | double | bounds[6] | ) | [virtual] |
Methods to interface with the vtkSliderWidget.
virtual void vtkImplicitPlaneRepresentation::BuildRepresentation | ( | ) | [virtual] |
Methods to interface with the vtkSliderWidget.
Implements vtkWidgetRepresentation.
virtual void vtkImplicitPlaneRepresentation::StartWidgetInteraction | ( | double | eventPos[2] | ) | [virtual] |
Methods to interface with the vtkSliderWidget.
Reimplemented from vtkWidgetRepresentation.
virtual void vtkImplicitPlaneRepresentation::WidgetInteraction | ( | double | newEventPos[2] | ) | [virtual] |
Methods to interface with the vtkSliderWidget.
Reimplemented from vtkWidgetRepresentation.
virtual void vtkImplicitPlaneRepresentation::EndWidgetInteraction | ( | double | newEventPos[2] | ) | [virtual] |
Methods to interface with the vtkSliderWidget.
Reimplemented from vtkWidgetRepresentation.
virtual double* vtkImplicitPlaneRepresentation::GetBounds | ( | ) | [virtual] |
Methods supporting the rendering process.
Reimplemented from vtkWidgetRepresentation.
virtual void vtkImplicitPlaneRepresentation::GetActors | ( | vtkPropCollection * | pc | ) | [virtual] |
Methods supporting the rendering process.
Reimplemented from vtkWidgetRepresentation.
virtual void vtkImplicitPlaneRepresentation::ReleaseGraphicsResources | ( | vtkWindow * | ) | [virtual] |
Methods supporting the rendering process.
Reimplemented from vtkWidgetRepresentation.
virtual int vtkImplicitPlaneRepresentation::RenderOpaqueGeometry | ( | vtkViewport * | ) | [virtual] |
Methods supporting the rendering process.
Reimplemented from vtkProp.
virtual int vtkImplicitPlaneRepresentation::RenderTranslucentPolygonalGeometry | ( | vtkViewport * | ) | [virtual] |
Methods supporting the rendering process.
Reimplemented from vtkProp.
virtual int vtkImplicitPlaneRepresentation::HasTranslucentPolygonalGeometry | ( | ) | [virtual] |
Methods supporting the rendering process.
Reimplemented from vtkWidgetRepresentation.
virtual void vtkImplicitPlaneRepresentation::SetInteractionState | ( | int | ) | [virtual] |
The interaction state may be set from a widget (e.g., vtkImplicitPlaneWidget2) or other object. This controls how the interaction with the widget proceeds. Normally this method is used as part of a handshaking process with the widget: First ComputeInteractionState() is invoked that returns a state based on geometric considerations (i.e., cursor near a widget feature), then based on events, the widget may modify this further.
virtual void vtkImplicitPlaneRepresentation::SetRepresentationState | ( | int | ) | [virtual] |
Sets the visual appearance of the representation based on the state it is in. This state is usually the same as InteractionState.
virtual int vtkImplicitPlaneRepresentation::GetRepresentationState | ( | ) | [virtual] |
Sets the visual appearance of the representation based on the state it is in. This state is usually the same as InteractionState.
void vtkImplicitPlaneRepresentation::HighlightOutline | ( | int | highlight | ) | [protected] |
void vtkImplicitPlaneRepresentation::HighlightPlane | ( | int | highlight | ) | [protected] |
void vtkImplicitPlaneRepresentation::HighlightNormal | ( | int | highlight | ) | [protected] |
void vtkImplicitPlaneRepresentation::ConstrainOrigin | ( | double | x[3] | ) | [protected] |
void vtkImplicitPlaneRepresentation::Rotate | ( | double | X, | |
double | Y, | |||
double * | p1, | |||
double * | p2, | |||
double * | vpn | |||
) | [protected] |
void vtkImplicitPlaneRepresentation::TranslatePlane | ( | double * | p1, | |
double * | p2 | |||
) | [protected] |
void vtkImplicitPlaneRepresentation::TranslateOutline | ( | double * | p1, | |
double * | p2 | |||
) | [protected] |
void vtkImplicitPlaneRepresentation::TranslateOrigin | ( | double * | p1, | |
double * | p2 | |||
) | [protected] |
void vtkImplicitPlaneRepresentation::Push | ( | double * | p1, | |
double * | p2 | |||
) | [protected] |
void vtkImplicitPlaneRepresentation::Scale | ( | double * | p1, | |
double * | p2, | |||
double | X, | |||
double | Y | |||
) | [protected] |
void vtkImplicitPlaneRepresentation::SizeHandles | ( | ) | [protected] |
void vtkImplicitPlaneRepresentation::CreateDefaultProperties | ( | ) | [protected] |
void vtkImplicitPlaneRepresentation::GeneratePlane | ( | ) | [protected] |
int vtkImplicitPlaneRepresentation::RepresentationState [protected] |
Definition at line 248 of file vtkImplicitPlaneRepresentation.h.
double vtkImplicitPlaneRepresentation::LastEventPosition[3] [protected] |
Definition at line 251 of file vtkImplicitPlaneRepresentation.h.
int vtkImplicitPlaneRepresentation::NormalToXAxis [protected] |
Definition at line 254 of file vtkImplicitPlaneRepresentation.h.
int vtkImplicitPlaneRepresentation::NormalToYAxis [protected] |
Definition at line 255 of file vtkImplicitPlaneRepresentation.h.
int vtkImplicitPlaneRepresentation::NormalToZAxis [protected] |
Definition at line 256 of file vtkImplicitPlaneRepresentation.h.
vtkPlane* vtkImplicitPlaneRepresentation::Plane [protected] |
Definition at line 259 of file vtkImplicitPlaneRepresentation.h.
vtkImageData* vtkImplicitPlaneRepresentation::Box [protected] |
Definition at line 262 of file vtkImplicitPlaneRepresentation.h.
vtkOutlineFilter* vtkImplicitPlaneRepresentation::Outline [protected] |
Definition at line 263 of file vtkImplicitPlaneRepresentation.h.
Definition at line 264 of file vtkImplicitPlaneRepresentation.h.
vtkActor* vtkImplicitPlaneRepresentation::OutlineActor [protected] |
Definition at line 265 of file vtkImplicitPlaneRepresentation.h.
int vtkImplicitPlaneRepresentation::OutlineTranslation [protected] |
Definition at line 267 of file vtkImplicitPlaneRepresentation.h.
int vtkImplicitPlaneRepresentation::ScaleEnabled [protected] |
Definition at line 268 of file vtkImplicitPlaneRepresentation.h.
int vtkImplicitPlaneRepresentation::OutsideBounds [protected] |
Definition at line 269 of file vtkImplicitPlaneRepresentation.h.
vtkCutter* vtkImplicitPlaneRepresentation::Cutter [protected] |
Definition at line 272 of file vtkImplicitPlaneRepresentation.h.
Definition at line 273 of file vtkImplicitPlaneRepresentation.h.
vtkActor* vtkImplicitPlaneRepresentation::CutActor [protected] |
Definition at line 274 of file vtkImplicitPlaneRepresentation.h.
int vtkImplicitPlaneRepresentation::DrawPlane [protected] |
Definition at line 275 of file vtkImplicitPlaneRepresentation.h.
vtkFeatureEdges* vtkImplicitPlaneRepresentation::Edges [protected] |
Definition at line 279 of file vtkImplicitPlaneRepresentation.h.
vtkTubeFilter* vtkImplicitPlaneRepresentation::EdgesTuber [protected] |
Definition at line 280 of file vtkImplicitPlaneRepresentation.h.
Definition at line 281 of file vtkImplicitPlaneRepresentation.h.
vtkActor* vtkImplicitPlaneRepresentation::EdgesActor [protected] |
Definition at line 282 of file vtkImplicitPlaneRepresentation.h.
int vtkImplicitPlaneRepresentation::Tubing [protected] |
Definition at line 283 of file vtkImplicitPlaneRepresentation.h.
vtkConeSource* vtkImplicitPlaneRepresentation::ConeSource [protected] |
Definition at line 286 of file vtkImplicitPlaneRepresentation.h.
Definition at line 287 of file vtkImplicitPlaneRepresentation.h.
vtkActor* vtkImplicitPlaneRepresentation::ConeActor [protected] |
Definition at line 288 of file vtkImplicitPlaneRepresentation.h.
vtkLineSource* vtkImplicitPlaneRepresentation::LineSource [protected] |
Definition at line 292 of file vtkImplicitPlaneRepresentation.h.
Definition at line 293 of file vtkImplicitPlaneRepresentation.h.
vtkActor* vtkImplicitPlaneRepresentation::LineActor [protected] |
Definition at line 294 of file vtkImplicitPlaneRepresentation.h.
vtkConeSource* vtkImplicitPlaneRepresentation::ConeSource2 [protected] |
Definition at line 297 of file vtkImplicitPlaneRepresentation.h.
Definition at line 298 of file vtkImplicitPlaneRepresentation.h.
vtkActor* vtkImplicitPlaneRepresentation::ConeActor2 [protected] |
Definition at line 299 of file vtkImplicitPlaneRepresentation.h.
vtkLineSource* vtkImplicitPlaneRepresentation::LineSource2 [protected] |
Definition at line 302 of file vtkImplicitPlaneRepresentation.h.
Definition at line 303 of file vtkImplicitPlaneRepresentation.h.
vtkActor* vtkImplicitPlaneRepresentation::LineActor2 [protected] |
Definition at line 304 of file vtkImplicitPlaneRepresentation.h.
vtkSphereSource* vtkImplicitPlaneRepresentation::Sphere [protected] |
Definition at line 307 of file vtkImplicitPlaneRepresentation.h.
Definition at line 308 of file vtkImplicitPlaneRepresentation.h.
vtkActor* vtkImplicitPlaneRepresentation::SphereActor [protected] |
Definition at line 309 of file vtkImplicitPlaneRepresentation.h.
vtkCellPicker* vtkImplicitPlaneRepresentation::Picker [protected] |
Definition at line 312 of file vtkImplicitPlaneRepresentation.h.
vtkTransform* vtkImplicitPlaneRepresentation::Transform [protected] |
Definition at line 315 of file vtkImplicitPlaneRepresentation.h.
Definition at line 329 of file vtkImplicitPlaneRepresentation.h.
Definition at line 330 of file vtkImplicitPlaneRepresentation.h.
vtkProperty* vtkImplicitPlaneRepresentation::PlaneProperty [protected] |
Definition at line 331 of file vtkImplicitPlaneRepresentation.h.
Definition at line 332 of file vtkImplicitPlaneRepresentation.h.
Definition at line 333 of file vtkImplicitPlaneRepresentation.h.
Definition at line 334 of file vtkImplicitPlaneRepresentation.h.
vtkProperty* vtkImplicitPlaneRepresentation::EdgesProperty [protected] |
Definition at line 335 of file vtkImplicitPlaneRepresentation.h.
vtkBox* vtkImplicitPlaneRepresentation::BoundingBox [protected] |
Definition at line 341 of file vtkImplicitPlaneRepresentation.h.