|
IMVPolar
The IMVPolar interface contains methods and properties to
configure the MV Polar DirectShow
Filter.
Methods:
| CalcOutputSize
|
Calculate the optimal output image size. |
| CalcParameters
|
Calculate the optimal default parameters. |
| EndAngle
|
Get/Set the end angle of the polar image circle. |
| FlipImage
|
Get/Set the vertical flipping flag. |
| GetMaxCircle
|
Get the maximum possible circle for the polar image. The
returned value is the maximum value which can be selected as outer
circle for the polar image. |
| GetParamState
|
Get the parameter state flag, which indicates whether the
filters parameters have changed after CalcParameters or
CalcOutputSize has been called. |
| InnerCircle
|
Get/Set the inner circle radius of
the polar image. |
| Interpolation
|
Get or set the transformation algorithms interpolation method
as MV_POLAR_INTERPOLATION. |
| OuterCircle
|
Get/Set the outer circle radius of the polar
image. |
| OutputHeight
|
Get/set the output video height. Only possible while the
filters output pin is unconnected. |
| OutputWidth
|
Get/Set the output video width.Only possible while the filters
output pin is unconnected. |
| ReverseImage
|
Get/Set the horizontally flipping flag. |
| StartAngle
|
Get/Set the start angle of the polar image circle. |
| Transformation
|
Get/Set the transformation method as MV_POLAR_TRANSFORMATION. |
| XOrigin
|
Get/Set the horizontal origin of the polar
image. |
| YOrigin
|
Get/Set the vertical origin of the polar image. |
Header file: IMVPolar.h
Interface definition language file: IMVPolar.idl
Typelib: MVPolar
Interface ID: IID_IMVPolar
Method
IMVPolar::CalcOutputSize
Declaration: Sub
CalcOutputSize
Calculate the optimal output image size.
Parameter:
C Prototype:
HRESULT CalcOutputSize();
Method
IMVPolar::CalcParameters
Declaration: Sub
CalcParameters
Calculate the optimal default parameters.
Parameter:
C Prototype:
HRESULT CalcParameters();
Property IMVPolar::EndAngle
Declaration:
Property Get/Put EndAngle As Long
Get/Set the end angle of the polar image circle.
Parameter:
C Prototype:
HRESULT put_EndAngle(LONG
newVal);
HRESULT get_EndAngle(LONG *pVal);
Property IMVPolar::FlipImage
Declaration:
Property Get/Put FlipImage As Long
Get/Set the vertical flipping flag.
Parameter:
C Prototype:
HRESULT put_FlipImage(LONG
newVal);
HRESULT get_FlipImage(LONG *pVal);
Method IMVPolar::GetMaxCircle
Declaration:
Function GetMaxCircle As Long
Get the maximum possible circle for the polar image. The
returned value is the maximum value which can be selected as outer
circle for the polar image.
Parameter:
C Prototype:
HRESULT GetMaxCircle(LONG*
value);
Method IMVPolar::GetParamState
Declaration:
Function GetParamState As Long
Get the parameter state flag, which indicates whether the
filters parameters have changed after CalcParameters or
CalcOutputSize has been called.
Parameter:
C Prototype:
HRESULT GetParamState(LONG*
value);
Property IMVPolar::InnerCircle
Declaration:
Property Get/Put InnerCircle As Long
Get/Set the inner circle radius of the polar
image.
Parameter:
C Prototype:
HRESULT put_InnerCircle(LONG
newVal);
HRESULT get_InnerCircle(LONG *pVal);
Property
IMVPolar::Interpolation
Declaration:
Property Get/Put Interpolation As Long
Get or set the transformation algorithms interpolation
method.
Parameter:
C Prototype:
HRESULT put_Interpolation(LONG
newVal);
HRESULT get_Interpolation(LONG *pVal);
Property IMVPolar::OuterCircle
Declaration:
Property Get/Put OuterCircle As Long
Get/Set the outer circle radius of the polar
image.
Parameter:
C Prototype:
HRESULT put_OuterCircle(LONG
newVal);
HRESULT get_OuterCircle(LONG *pVal);
Property IMVPolar::OutputHeight
Declaration:
Property Get/Put OutputHeight As Long
Get/set the output video height. Only possible while the filters
output pin is unconnected.
Parameter:
C Prototype:
HRESULT put_OutputHeight(LONG
newVal);
HRESULT get_OutputHeight(LONG *pVal);
Property IMVPolar::OutputWidth
Declaration:
Property Get/Put OutputWidth As Long
Get/Set the output video width.Only possible while the filters
output pin is unconnected.
Parameter:
C Prototype:
HRESULT put_OutputWidth(LONG
newVal);
HRESULT get_OutputWidth(LONG *pVal);
Property IMVPolar::ReverseImage
Declaration:
Property Get/Put ReverseImage As Long
Get/Set the horizontally flipping flag.
Parameter:
C Prototype:
HRESULT put_ReverseImage(LONG
newVal);
HRESULT get_ReverseImage(LONG *pVal);
Property IMVPolar::StartAngle
Declaration:
Property Get/Put StartAngle As Long
Get the start angle.
Parameter:
C Prototype:
HRESULT put_StartAngle(LONG
newVal);
HRESULT get_StartAngle(LONG *pVal);
Property
IMVPolar::Transformation
Declaration:
Property Get/Put Transformation As Long
Get/Set the transformation method.
Parameter:
C Prototype:
HRESULT put_Transformation(LONG
newVal);
HRESULT get_Transformation(LONG *pVal);
Property IMVPolar::XOrigin
Declaration:
Property Get/Put XOrigin As Long
Get/Set the horizontal origin of the polar image. By default the
center of the image.
Parameter:
C Prototype:
HRESULT put_XOrigin(LONG newVal);
HRESULT get_XOrigin(LONG *pVal);
Property IMVPolar::YOrigin
Declaration:
Property Get/Put YOrigin As Long
Get/Set the vertical origin of the polar image. By default the
center of the image.
Parameter:
C Prototype:
HRESULT put_YOrigin(LONG newVal);
HRESULT get_YOrigin(LONG *pVal);
Enumerations
typedef enum _MV_POLAR_INTERPOLATION
{
MV_POLAR_NN,
MV_POLAR_BILINEAR
} MV_POLAR_INTERPOLATION;
typedef enum _MV_POLAR_TRANSFORMATION
{
MV_RECTANGLE_TO_POLAR,
MV_POLAR_TO_RECTANGLE
} MV_POLAR_TRANSFORMATION;
|