Section: Visualization Toolkit Rendering Classes
To create an instance of class vtkQuadricLODActor, simply invoke its constructor as follows
obj = vtkQuadricLODActor
obj
is an instance of the vtkQuadricLODActor class.
string = obj.GetClassName ()
- Standard class methods.
int = obj.IsA (string name)
- Standard class methods.
vtkQuadricLODActor = obj.NewInstance ()
- Standard class methods.
vtkQuadricLODActor = obj.SafeDownCast (vtkObject o)
- Standard class methods.
obj.SetDeferLODConstruction (int )
- Specify whether to build the LOD immediately (i.e., on the first render)
or to wait until the LOD is requested in a subsequent render. By default,
LOD construction is not deferred (DeferLODConstruction is false).
int = obj.GetDeferLODConstruction ()
- Specify whether to build the LOD immediately (i.e., on the first render)
or to wait until the LOD is requested in a subsequent render. By default,
LOD construction is not deferred (DeferLODConstruction is false).
obj.DeferLODConstructionOn ()
- Specify whether to build the LOD immediately (i.e., on the first render)
or to wait until the LOD is requested in a subsequent render. By default,
LOD construction is not deferred (DeferLODConstruction is false).
obj.DeferLODConstructionOff ()
- Specify whether to build the LOD immediately (i.e., on the first render)
or to wait until the LOD is requested in a subsequent render. By default,
LOD construction is not deferred (DeferLODConstruction is false).
obj.SetStatic (int )
- Turn on/off a flag to control whether the underlying pipeline is static.
If static, this means that the data pipeline executes once and then not
again until the user manually modifies this class. By default, Static is
off because trying to debug this is tricky, and you should only use it
when you know what you are doing.
int = obj.GetStatic ()
- Turn on/off a flag to control whether the underlying pipeline is static.
If static, this means that the data pipeline executes once and then not
again until the user manually modifies this class. By default, Static is
off because trying to debug this is tricky, and you should only use it
when you know what you are doing.
obj.StaticOn ()
- Turn on/off a flag to control whether the underlying pipeline is static.
If static, this means that the data pipeline executes once and then not
again until the user manually modifies this class. By default, Static is
off because trying to debug this is tricky, and you should only use it
when you know what you are doing.
obj.StaticOff ()
- Turn on/off a flag to control whether the underlying pipeline is static.
If static, this means that the data pipeline executes once and then not
again until the user manually modifies this class. By default, Static is
off because trying to debug this is tricky, and you should only use it
when you know what you are doing.
obj.SetDataConfiguration (int )
- Force the binning of the quadric clustering according to application
knowledge relative to the dimension of the data. For example, if you
know your data lies in a 2D x-y plane, the performance of the quadric
clustering algorithm can be greatly improved by indicating this (i.e.,
the number of resulting triangles, and the quality of the decimation
version is better). Setting this parameter forces the binning to be
configured consistent with the dimnesionality of the data, and the
collapse dimension ratio is ignored. Specifying the value of
DataConfiguration to UNKNOWN (the default value) means that the class
will attempt to figure the dimension of the class automatically using
the CollapseDimensionRatio ivar.
int = obj.GetDataConfigurationMinValue ()
- Force the binning of the quadric clustering according to application
knowledge relative to the dimension of the data. For example, if you
know your data lies in a 2D x-y plane, the performance of the quadric
clustering algorithm can be greatly improved by indicating this (i.e.,
the number of resulting triangles, and the quality of the decimation
version is better). Setting this parameter forces the binning to be
configured consistent with the dimnesionality of the data, and the
collapse dimension ratio is ignored. Specifying the value of
DataConfiguration to UNKNOWN (the default value) means that the class
will attempt to figure the dimension of the class automatically using
the CollapseDimensionRatio ivar.
int = obj.GetDataConfigurationMaxValue ()
- Force the binning of the quadric clustering according to application
knowledge relative to the dimension of the data. For example, if you
know your data lies in a 2D x-y plane, the performance of the quadric
clustering algorithm can be greatly improved by indicating this (i.e.,
the number of resulting triangles, and the quality of the decimation
version is better). Setting this parameter forces the binning to be
configured consistent with the dimnesionality of the data, and the
collapse dimension ratio is ignored. Specifying the value of
DataConfiguration to UNKNOWN (the default value) means that the class
will attempt to figure the dimension of the class automatically using
the CollapseDimensionRatio ivar.
int = obj.GetDataConfiguration ()
- Force the binning of the quadric clustering according to application
knowledge relative to the dimension of the data. For example, if you
know your data lies in a 2D x-y plane, the performance of the quadric
clustering algorithm can be greatly improved by indicating this (i.e.,
the number of resulting triangles, and the quality of the decimation
version is better). Setting this parameter forces the binning to be
configured consistent with the dimnesionality of the data, and the
collapse dimension ratio is ignored. Specifying the value of
DataConfiguration to UNKNOWN (the default value) means that the class
will attempt to figure the dimension of the class automatically using
the CollapseDimensionRatio ivar.
obj.SetDataConfigurationToUnknown ()
- Force the binning of the quadric clustering according to application
knowledge relative to the dimension of the data. For example, if you
know your data lies in a 2D x-y plane, the performance of the quadric
clustering algorithm can be greatly improved by indicating this (i.e.,
the number of resulting triangles, and the quality of the decimation
version is better). Setting this parameter forces the binning to be
configured consistent with the dimnesionality of the data, and the
collapse dimension ratio is ignored. Specifying the value of
DataConfiguration to UNKNOWN (the default value) means that the class
will attempt to figure the dimension of the class automatically using
the CollapseDimensionRatio ivar.
obj.SetDataConfigurationToXLine ()
- Force the binning of the quadric clustering according to application
knowledge relative to the dimension of the data. For example, if you
know your data lies in a 2D x-y plane, the performance of the quadric
clustering algorithm can be greatly improved by indicating this (i.e.,
the number of resulting triangles, and the quality of the decimation
version is better). Setting this parameter forces the binning to be
configured consistent with the dimnesionality of the data, and the
collapse dimension ratio is ignored. Specifying the value of
DataConfiguration to UNKNOWN (the default value) means that the class
will attempt to figure the dimension of the class automatically using
the CollapseDimensionRatio ivar.
obj.SetDataConfigurationToYLine ()
- Force the binning of the quadric clustering according to application
knowledge relative to the dimension of the data. For example, if you
know your data lies in a 2D x-y plane, the performance of the quadric
clustering algorithm can be greatly improved by indicating this (i.e.,
the number of resulting triangles, and the quality of the decimation
version is better). Setting this parameter forces the binning to be
configured consistent with the dimnesionality of the data, and the
collapse dimension ratio is ignored. Specifying the value of
DataConfiguration to UNKNOWN (the default value) means that the class
will attempt to figure the dimension of the class automatically using
the CollapseDimensionRatio ivar.
obj.SetDataConfigurationToZLine ()
- Force the binning of the quadric clustering according to application
knowledge relative to the dimension of the data. For example, if you
know your data lies in a 2D x-y plane, the performance of the quadric
clustering algorithm can be greatly improved by indicating this (i.e.,
the number of resulting triangles, and the quality of the decimation
version is better). Setting this parameter forces the binning to be
configured consistent with the dimnesionality of the data, and the
collapse dimension ratio is ignored. Specifying the value of
DataConfiguration to UNKNOWN (the default value) means that the class
will attempt to figure the dimension of the class automatically using
the CollapseDimensionRatio ivar.
obj.SetDataConfigurationToXYPlane ()
- Force the binning of the quadric clustering according to application
knowledge relative to the dimension of the data. For example, if you
know your data lies in a 2D x-y plane, the performance of the quadric
clustering algorithm can be greatly improved by indicating this (i.e.,
the number of resulting triangles, and the quality of the decimation
version is better). Setting this parameter forces the binning to be
configured consistent with the dimnesionality of the data, and the
collapse dimension ratio is ignored. Specifying the value of
DataConfiguration to UNKNOWN (the default value) means that the class
will attempt to figure the dimension of the class automatically using
the CollapseDimensionRatio ivar.
obj.SetDataConfigurationToYZPlane ()
- Force the binning of the quadric clustering according to application
knowledge relative to the dimension of the data. For example, if you
know your data lies in a 2D x-y plane, the performance of the quadric
clustering algorithm can be greatly improved by indicating this (i.e.,
the number of resulting triangles, and the quality of the decimation
version is better). Setting this parameter forces the binning to be
configured consistent with the dimnesionality of the data, and the
collapse dimension ratio is ignored. Specifying the value of
DataConfiguration to UNKNOWN (the default value) means that the class
will attempt to figure the dimension of the class automatically using
the CollapseDimensionRatio ivar.
obj.SetDataConfigurationToXZPlane ()
- Force the binning of the quadric clustering according to application
knowledge relative to the dimension of the data. For example, if you
know your data lies in a 2D x-y plane, the performance of the quadric
clustering algorithm can be greatly improved by indicating this (i.e.,
the number of resulting triangles, and the quality of the decimation
version is better). Setting this parameter forces the binning to be
configured consistent with the dimnesionality of the data, and the
collapse dimension ratio is ignored. Specifying the value of
DataConfiguration to UNKNOWN (the default value) means that the class
will attempt to figure the dimension of the class automatically using
the CollapseDimensionRatio ivar.
obj.SetDataConfigurationToXYZVolume ()
- If the data configuration is set to UNKNOWN, this class attempts to
figure out the dimensionality of the data using CollapseDimensionRatio.
This ivar is the ratio of short edge of the input bounding box to its
long edge, which is then used to collapse the data dimension (and set the
quadric bin size in that direction to one). By default, this value is 0.05.
obj.SetCollapseDimensionRatio (double )
- If the data configuration is set to UNKNOWN, this class attempts to
figure out the dimensionality of the data using CollapseDimensionRatio.
This ivar is the ratio of short edge of the input bounding box to its
long edge, which is then used to collapse the data dimension (and set the
quadric bin size in that direction to one). By default, this value is 0.05.
double = obj.GetCollapseDimensionRatioMinValue ()
- If the data configuration is set to UNKNOWN, this class attempts to
figure out the dimensionality of the data using CollapseDimensionRatio.
This ivar is the ratio of short edge of the input bounding box to its
long edge, which is then used to collapse the data dimension (and set the
quadric bin size in that direction to one). By default, this value is 0.05.
double = obj.GetCollapseDimensionRatioMaxValue ()
- If the data configuration is set to UNKNOWN, this class attempts to
figure out the dimensionality of the data using CollapseDimensionRatio.
This ivar is the ratio of short edge of the input bounding box to its
long edge, which is then used to collapse the data dimension (and set the
quadric bin size in that direction to one). By default, this value is 0.05.
double = obj.GetCollapseDimensionRatio ()
- If the data configuration is set to UNKNOWN, this class attempts to
figure out the dimensionality of the data using CollapseDimensionRatio.
This ivar is the ratio of short edge of the input bounding box to its
long edge, which is then used to collapse the data dimension (and set the
quadric bin size in that direction to one). By default, this value is 0.05.
obj.SetLODFilter (vtkQuadricClustering lodFilter)
- This class will create a vtkQuadricClustering algorithm automatically.
However, if you would like to specify the filter to use, or to access it
and configure it, these method provide access to the filter.
vtkQuadricClustering = obj.GetLODFilter ()
- This class will create a vtkQuadricClustering algorithm automatically.
However, if you would like to specify the filter to use, or to access it
and configure it, these method provide access to the filter.
obj.SetMaximumDisplayListSize (int )
- Specify the maximum display list size. This variable is used to determine
whether to use display lists (ImmediateModeRenderingOff) or not.
Controlling display list size is important to prevent program crashes (i.e.,
overly large display lists on some graphics hardware will cause faults).
The display list size is the length of the vtkCellArray representing the
topology of the input vtkPolyData.
int = obj.GetMaximumDisplayListSizeMinValue ()
- Specify the maximum display list size. This variable is used to determine
whether to use display lists (ImmediateModeRenderingOff) or not.
Controlling display list size is important to prevent program crashes (i.e.,
overly large display lists on some graphics hardware will cause faults).
The display list size is the length of the vtkCellArray representing the
topology of the input vtkPolyData.
int = obj.GetMaximumDisplayListSizeMaxValue ()
- Specify the maximum display list size. This variable is used to determine
whether to use display lists (ImmediateModeRenderingOff) or not.
Controlling display list size is important to prevent program crashes (i.e.,
overly large display lists on some graphics hardware will cause faults).
The display list size is the length of the vtkCellArray representing the
topology of the input vtkPolyData.
int = obj.GetMaximumDisplayListSize ()
- Specify the maximum display list size. This variable is used to determine
whether to use display lists (ImmediateModeRenderingOff) or not.
Controlling display list size is important to prevent program crashes (i.e.,
overly large display lists on some graphics hardware will cause faults).
The display list size is the length of the vtkCellArray representing the
topology of the input vtkPolyData.
obj.SetPropType (int )
- Indicate that this actor is actually a follower. By default, the prop
type is a vtkActor.
int = obj.GetPropTypeMinValue ()
- Indicate that this actor is actually a follower. By default, the prop
type is a vtkActor.
int = obj.GetPropTypeMaxValue ()
- Indicate that this actor is actually a follower. By default, the prop
type is a vtkActor.
int = obj.GetPropType ()
- Indicate that this actor is actually a follower. By default, the prop
type is a vtkActor.
obj.SetPropTypeToFollower ()
- Indicate that this actor is actually a follower. By default, the prop
type is a vtkActor.
obj.SetPropTypeToActor ()
- Set/Get the camera to follow. This method is only applicable when the
prop type is set to a vtkFollower.
obj.SetCamera (vtkCamera )
- Set/Get the camera to follow. This method is only applicable when the
prop type is set to a vtkFollower.
vtkCamera = obj.GetCamera ()
- Set/Get the camera to follow. This method is only applicable when the
prop type is set to a vtkFollower.
obj.Render (vtkRenderer , vtkMapper )
- This causes the actor to be rendered. Depending on the frame rate request,
it will use either a full resolution render or an interactive render (i.e.,
it will use the decimated geometry).
int = obj.RenderOpaqueGeometry (vtkViewport viewport)
- This method is used internally by the rendering process. We overide
the superclass method to properly set the estimated render time.
obj.ReleaseGraphicsResources (vtkWindow )
- Release any graphics resources that are being consumed by this actor.
The parameter window could be used to determine which graphic
resources to release.
obj.ShallowCopy (vtkProp prop)
- Shallow copy of an LOD actor. Overloads the virtual vtkProp method.