Class: Tracksperanto::Export::NukeCameraUsertracks

Inherits:
ShakeText
  • Object
show all
Defined in:
lib/export/nuke_cam_tk_usertracks.rb

Constant Summary collapse

NAMING =

change to “usertrack%d” if user tracks are needed

"autotrack%d"

Constants inherited from ShakeText

ShakeText::POSTAMBLE, ShakeText::PREAMBLE, ShakeText::TEMPLATE

Instance Attribute Summary

Attributes inherited from Base

#io

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from ShakeText

#end_tracker_segment, #export_point

Methods inherited from Base

#end_export, #end_tracker_segment, #export_point, #initialize

Methods included from ConstName

#const_name

Methods included from SimpleExport

#just_export

Constructor Details

This class inherits a constructor from Tracksperanto::Export::Base

Class Method Details

.desc_and_extensionObject



7
8
9
# File 'lib/export/nuke_cam_tk_usertracks.rb', line 7

def self.desc_and_extension
  "nuke_cam_trk_autotracks.txt"
end

.human_nameObject



11
12
13
# File 'lib/export/nuke_cam_tk_usertracks.rb', line 11

def self.human_name
  "Nuke CameraTracker node autotracks (enable import/export in the Tracking tab)"
end

Instance Method Details

#start_export(w, h) ⇒ Object



15
16
17
18
# File 'lib/export/nuke_cam_tk_usertracks.rb', line 15

def start_export(w, h)
  super
  @counter = 0
end

#start_tracker_segment(tracker_name) ⇒ Object



21
22
23
24
# File 'lib/export/nuke_cam_tk_usertracks.rb', line 21

def start_tracker_segment(tracker_name)
  super(NAMING % @counter)
  @counter += 1
end