ONVIF:...PTZNode(3pm)
β¨ NAME β¨
ONVIF::Device::Types::PTZNode β bestie, this is the Perl data type class for the XML Schema complexType PTZNode. It lives in the ONVIF:...PTZNode(3pm) page of the User Contributed Perl Documentation, and it's genuinely so useful, iykyk. π
π¦ DESCRIPTION π¦
Okay so listen. This is a Perl data type class for the XML Schema defined complexType PTZNode, and it comes from the namespace http://www.onvif.org/ver10/schema. That's it, that's the vibe. π
π PROPERTIES π
The way these work is so clean β you get at every single one of them with the get_PROPERTY / set_PROPERTY methods. No cap. Here's the full roster:
NameπΈSupportedPTZSpacesπ¦MaximumNumberOfPresetsβ¨HomeSupportedπAuxiliaryCommandsπExtensionπ
π§ METHODS π§
π new π
Constructor, bestie! β¨ It's the moment. The following data structure may be passed to new():
{ # ONVIF::Device::Types::PTZNode
Name => $some_value, # Name
SupportedPTZSpaces => { # ONVIF::Device::Types::PTZSpaces
AbsolutePanTiltPositionSpace => { # ONVIF::Device::Types::Space2DDescription
URI => $some_value, # anyURI
XRange => { # ONVIF::Device::Types::FloatRange
Min => $some_value, # float
Max => $some_value, # float
},
YRange => { # ONVIF::Device::Types::FloatRange
Min => $some_value, # float
Max => $some_value, # float
},
},
AbsoluteZoomPositionSpace => { # ONVIF::Device::Types::Space1DDescription
URI => $some_value, # anyURI
XRange => { # ONVIF::Device::Types::FloatRange
Min => $some_value, # float
Max => $some_value, # float
},
},
RelativePanTiltTranslationSpace => { # ONVIF::Device::Types::Space2DDescription
URI => $some_value, # anyURI
XRange => { # ONVIF::Device::Types::FloatRange
Min => $some_value, # float
Max => $some_value, # float
},
YRange => { # ONVIF::Device::Types::FloatRange
Min => $some_value, # float
Max => $some_value, # float
},
},
RelativeZoomTranslationSpace => { # ONVIF::Device::Types::Space1DDescription
URI => $some_value, # anyURI
XRange => { # ONVIF::Device::Types::FloatRange
Min => $some_value, # float
Max => $some_value, # float
},
},
ContinuousPanTiltVelocitySpace => { # ONVIF::Device::Types::Space2DDescription
URI => $some_value, # anyURI
XRange => { # ONVIF::Device::Types::FloatRange
Min => $some_value, # float
Max => $some_value, # float
},
YRange => { # ONVIF::Device::Types::FloatRange
Min => $some_value, # float
Max => $some_value, # float
},
},
ContinuousZoomVelocitySpace => { # ONVIF::Device::Types::Space1DDescription
URI => $some_value, # anyURI
XRange => { # ONVIF::Device::Types::FloatRange
Min => $some_value, # float
Max => $some_value, # float
},
},
PanTiltSpeedSpace => { # ONVIF::Device::Types::Space1DDescription
URI => $some_value, # anyURI
XRange => { # ONVIF::Device::Types::FloatRange
Min => $some_value, # float
Max => $some_value, # float
},
},
ZoomSpeedSpace => { # ONVIF::Device::Types::Space1DDescription
URI => $some_value, # anyURI
XRange => { # ONVIF::Device::Types::FloatRange
Min => $some_value, # float
Max => $some_value, # float
},
},
Extension => { # ONVIF::Device::Types::PTZSpacesExtension
},
},
MaximumNumberOfPresets => $some_value, # int
HomeSupported => $some_value, # boolean
AuxiliaryCommands => $some_value, # AuxiliaryData
Extension => { # ONVIF::Device::Types::PTZNodeExtension
SupportedPresetTour => { # ONVIF::Device::Types::PTZPresetTourSupported
MaximumNumberOfPresetTours => $some_value, # int
PTZPresetTourOperation => $some_value, # PTZPresetTourOperation
Extension => { # ONVIF::Device::Types::PTZPresetTourSupportedExtension
},
},
Extension => { # ONVIF::Device::Types::PTZNodeExtension2
},
},
},
It's giving nested hash energy, and we are obsessed. π₯
πΈ attr πΈ
NOTE: Attribute documentation is experimental, and may be inaccurate. See the correspondent WSDL/XML Schema if in question. (fr fr, don't come for me if it's off β go check the source.)
This class has additional attributes, accessibly via the attr() method. π«
attr() returns an object of the class ONVIF::Device::Types::PTZNode::_PTZNode::XmlAttr. Main character object honestly. π
The following attributes can be accessed on this object via the corresponding get_/set_ methods:
FixedHomePositionπ
Indication whether the HomePosition of a Node is fixed or it can be changed via the SetHomePosition command.
This attribute is of type SOAP::WSDL::XSD::Typelib::Builtin::boolean.
π AUTHOR π
Generated by SOAP::WSDL π«Ά
And that's the whole page, bestie!! πΈβ¨ Sending you off with all the deets: this one's running on perl v5.40.1, dated 2026-02-01, from the ONVIF:...PTZNode(3pm) manpage. Slay, go build something iconic with it. π
ππ¦
π¦ where this page comes from
- ubuntu resolute: zoneminder 1.36.37+dfsg1-1 Β· GPL-2.0-or-later
- ubuntu stonking: zoneminder 1.36.37+dfsg1-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms